1 instantiation of TensorSpan
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorSpan.cs (1)
667
public static implicit operator TensorSpan<T>(T[]? array) => new
TensorSpan
<T>(array);
476 references to TensorSpan
System.Numerics.Tensors (476)
System\Numerics\Tensors\netcore\ITensor.cs (8)
96
/// <returns>The converted <see cref="
TensorSpan
{T}"/>.</returns>
97
TensorSpan
<T> AsTensorSpan();
103
/// <returns>The converted <see cref="
TensorSpan
{T}"/>.</returns>
104
TensorSpan
<T> AsTensorSpan(params scoped ReadOnlySpan<nint> start);
110
/// <returns>The converted <see cref="
TensorSpan
{T}"/>.</returns>
111
TensorSpan
<T> AsTensorSpan(params scoped ReadOnlySpan<NIndex> startIndex);
117
/// <returns>The converted <see cref="
TensorSpan
{T}"/>.</returns>
118
TensorSpan
<T> AsTensorSpan(params scoped ReadOnlySpan<NRange> range);
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan.cs (7)
387
/// Gets a value indicating whether this <see cref="
TensorSpan
{T}"/> is empty.
393
/// Gets the length of each dimension in this <see cref="
TensorSpan
{T}"/>.
399
/// Gets the rank, or number of dimensions, of this <see cref="
TensorSpan
{T}"/>.
404
/// Gets the strides of this <see cref="
TensorSpan
{T}"/>.
561
TensorSpan
<T> destinationSlice = destination.Slice(tempLengths);
617
TensorSpan
<T> destinationSlice = destination.Slice(tempLengths);
639
/// Defines an implicit conversion of an array to a <see cref="
TensorSpan
{T}"/>.
System\Numerics\Tensors\netcore\Tensor.cs (21)
235
TensorSpan
<T> srcSpan;
376
/// Defines an implicit conversion of a <see cref="Tensor{T}"/> to a <see cref="
TensorSpan
{T}"/>.
378
public static implicit operator
TensorSpan
<T>(Tensor<T> value) => new TensorSpan<T>(ref MemoryMarshal.GetArrayDataReference(value._values), value._lengths, value._strides, value._flattenedLength);
381
/// Defines an implicit conversion of a <see cref="Tensor{T}"/> to a <see cref="
TensorSpan
{T}"/>.
386
/// Converts this <see cref="Tensor{T}"/> to a <see cref="
TensorSpan
{T}"/> pointing to the same backing memory."/>
388
/// <returns><see cref="
TensorSpan
{T}"/></returns>
389
public
TensorSpan
<T> AsTensorSpan() => new TensorSpan<T>(ref MemoryMarshal.GetArrayDataReference(_values), _lengths, _strides, _flattenedLength);
392
/// Converts this <see cref="Tensor{T}"/> to a <see cref="
TensorSpan
{T}"/> pointing to the same backing memory based on the provided ranges."/>
394
/// <param name="start">The ranges you want in the <see cref="
TensorSpan
{T}"/>.</param>
395
/// <returns><see cref="
TensorSpan
{T}"/> based on the provided ranges.</returns>
396
public
TensorSpan
<T> AsTensorSpan(params scoped ReadOnlySpan<NRange> start) => AsTensorSpan().Slice(start);
399
/// Converts this <see cref="Tensor{T}"/> to a <see cref="
TensorSpan
{T}"/> pointing to the same backing memory based on the provided start locations."/>
401
/// <param name="start">The start location you want in the <see cref="
TensorSpan
{T}"/>.</param>
402
/// <returns><see cref="
TensorSpan
{T}"/> based on the provided ranges.</returns>
403
public
TensorSpan
<T> AsTensorSpan(params scoped ReadOnlySpan<nint> start) => Slice(start);
406
/// Converts this <see cref="Tensor{T}"/> to a <see cref="
TensorSpan
{T}"/> pointing to the same backing memory based on the provided start indexes."/>
408
/// <param name="startIndex">The ranges you want in the <see cref="
TensorSpan
{T}"/>.</param>
409
/// <returns><see cref="
TensorSpan
{T}"/> based on the provided ranges.</returns>
410
public
TensorSpan
<T> AsTensorSpan(params scoped ReadOnlySpan<NIndex> startIndex) => AsTensorSpan().Slice(startIndex);
464
TensorSpan
<T> s = AsTensorSpan(start);
656
/// Creates a <see cref="string"/> representation of the <see cref="
TensorSpan
{T}"/>."/>
System\Numerics\Tensors\netcore\Tensor.Factory.cs (8)
182
/// Fills the given <see cref="
TensorSpan
{T}"/> with random data in a Gaussian normal distribution. <see cref="System.Random"/>
186
/// <param name="destination">The destination <see cref="
TensorSpan
{T}"/> where the data will be stored.</param>
189
public static ref readonly
TensorSpan
<T> FillGaussianNormalDistribution<T>(in
TensorSpan
<T> destination, Random? random = null) where T : IFloatingPoint<T>
199
/// Fills the given <see cref="
TensorSpan
{T}"/> with random data in a uniform distribution. <see cref="System.Random"/>
203
/// <param name="destination">The destination <see cref="
TensorSpan
{T}"/> where the data will be stored.</param>
206
public static ref readonly
TensorSpan
<T> FillUniformDistribution<T>(in
TensorSpan
<T> destination, Random? random = null) where T : IFloatingPoint<T>
System\Numerics\Tensors\netcore\TensorExtensions.cs (400)
32
/// <param name="lengths">The shape for the <see cref="
TensorSpan
{T}"/></param>
43
/// <param name="lengths">The shape for the <see cref="
TensorSpan
{T}"/></param>
45
public static
TensorSpan
<T> AsTensorSpan<T>(this T[]? array, params scoped ReadOnlySpan<nint> lengths) => new(array, 0, lengths, default);
81
/// <param name="source">Input <see cref="
TensorSpan
{T}"/>.</param>
83
public static void BroadcastTo<T>(this Tensor<T> source, in
TensorSpan
<T> destination)
96
/// <param name="source">Input <see cref="
TensorSpan
{T}"/>.</param>
97
/// <param name="destination">Other <see cref="
TensorSpan
{T}"/> to make shapes broadcastable.</param>
98
public static void BroadcastTo<T>(in this
TensorSpan
<T> source, in
TensorSpan
<T> destination)
111
/// <param name="source">Input <see cref="
TensorSpan
{T}"/>.</param>
113
public static void BroadcastTo<T>(in this ReadOnlyTensorSpan<T> source, in
TensorSpan
<T> destination)
129
/// <param name="input">Input <see cref="
TensorSpan
{T}"/>.</param>
132
internal static
TensorSpan
<T> LazyBroadcast<T>(in
TensorSpan
<T> input, ReadOnlySpan<nint> shape)
161
TensorSpan
<T> output = new TensorSpan<T>(ref input._reference, shape, strides, input._shape._memoryLength);
172
/// <param name="input">Input <see cref="
TensorSpan
{T}"/>.</param>
204
TensorSpan
<T> output = new TensorSpan<T>(ref input._reference, shape, strides, input._shape._memoryLength);
324
public static ref readonly
TensorSpan
<T> Concatenate<T>(scoped ReadOnlySpan<Tensor<T>> tensors, in
TensorSpan
<T> destination)
336
public static ref readonly
TensorSpan
<T> ConcatenateOnDimension<T>(int dimension, scoped ReadOnlySpan<Tensor<T>> tensors, in
TensorSpan
<T> destination)
434
/// before they are compared. It returns a <see cref="
TensorSpan
{Boolean}"/> where the value is true if the elements are equal and false if they are not."/>
438
/// <returns>A <see cref="
TensorSpan
{Boolean}"/> where the value is true if the elements are equal and false if they are not.</returns>
459
/// before they are compared. It returns a <see cref="
TensorSpan
{Boolean}"/> where the value is true if the elements are equal and false if they are not."/>
464
/// <returns>A <see cref="
TensorSpan
{Boolean}"/> where the value is true if the elements are equal and false if they are not.</returns>
465
public static ref readonly
TensorSpan
<bool> Equals<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
515
/// before they are compared. It returns a <see cref="
TensorSpan
{Boolean}"/> where the value is true if the elements are equal and false if they are not."/>
519
/// <returns>A <see cref="
TensorSpan
{Boolean}"/> where the value is true if the elements are equal and false if they are not.</returns>
530
/// before they are compared. It returns a <see cref="
TensorSpan
{Boolean}"/> where the value is true if the elements are equal and false if they are not."/>
535
/// <returns>A <see cref="
TensorSpan
{Boolean}"/> where the value is true if the elements are equal and false if they are not.</returns>
536
public static ref readonly
TensorSpan
<bool> Equals<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<bool> destination)
746
public static ref readonly
TensorSpan
<T> FilteredUpdate<T>(in this
TensorSpan
<T> tensor, scoped in ReadOnlyTensorSpan<bool> filter, T value)
772
public static ref readonly
TensorSpan
<T> FilteredUpdate<T>(in this
TensorSpan
<T> tensor, scoped in ReadOnlyTensorSpan<bool> filter, scoped in ReadOnlyTensorSpan<T> values)
836
public static ref readonly
TensorSpan
<bool> GreaterThan<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
911
public static ref readonly
TensorSpan
<bool> GreaterThan<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<bool> destination)
971
public static ref readonly
TensorSpan
<bool> GreaterThan<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
1045
public static ref readonly
TensorSpan
<bool> GreaterThanOrEqual<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
1120
public static ref readonly
TensorSpan
<bool> GreaterThanOrEqual<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<bool> destination)
1180
public static ref readonly
TensorSpan
<bool> GreaterThanOrEqual<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
1748
public static ref readonly
TensorSpan
<bool> LessThan<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
1823
public static ref readonly
TensorSpan
<bool> LessThan<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<bool> destination)
1883
public static ref readonly
TensorSpan
<bool> LessThan<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
1957
public static ref readonly
TensorSpan
<bool> LessThanOrEqual<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
2032
public static ref readonly
TensorSpan
<bool> LessThanOrEqual<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<bool> destination)
2092
public static ref readonly
TensorSpan
<bool> LessThanOrEqual<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<bool> destination)
2640
TensorSpan
<T> ospan;
2641
TensorSpan
<T> ispan;
2782
/// <param name="tensor"><see cref="
TensorSpan
{T}"/> you want to reshape.</param>
2784
public static
TensorSpan
<T> Reshape<T>(in this
TensorSpan
<T> tensor, params scoped ReadOnlySpan<nint> lengths)
2844
TensorSpan
<T> output = new TensorSpan<T>(ref tensor._reference, arrLengths, strides, tensor._shape._memoryLength);
2853
/// <param name="tensor"><see cref="
TensorSpan
{T}"/> you want to reshape.</param>
2945
/// <param name="destination">Destination <see cref="
TensorSpan
{T}"/> with the desired new shape.</param>
2946
public static void ResizeTo<T>(scoped in Tensor<T> tensor, in
TensorSpan
<T> destination)
2960
/// <param name="tensor">Input <see cref="
TensorSpan
{T}"/>.</param>
2961
/// <param name="destination">Destination <see cref="
TensorSpan
{T}"/> with the desired new shape.</param>
2962
public static void ResizeTo<T>(scoped in
TensorSpan
<T> tensor, in
TensorSpan
<T> destination)
2977
/// <param name="destination">Destination <see cref="
TensorSpan
{T}"/> with the desired new shape.</param>
2978
public static void ResizeTo<T>(scoped in ReadOnlyTensorSpan<T> tensor, in
TensorSpan
<T> destination)
3019
/// <param name="tensor">Input <see cref="
TensorSpan
{T}"/>.</param>
3021
public static ref readonly
TensorSpan
<T> Reverse<T>(scoped in ReadOnlyTensorSpan<T> tensor, in
TensorSpan
<T> destination)
3030
/// <param name="tensor">Input <see cref="
TensorSpan
{T}"/>.</param>
3033
public static ref readonly
TensorSpan
<T> ReverseDimension<T>(scoped in ReadOnlyTensorSpan<T> tensor, in
TensorSpan
<T> destination, int dimension)
3104
public static bool SequenceEqual<T>(this scoped in
TensorSpan
<T> tensor, scoped in ReadOnlyTensorSpan<T> other)
3135
SetSlice((
TensorSpan
<T>)tensor, values, ranges);
3146
public static ref readonly
TensorSpan
<T> SetSlice<T>(this in
TensorSpan
<T> tensor, scoped in ReadOnlyTensorSpan<T> values, params scoped ReadOnlySpan<NRange> ranges)
3148
TensorSpan
<T> srcSpan;
3226
TensorSpan
<T> oslice = outputs[i].AsTensorSpan().Slice(outputs[i]._lengths);
3308
/// <param name="tensor">The <see cref="
TensorSpan
{T}"/> to remove all dimensions of length 1.</param>
3309
public static
TensorSpan
<T> Squeeze<T>(in this
TensorSpan
<T> tensor)
3318
/// <param name="tensor">The <see cref="
TensorSpan
{T}"/> to remove dimension of length 1.</param>
3320
public static
TensorSpan
<T> SqueezeDimension<T>(in this
TensorSpan
<T> tensor, int dimension)
3460
public static ref readonly
TensorSpan
<T> Stack<T>(scoped in ReadOnlySpan<Tensor<T>> tensors, in
TensorSpan
<T> destination)
3471
public static ref readonly
TensorSpan
<T> StackAlongDimension<T>(scoped ReadOnlySpan<Tensor<T>> tensors, in
TensorSpan
<T> destination, int dimension)
3496
/// Creates a <see cref="string"/> representation of the <see cref="
TensorSpan
{T}"/>."/>
3498
/// <param name="tensor">The <see cref="
TensorSpan
{T}"/> you want to represent as a string.</param>
3501
public static string ToString<T>(this in
TensorSpan
<T> tensor, params ReadOnlySpan<nint> maximumLengths) =>
3592
/// <param name="destination">Destination <see cref="
TensorSpan
{T}"/>.</param>
3593
public static bool TryBroadcastTo<T>(this Tensor<T> tensor, in
TensorSpan
<T> destination)
3602
/// <param name="tensor">Input <see cref="
TensorSpan
{T}"/>.</param>
3603
/// <param name="destination">Destination <see cref="
TensorSpan
{T}"/>.</param>
3604
public static bool TryBroadcastTo<T>(in this
TensorSpan
<T> tensor, in
TensorSpan
<T> destination)
3614
/// <param name="destination">Destination <see cref="
TensorSpan
{T}"/>.</param>
3615
public static bool TryBroadcastTo<T>(in this ReadOnlyTensorSpan<T> tensor, in
TensorSpan
<T> destination)
3670
/// <param name="tensor">The <see cref="
TensorSpan
{T}"/> to add a dimension of length 1.</param>
3672
public static
TensorSpan
<T> Unsqueeze<T>(in this
TensorSpan
<T> tensor, int dimension)
3757
/// Takes the absolute value of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
3759
/// <param name="x">The <see cref="
TensorSpan
{T}"/> to take the abs of.</param>
3760
/// <param name="destination">The <see cref="
TensorSpan
{T}"/> destination.</param>
3761
public static ref readonly
TensorSpan
<T> Abs<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
3784
/// <param name="x">The <see cref="
TensorSpan
{T}"/> to take the sin of.</param>
3786
public static ref readonly
TensorSpan
<T> Acos<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
3807
/// Takes the inverse hyperbolic cosine of each element of the <see cref="
TensorSpan
{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
3809
/// <param name="x">The <see cref="
TensorSpan
{T}"/> to take the sin of.</param>
3811
public static ref readonly
TensorSpan
<T> Acosh<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
3832
/// Takes the inverse hyperbolic cosine divided by pi of each element of the <see cref="
TensorSpan
{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
3836
public static ref readonly
TensorSpan
<T> AcosPi<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
3885
public static ref readonly
TensorSpan
<T> Add<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
3892
/// Adds <paramref name="y"/> to each element of <paramref name="x"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
3897
public static ref readonly
TensorSpan
<T> Add<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
3918
/// Takes the inverse sin of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
3922
public static ref readonly
TensorSpan
<T> Asin<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
3943
/// Takes the inverse hyperbolic sine of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
3947
public static ref readonly
TensorSpan
<T> Asinh<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
3968
/// Takes the inverse hyperbolic sine divided by pi of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
3972
public static ref readonly
TensorSpan
<T> AsinPi<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
3993
/// Takes the arc tangent of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
3997
public static ref readonly
TensorSpan
<T> Atan<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4028
/// Takes the arc tangent of the two input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4033
public static ref readonly
TensorSpan
<T> Atan2<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4054
/// Takes the arc tangent of the two input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4059
public static ref readonly
TensorSpan
<T> Atan2<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
4080
/// Takes the arc tangent of the two input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4085
public static ref readonly
TensorSpan
<T> Atan2<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4116
/// Takes the arc tangent of the two input <see cref="ReadOnlyTensorSpan{T}"/>, divides each element by pi, and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4121
public static ref readonly
TensorSpan
<T> Atan2Pi<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4128
/// Takes the arc tangent of the two input <see cref="ReadOnlyTensorSpan{T}"/>, divides each element by pi, and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4142
/// Takes the arc tangent of the two input <see cref="ReadOnlyTensorSpan{T}"/>, divides each element by pi, and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4147
public static ref readonly
TensorSpan
<T> Atan2Pi<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
4154
/// Takes the arc tangent of the two input <see cref="ReadOnlyTensorSpan{T}"/>, divides each element by pi, and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4168
/// Takes the arc tangent of the two input <see cref="ReadOnlyTensorSpan{T}"/>, divides each element by pi, and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4173
public static ref readonly
TensorSpan
<T> Atan2Pi<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4195
/// Takes the inverse hyperbolic tangent of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4199
public static ref readonly
TensorSpan
<T> Atanh<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4220
/// Takes the inverse hyperbolic tangent divided by pi of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4224
public static ref readonly
TensorSpan
<T> AtanPi<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4235
/// <param name="x">The <see cref="
TensorSpan
{T}"/> to take the mean of.</param>
4268
/// Computes the element-wise bitwise and of the two input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4273
public static ref readonly
TensorSpan
<T> BitwiseAnd<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4294
/// Computes the element-wise bitwise and of the two input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4299
public static ref readonly
TensorSpan
<T> BitwiseAnd<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
4330
/// Computes the element-wise bitwise of of the two input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4335
public static ref readonly
TensorSpan
<T> BitwiseOr<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4356
/// Computes the element-wise bitwise or of the two input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4361
public static ref readonly
TensorSpan
<T> BitwiseOr<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
4382
/// Computes the element-wise cube root of the input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4386
public static ref readonly
TensorSpan
<T> Cbrt<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4407
/// Computes the element-wise ceiling of the input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4411
public static ref readonly
TensorSpan
<T> Ceiling<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4435
/// Copies <paramref name="source"/> to a new <see cref="
TensorSpan
{TTo}"/> converting each <typeparamref name="TFrom"/>
4438
/// <param name="source">The input <see cref="
TensorSpan
{TFrom}"/>.</param>
4440
public static ref readonly
TensorSpan
<TTo> ConvertChecked<TFrom, TTo>(scoped in ReadOnlyTensorSpan<TFrom> source, in
TensorSpan
<TTo> destination)
4465
/// Copies <paramref name="source"/> to a new <see cref="
TensorSpan
{TTo}"/> converting each <typeparamref name="TFrom"/>
4468
/// <param name="source">The input <see cref="
TensorSpan
{TFrom}"/>.</param>
4470
public static ref readonly
TensorSpan
<TTo> ConvertSaturating<TFrom, TTo>(scoped in ReadOnlyTensorSpan<TFrom> source, in
TensorSpan
<TTo> destination)
4495
/// Copies <paramref name="source"/> to a new <see cref="
TensorSpan
{TTo}"/> converting each <typeparamref name="TFrom"/>
4498
/// <param name="source">The input <see cref="
TensorSpan
{TFrom}"/>.</param>
4500
public static ref readonly
TensorSpan
<TTo> ConvertTruncating<TFrom, TTo>(scoped in ReadOnlyTensorSpan<TFrom> source, in
TensorSpan
<TTo> destination)
4551
public static ref readonly
TensorSpan
<T> CopySign<T>(scoped in ReadOnlyTensorSpan<T> x, T sign, in
TensorSpan
<T> destination)
4558
/// Computes the element-wise result of copying the sign from one number to another number in the specified tensors and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4563
public static ref readonly
TensorSpan
<T> CopySign<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> sign, in
TensorSpan
<T> destination)
4584
/// Takes the cosine of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4588
public static ref readonly
TensorSpan
<T> Cos<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4609
/// Takes the hyperbolic cosine of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4613
public static ref readonly
TensorSpan
<T> Cosh<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4656
public static ref readonly
TensorSpan
<T> CosineSimilarity<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4725
/// <summary>Computes the element-wise cosine of the value in the specified tensor that has been multiplied by Pi and returns a new <see cref="
TensorSpan
{T}"/> with the results.</summary>
4740
public static ref readonly
TensorSpan
<T> CosPi<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4765
public static ref readonly
TensorSpan
<T> DegreesToRadians<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4836
/// Divides each element of <paramref name="x"/> by <paramref name="y"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
4841
public static ref readonly
TensorSpan
<T> Divide<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
4848
/// Divides <paramref name="x"/> by each element of <paramref name="y"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result."/>
4853
public static ref readonly
TensorSpan
<T> Divide<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4861
/// a new <see cref="
TensorSpan
{T}"/> with the result.
4866
public static ref readonly
TensorSpan
<T> Divide<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
4904
public static ref readonly
TensorSpan
<T> Exp<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4929
public static ref readonly
TensorSpan
<T> Exp10<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4950
public static ref readonly
TensorSpan
<T> Exp10M1<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4971
public static ref readonly
TensorSpan
<T> Exp2<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
4992
public static ref readonly
TensorSpan
<T> Exp2M1<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5013
public static ref readonly
TensorSpan
<T> ExpM1<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5034
public static ref readonly
TensorSpan
<T> Floor<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5072
public static ref readonly
TensorSpan
<T> Hypot<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5106
public static ref readonly
TensorSpan
<T> Ieee754Remainder<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5128
public static ref readonly
TensorSpan
<T> Ieee754Remainder<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5150
public static ref readonly
TensorSpan
<T> Ieee754Remainder<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5171
public static ref readonly
TensorSpan
<int> ILogB<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<int> destination)
5242
public static ref readonly
TensorSpan
<T> LeadingZeroCount<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5263
/// Takes the natural logarithm of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
5267
public static ref readonly
TensorSpan
<T> Log<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5297
public static ref readonly
TensorSpan
<T> Log<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5319
public static ref readonly
TensorSpan
<T> Log<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5340
/// Takes the base 10 logarithm of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
5344
public static ref readonly
TensorSpan
<T> Log10<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5365
/// Takes the base 10 logarithm plus 1 of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
5369
public static ref readonly
TensorSpan
<T> Log10P1<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5390
/// Takes the base 2 logarithm of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
5394
public static ref readonly
TensorSpan
<T> Log2<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5415
/// Takes the base 2 logarithm plus 1 of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
5419
public static ref readonly
TensorSpan
<T> Log2P1<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5440
/// Takes the natural logarithm plus 1 of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
5444
public static ref readonly
TensorSpan
<T> LogP1<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
5484
public static ref readonly
TensorSpan
<T> Max<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5505
public static ref readonly
TensorSpan
<T> Max<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5545
public static ref readonly
TensorSpan
<T> MaxMagnitude<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5566
public static ref readonly
TensorSpan
<T> MaxMagnitude<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5606
public static ref readonly
TensorSpan
<T> MaxMagnitudeNumber<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5627
public static ref readonly
TensorSpan
<T> MaxMagnitudeNumber<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5667
public static ref readonly
TensorSpan
<T> MaxNumber<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5688
public static ref readonly
TensorSpan
<T> MaxNumber<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5728
public static ref readonly
TensorSpan
<T> Min<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5749
public static ref readonly
TensorSpan
<T> Min<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5789
public static ref readonly
TensorSpan
<T> MinMagnitude<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5810
public static ref readonly
TensorSpan
<T> MinMagnitude<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5850
public static ref readonly
TensorSpan
<T> MinMagnitudeNumber<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5871
public static ref readonly
TensorSpan
<T> MinMagnitudeNumber<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5880
/// <param name="x">The input <see cref="
TensorSpan
{T}"/>..</param>
5911
public static ref readonly
TensorSpan
<T> MinNumber<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
5932
public static ref readonly
TensorSpan
<T> MinNumber<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5977
/// Multiplies each element of <paramref name="x"/> with <paramref name="y"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
5982
public static ref readonly
TensorSpan
<T> Multiply<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
5992
/// Multiplies each element of <paramref name="x"/> with <paramref name="y"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
5998
public static ref readonly
TensorSpan
<T> Multiply<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
6019
public static ref readonly
TensorSpan
<T> Negate<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6052
public static ref readonly
TensorSpan
<T> OnesComplement<T>(scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
6073
public static ref readonly
TensorSpan
<T> PopCount<T>(scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
6105
public static ref readonly
TensorSpan
<T> Pow<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
6127
public static ref readonly
TensorSpan
<T> Pow<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
6149
public static ref readonly
TensorSpan
<T> Pow<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
6180
public static ref readonly
TensorSpan
<T> RadiansToDegrees<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6201
public static ref readonly
TensorSpan
<T> Reciprocal<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6224
public static ref readonly
TensorSpan
<T> RootN<T>(scoped in ReadOnlyTensorSpan<T> x, int n, in
TensorSpan
<T> destination)
6255
public static ref readonly
TensorSpan
<T> RotateLeft<T>(scoped in ReadOnlyTensorSpan<T> x, int rotateAmount, in
TensorSpan
<T> destination)
6286
public static ref readonly
TensorSpan
<T> RotateRight<T>(scoped in ReadOnlyTensorSpan<T> x, int rotateAmount, in
TensorSpan
<T> destination)
6313
public static ref readonly
TensorSpan
<T> Round<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6336
public static ref readonly
TensorSpan
<T> Round<T>(scoped in ReadOnlyTensorSpan<T> x, int digits, MidpointRounding mode, in
TensorSpan
<T> destination)
6363
public static ref readonly
TensorSpan
<T> Round<T>(scoped in ReadOnlyTensorSpan<T> x, int digits, in
TensorSpan
<T> destination)
6390
public static ref readonly
TensorSpan
<T> Round<T>(scoped in ReadOnlyTensorSpan<T> x, MidpointRounding mode, in
TensorSpan
<T> destination)
6417
public static ref readonly
TensorSpan
<T> Sigmoid<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6438
/// Takes the sin of each element of the <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
6442
public static ref readonly
TensorSpan
<T> Sin<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6463
public static ref readonly
TensorSpan
<T> Sinh<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6484
public static ref readonly
TensorSpan
<T> SinPi<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6505
public static ref readonly
TensorSpan
<T> SoftMax<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6526
/// Takes the square root of each element of the <paramref name="x"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
6530
public static ref readonly
TensorSpan
<T> Sqrt<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6541
/// <param name="x">The <see cref="
TensorSpan
{T}"/> to take the standard deviation of.</param>
6600
/// Subtracts <paramref name="y"/> from each element of <paramref name="x"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
6605
public static ref readonly
TensorSpan
<T> Subtract<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
6612
/// Subtracts each element of <paramref name="y"/> from <paramref name="x"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
6617
public static ref readonly
TensorSpan
<T> Subtract<T>(T x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
6624
/// Subtracts each element of <paramref name="x"/> from <paramref name="y"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
6629
public static ref readonly
TensorSpan
<T> Subtract<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
6676
public static ref readonly
TensorSpan
<T> Tan<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6697
public static ref readonly
TensorSpan
<T> Tanh<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6718
public static ref readonly
TensorSpan
<T> TanPi<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6739
public static ref readonly
TensorSpan
<T> TrailingZeroCount<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6760
public static ref readonly
TensorSpan
<T> Truncate<T>(scoped in ReadOnlyTensorSpan<T> x, in
TensorSpan
<T> destination)
6792
public static ref readonly
TensorSpan
<T> Xor<T>(scoped in ReadOnlyTensorSpan<T> x, scoped in ReadOnlyTensorSpan<T> y, in
TensorSpan
<T> destination)
6812
/// Computes the element-wise Xor of the two input <see cref="ReadOnlyTensorSpan{T}"/> and returns a new <see cref="
TensorSpan
{T}"/> with the result.
6817
public static ref readonly
TensorSpan
<T> Xor<T>(scoped in ReadOnlyTensorSpan<T> x, T y, in
TensorSpan
<T> destination)
6902
TensorSpan
<T> broadcastedLeft = new TensorSpan<T>(new T[newLength], newLengths, ReadOnlySpan<nint>.Empty);
6903
TensorSpan
<T> broadcastedRight = new TensorSpan<T>(new T[newLength], newLengths, ReadOnlySpan<nint>.Empty);
6913
private static ref readonly
TensorSpan
<TOut> TensorPrimitivesHelperSpanInSpanOut<TIn, TOut>(scoped in ReadOnlyTensorSpan<TIn> input, in
TensorSpan
<TOut> destination, PerformCalculationSpanInSpanOut<TIn, TOut> performCalculation)
6920
TensorSpan
<TOut> slicedDestination = destination.Slice(input._shape.Lengths);
6967
private static ref readonly
TensorSpan
<T> TensorPrimitivesHelperSpanInTInSpanOut<T>(scoped in ReadOnlyTensorSpan<T> input, T value, in
TensorSpan
<T> destination, PerformCalculationSpanInTInSpanOut<T> performCalculation)
6973
TensorSpan
<T> slicedDestination = destination.Slice(input._shape.Lengths);
7019
private static ref readonly
TensorSpan
<T> TensorPrimitivesHelperTInSpanInSpanOut<T>(T value, scoped in ReadOnlyTensorSpan<T> input, in
TensorSpan
<T> destination, PerformCalculationTInSpanInSpanOut<T> performCalculation)
7025
TensorSpan
<T> slicedDestination = destination.Slice(input._shape.Lengths);
7071
private static ref readonly
TensorSpan
<T> TensorPrimitivesHelperTwoSpanInSpanOut<T>(scoped in ReadOnlyTensorSpan<T> left, scoped in ReadOnlyTensorSpan<T> right, in
TensorSpan
<T> destination, PerformCalculationTwoSpanInSpanOut<T> performCalculation)
7075
TensorSpan
<T> slicedDestination = destination.Slice(newSize);
System\Numerics\Tensors\netcore\TensorSpan.cs (31)
111
/// Creates a new <see cref="
TensorSpan
{T}"/> over the provided <see cref="Span{T}"/>. The new <see cref="
TensorSpan
{T}"/> will
118
/// Creates a new <see cref="
TensorSpan
{T}"/> over the provided <see cref="Span{T}"/> using the specified lengths and strides.
142
/// Creates a new <see cref="
TensorSpan
{T}"/> over the provided <see cref="Array"/>. The new <see cref="
TensorSpan
{T}"/> will
157
/// Creates a new <see cref="
TensorSpan
{T}"/> over the provided <see cref="Array"/> using the specified start offsets, lengths, and strides.
206
/// Creates a new <see cref="
TensorSpan
{T}"/> over the provided <see cref="Array"/> using the specified start offsets, lengths, and strides.
374
public
TensorSpan
<T> this[params scoped ReadOnlySpan<NRange> ranges]
393
/// Gets a value indicating whether this <see cref="
TensorSpan
{T}"/> is empty.
399
/// Gets the length of each dimension in this <see cref="
TensorSpan
{T}"/>.
405
/// Gets the rank, aka the number of dimensions, of this <see cref="
TensorSpan
{T}"/>.
410
/// Gets the strides of this <see cref="
TensorSpan
{T}"/>
419
public static bool operator !=(
TensorSpan
<T> left,
TensorSpan
<T> right) => !(left == right);
425
public static bool operator ==(
TensorSpan
<T> left,
TensorSpan
<T> right) =>
455
/// Returns an empty <see cref="
TensorSpan
{T}"/>
457
public static
TensorSpan
<T> Empty => default;
462
/// <summary>Enumerates the elements of a <see cref="
TensorSpan
{T}"/>.</summary>
466
private readonly
TensorSpan
<T> _span;
475
internal Enumerator(
TensorSpan
<T> span)
590
TensorSpan
<T> destinationSlice = destination.Slice(tempLengths);
644
TensorSpan
<T> destinationSlice = destination.Slice(tempLengths);
665
/// Implicitly converts an array to a <see cref="
TensorSpan
{T}"/>.
667
public static implicit operator
TensorSpan
<T>(T[]? array) => new TensorSpan<T>(array);
670
/// Implicitly converts a <see cref="
TensorSpan
{T}"/> to a <see cref="ReadOnlyTensorSpan{T}"/>
672
public static implicit operator ReadOnlyTensorSpan<T>(
TensorSpan
<T> span) =>
689
public
TensorSpan
<T> Slice(params scoped ReadOnlySpan<NIndex> indexes)
704
internal
TensorSpan
<T> Slice(params scoped ReadOnlySpan<nint> lengths)
720
public
TensorSpan
<T> Slice(params scoped ReadOnlySpan<NRange> ranges)
725
TensorSpan
<T> toReturn;
System\Numerics\Tensors\netcore\TensorSpanDebugView.cs (1)
15
public TensorSpanDebugView(
TensorSpan
<T> span)