12 references to Create
System.Numerics.Tensors (12)
System\Numerics\Tensors\netcore\Tensor.cs (9)
165tensor = Tensor.Create<T>(lengths); 179tensor = Tensor.Create<T>([totalLength]); 697Tensor<bool> destination = Tensor.Create<bool>(x.Lengths, false); 878Tensor<bool> destination = Tensor.Create<bool>(x.Lengths, false); 1059Tensor<bool> destination = Tensor.Create<bool>(x.Lengths, false); 1240Tensor<bool> destination = Tensor.Create<bool>(x.Lengths, false); 1724Tensor<T> output = Tensor.Create<T>(tensor.Lengths); 1738Tensor<T> output = Tensor.Create<T>(tensor.Lengths); 4717Tensor<T> destination = Tensor.Create<T>(x.Lengths);
System\Numerics\Tensors\netcore\Tensor_1.cs (3)
304result = Tensor.Create<T>(Lengths, IsPinned); 396static Tensor<T> ITensor<Tensor<T>, T>.Create(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.Create<T>(lengths, pinned); 400static Tensor<T> ITensor<Tensor<T>, T>.CreateUninitialized(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.Create<T>(lengths, pinned);