3 implementations of AsReadOnlyTensorSpan
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (1)
517ReadOnlyTensorSpan<T> IReadOnlyTensor<ReadOnlyTensorSpan<T>, T>.AsReadOnlyTensorSpan() => this;
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
137public ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan() => new ReadOnlyTensorSpan<T>(ref Unsafe.Add(ref MemoryMarshal.GetArrayDataReference(_values), _start), in _shape);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
218public ReadOnlyTensorSpan<T> AsReadOnlyTensorSpan() => new ReadOnlyTensorSpan<T>(ref _reference, in _shape);
2 references to AsReadOnlyTensorSpan
System.Numerics.Tensors (2)
System\Numerics\Tensors\netcore\Tensor_1.cs (1)
136/// <inheritdoc cref="IReadOnlyTensor{TSelf, T}.AsReadOnlyTensorSpan()" />
System\Numerics\Tensors\netcore\TensorSpan_1.cs (1)
217/// <inheritdoc cref="IReadOnlyTensor{TSelf, T}.AsReadOnlyTensorSpan()" />