Implemented interface member:
property
FlattenedLength
System.Numerics.Tensors.IReadOnlyTensor.FlattenedLength
9 references to FlattenedLength
System.Numerics.Tensors (9)
System\Numerics\Tensors\netcore\Tensor.cs (9)
159totalLength += tensors[i].FlattenedLength; 214totalLength = checked(totalLength + tensors[i].FlattenedLength); 367dstSpan = dstSpan.Slice((int)tensors[i].FlattenedLength); 1632GetReshapeLengths(lengths, tensor.FlattenedLength, newLengths); 1718nint newSize = output.FlattenedLength; 1722ReadOnlySpan<T> span = MemoryMarshal.CreateSpan(ref tensor.AsReadOnlyTensorSpan()._reference, (int)tensor.FlattenedLength); 1723Span<T> ospan = MemoryMarshal.CreateSpan(ref output.AsTensorSpan()._reference, (int)output.FlattenedLength); 1735nint copyLength = Math.Min(tensor.FlattenedLength, newSize); 1736Span<T> ospan = MemoryMarshal.CreateSpan(ref output.AsTensorSpan()._reference, (int)output.FlattenedLength);