Tensor

Type alias exposing TorchSharp tensor under the shorter Toro name.

Instance members

NameDescription
this.Dimensions
this.ElementSize
this.H
this.Handle
this.IsInvalid
this.NumberOfElements
this.SparseIndices
this.SparseValues
this.T
this.TensorItems
this.TensorItems
this.TensorItems
this.TensorItems
this.TensorItems
this.TensorItems
this.TensorItems
this.TensorItems
this.TensorItems
this.bytes
this.device
this.device_index
this.device_type
this.dtype
this.grad
this.imag
this.is_cuda
this.is_leaf
this.is_meta
this.is_sparse
this.mH
this.mT
this.name
this.names
this.ndim
this.real
this.requires_grad
this.shape

Static members

NameDescription
Tensor.PeakCount
Tensor.TotalCount

TIdx

Index specifier for Tensor.at. I=single, S=slice, A=all, T=tensor, E=ellipsis, N=newaxis.

Union cases

NameDescription
A
E
I int
N
S(start, stop)
Sf start
St stop
T Tensor

Instance members

NameDescription
this.IsA
this.IsE
this.IsI
this.IsN
this.IsS
this.IsSf
this.IsSt
this.IsT