Implemented interface member:
property
IsPinned
System.Numerics.Tensors.IReadOnlyTensor<TSelf, T>.IsPinned
3 references to IsPinned
System.Numerics.Tensors (3)
System\Numerics\Tensors\netcore\Tensor.cs (1)
652sb.Append($"], type = {typeof(T)}, isPinned = {IsPinned}");
System\Numerics\Tensors\netcore\TensorExtensions.cs (2)
2651T[] values = tensor.IsPinned ? GC.AllocateArray<T>((int)tensor._flattenedLength) : (new T[tensor._flattenedLength]); 2942T[] values = tensor.IsPinned ? GC.AllocateArray<T>((int)newSize) : (new T[newSize]);