oneflow.log10¶
-
oneflow.
log10
(input) → Tensor¶ Returns a new tensor with the natural logarithm to the base 10 of the elements of
input
.\[y_{i} = \log10_{e} (x_{i})\]- Parameters
input (Tensor) – the input tensor.
For example:
>>> import oneflow as flow >>> x = flow.ones(3, 3) * 10 >>> output = flow.log10(x) >>> output tensor([[1., 1., 1.], [1., 1., 1.], [1., 1., 1.]], dtype=oneflow.float32)