one_tensor_op {rTorch}R Documentation

One tensor operation

Description

One tensor operation

Usage

one_tensor_op(x)

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

Arguments

x

tensor

Methods (by class)

Examples

## Not run: 
A <- torch$ones(c(60000L, 1L, 28L, 28L))
dim(A)

## End(Not run)

[Package rTorch version 0.4.2 Index]