powered by
Logarithm of a tensor in base 2
# S3 method for torch.Tensor log2(x)
a tensor
# NOT RUN { x <- torch$tensor(c(512, 1024, 2048, 4096)) # tensor([ 9., 10., 11., 12.]) # }
Run the code above in your browser using DataLab