getTensor

open override fun Tensor<Double>.getTensor(i: Int): DoubleTensor(source)

Returns the tensor at index i For more information: https://pytorch.org/cppdocs/notes/tensor_indexing.html

Return

subtensor of the original tensor with index i

Parameters

i

index of the extractable tensor