1 write to s_empty
System.Numerics.Tensors (1)
System\Numerics\Tensors\netcore\TensorShape.cs (1)
786return ref ((shape.Rank == 0) ? ref s_empty : ref shape);
4 references to s_empty
System.Numerics.Tensors (4)
System\Numerics\Tensors\netcore\TensorShape.cs (4)
735ReadOnlySpan<nint> lengths1 = shape1Lengths.IsEmpty ? s_empty.Lengths : shape1Lengths; 796lengths1 = lengths1.IsEmpty ? s_empty.Lengths : lengths1; 797lengths2 = lengths2.IsEmpty ? s_empty.Lengths : lengths2; 1357return s_empty.Slice<TGetOffsetAndLength, T>(state, out linearOffset);