Implemented interface member:
property
FlattenedLength
System.Numerics.Tensors.IReadOnlyTensor.FlattenedLength
10 references to FlattenedLength
System.Numerics.Tensors (10)
System\Numerics\Tensors\netcore\Tensor.cs (10)
159totalLength += tensors[i].FlattenedLength; 214totalLength = checked(totalLength + tensors[i].FlattenedLength); 311offset += tensor.FlattenedLength; 440dstSpan = dstSpan.Slice((int)tensors[i].FlattenedLength); 1713GetReshapeLengths(lengths, tensor.FlattenedLength, newLengths); 1799nint newSize = output.FlattenedLength; 1803ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref tensor.AsReadOnlyTensorSpan()._reference, (int)tensor.FlattenedLength); 1804Span<T> ospan = MemoryMarshal.CreateSpan(ref output.AsTensorSpan()._reference, (int)output.FlattenedLength); 1816nint copyLength = Math.Min(tensor.FlattenedLength, newSize); 1817Span<T> ospan = MemoryMarshal.CreateSpan(ref output.AsTensorSpan()._reference, (int)output.FlattenedLength);