log¶
- dragon.math.- log(
 inputs,
 **kwargs
 )[source]¶
- Compute the logarithm of input. \[\text{out} = \log(\text{input}) \]- Examples: - x = dragon.constant([1., 2., 3.]) print(dragon.math.log(x)) # [0., 0.69314718, 1.09861229] - Parameters:
- inputs (dragon.Tensor) – The input tensor.
 
 - Returns:
- dragon.Tensor – The output tensor. 
 
