log¶
- dragon.vm.tensorflow.math.- log(
 x,
 name=None
 )[source]¶
- Compute the logarithm of input. \[\text{out} = \log(\text{input}) \]- Examples: - x = tf.constant([1., 2., 3.]) print(tf.math.log(x)) # [0., 0.69314718, 1.09861229] - Parameters:
- x (dragon.Tensor) – The input tensor.
- name (str, optional) – The operation name.
 
 - Returns:
- dragon.Tensor – The output tensor. 
 
