Implemented interface member:
property
FlattenedLength
System.Numerics.Tensors.IReadOnlyTensor.FlattenedLength
15 references to FlattenedLength
System.Numerics.Tensors (15)
System\Numerics\Tensors\netcore\Tensor.cs (7)
272Span<T> dstSpan = MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.FlattenedLength); 392Span<T> span = MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.FlattenedLength); 430Span<T> span = MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.FlattenedLength); 1479nint tempTotal = tensor.FlattenedLength; 1492if (tempLinear != tensor.FlattenedLength) 1684Span<T> ospan = MemoryMarshal.CreateSpan(ref destination._reference, (int)destination.FlattenedLength); 1696nint copyLength = Math.Min(tensor.FlattenedLength, destination.FlattenedLength);
System\Numerics\Tensors\netcore\TensorOperation.cs (7)
18for (nint i = 0; i < x.FlattenedLength; i++) 94for (nint i = 0; i < destination.FlattenedLength; i++) 112for (nint i = 0; i < destination.FlattenedLength; i++) 140for (nint i = 0; i < destination.FlattenedLength; i++) 201for (nint i = 0; i < destination.FlattenedLength; i++) 261for (nint i = 0; i < destination.FlattenedLength; i++) 283for (nint i = 0; i < destination.FlattenedLength; i++)
System\Numerics\Tensors\netcore\TensorSpanDebugView.cs (1)
14_array = new T[span.FlattenedLength];