log10.torch.Tensor: Logarithm of a tensor in base 10

Description Usage Arguments Examples

Description

Logarithm of a tensor in base 10

Usage

1
2
## S3 method for class 'torch.Tensor'
log10(x)

Arguments

x

a tensor

Examples

1
2
3
4
## Not run: 
x <- torch$tensor(c(1, 10, 100, 1000))     # tensor([0., 1., 2., 3.])

## End(Not run)

rTorch documentation built on Jan. 13, 2021, 4:32 p.m.