torch_size {rTorch}R Documentation

Size of a torch tensor object

Description

Get the size of a torch tensor or of torch.size object

Usage

torch_size(obj)

Arguments

obj

a torch tensor object


[Package rTorch version 0.4.2 Index]