19 references to FlattenedLength
System.Numerics.Tensors (19)
System\Numerics\Tensors\netcore\ReadOnlyTensorSpan_1.cs (4)
269public nint FlattenedLength => _shape.FlattenedLength; 378if (_shape.FlattenedLength != 0) ret = ref _reference; 461if (_shape.FlattenedLength <= destination.Length) 560if (_itemsEnumerated == _span._shape.FlattenedLength)
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
100public nint FlattenedLength => _shape.FlattenedLength; 196if (_shape.FlattenedLength != 0) ret = ref MemoryMarshal.GetArrayDataReference(_values); 398if (_itemsEnumerated == _tensor._shape.FlattenedLength)
System\Numerics\Tensors\netcore\TensorOperation.cs (6)
34ref readonly TensorShape destinationShape = ref ((x._shape.FlattenedLength > y._shape.FlattenedLength) ? ref x._shape : ref y._shape); 38for (nint i = 0; i < destinationShape.FlattenedLength; i++) 226ref readonly TensorShape destinationShape = ref ((x._shape.FlattenedLength > y._shape.FlattenedLength) ? ref x._shape : ref y._shape); 231for (nint i = 0; i < destinationShape.FlattenedLength; i++)
System\Numerics\Tensors\netcore\TensorShape.cs (3)
373if (left.FlattenedLength != right.FlattenedLength) 971Debug.Assert(FlattenedLength == LinearLength);
System\Numerics\Tensors\netcore\TensorSpan_1.cs (3)
170public nint FlattenedLength => _shape.FlattenedLength; 274if (_shape.FlattenedLength != 0) ret = ref _reference; 488if (_itemsEnumerated == _span._shape.FlattenedLength)