SlicedTensorView

constructor(parentTensor: Tensor<T, V>, slices: List<Slice<T, V>>)(source)

Parameters

T

the data type constraint extending DType

V

the actual value type

parentTensor

the parent tensor to create a view of

slices

list of slice operations, one per dimension