108 references to Tensor
System.Numerics.Tensors (108)
System\Numerics\Tensors\netcore\Tensor.cs (100)
74Tensor<T> destination = Tensor.CreateUninitialized<T>(lengths); 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); 1667Tensor<T> output = Tensor.Create(values, 0, lengths, []); 1724Tensor<T> output = Tensor.Create<T>(tensor.Lengths); 1738Tensor<T> output = Tensor.Create<T>(tensor.Lengths); 2206outputs[i] = Tensor.Unsqueeze(tensors[i], dimension); 2208return Tensor.ConcatenateOnDimension<T>(dimension, outputs); 2246outputs[i] = Tensor.Unsqueeze(tensors[i], dimension); 2248return ref Tensor.ConcatenateOnDimension<T>(dimension, outputs, destination); 2576Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2603Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2630Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2671Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2713Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2740Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2767Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2794Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2822Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2849Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2876Tensor<T> destination = Tensor.CreateUninitialized<T>(y.Lengths); 2905Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2932Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 2959Tensor<T> destination = Tensor.CreateUninitialized<T>(y.Lengths); 2987Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3014Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3059Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3086Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3115Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3142Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3170Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3197Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3226Tensor<TTo> destination = Tensor.CreateUninitialized<TTo>(source.Lengths); 3257Tensor<TTo> destination = Tensor.CreateUninitialized<TTo>(source.Lengths); 3288Tensor<TTo> destination = Tensor.CreateUninitialized<TTo>(source.Lengths); 3318Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3331Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3373Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3400Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3453Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3490Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3534Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3547Tensor<T> destination = Tensor.CreateUninitialized<T>(y.Lengths); 3634Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3661Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3686Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3709Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3732Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3755Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3778Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3858Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 3881Tensor<T> destination = Tensor.CreateUninitialized<T>(y.Lengths); 3905Tensor<int> destination = Tensor.CreateUninitialized<int>(x.Lengths); 3977Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4004Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4051Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4077Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4104Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4131Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4158Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4185Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4249Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4312Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4375Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4438Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4501Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4564Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4627Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4690Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4717Tensor<T> destination = Tensor.Create<T>(x.Lengths); 4772Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4809Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4832Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4879Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4902Tensor<T> destination = Tensor.CreateUninitialized<T>(y.Lengths); 4938Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4961Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 4985Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5011Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5038Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5063Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5086Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5110Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5133Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5157Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5182Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5207Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5230Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5256Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5284Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5440Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5463Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5486Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5509Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5532Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths); 5581Tensor<T> destination = Tensor.CreateUninitialized<T>(x.Lengths);
System\Numerics\Tensors\netcore\Tensor_1.cs (6)
167public static implicit operator Tensor<T>(T[] array) => Tensor.Create(array); 309Tensor.ToString(AsReadOnlyTensorSpan(), maximumLengths, sb); 378static Tensor<T> ITensor<Tensor<T>, T>.Create(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.Create<T>(lengths, pinned); 380static Tensor<T> ITensor<Tensor<T>, T>.Create(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.Create<T>(lengths, strides, pinned); 382static Tensor<T> ITensor<Tensor<T>, T>.CreateUninitialized(scoped ReadOnlySpan<nint> lengths, bool pinned) => Tensor.Create<T>(lengths, pinned); 384static Tensor<T> ITensor<Tensor<T>, T>.CreateUninitialized(scoped ReadOnlySpan<nint> lengths, scoped ReadOnlySpan<nint> strides, bool pinned) => Tensor.Create<T>(lengths, strides, pinned);
System\Numerics\Tensors\netcore\TensorOperation.cs (2)
366destination = Tensor.CreateUninitialized<TResult>(x._shape.Lengths); 370destination = Tensor.CreateUninitialized<TResult>(y._shape.Lengths);