log10.torch.Tensor {rTorch}R Documentation

Logarithm of a tensor in base 10

Description

Logarithm of a tensor in base 10

Usage

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

Arguments

x

a tensor

Examples

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

## End(Not run)

[Package rTorch version 0.4.2 Index]