4 references to CreateForView
System.Numerics.Tensors (4)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
246
_shape = TensorShape.
CreateForView
(dataLength, lengths, strides, pinned);
System\Numerics\Tensors\netcore\TensorShape.cs (2)
856
return offset == 0 ? shape :
CreateForView
(shape.LinearLength, shape.Lengths[offset..], shape.Strides[offset..], shape.IsPinned);
866
TensorShape result =
CreateForView
(shape.LinearLength, lengths, strides, shape.IsPinned);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
140
_shape = TensorShape.
CreateForView
(dataLength, lengths, strides, pinned);