powered by
Logarithm of a tensor in base 10
# S3 method for torch.Tensor log10(x)
a tensor
# NOT RUN { x <- torch$tensor(c(1, 10, 100, 1000)) # tensor([0., 1., 2., 3.]) # }
Run the code above in your browser using DataLab