NestedTensor<T>

Models & Types · AiDotNet.Tensors.LinearAlgebra.Nested

No summary documentation available yet.

Properties

Property Summary
NestedLayout Layout { get; }
Tensor<T> Values { get; }
int BatchSize { get; }
int FeatureSize { get; }
int MaxRowLength { get; }
int StoredElements { get; }
int[] Offsets { get; }

Methods

Method Summary
NestedTensor<T> FromList(IList<Tensor<T>> rows)
NestedTensor<T> FromPadded(Tensor<T> padded, int[] lengths)
NestedTensor<T> FromValuesOffsets(Tensor<T> values, int[] offsets, int featureSize, NestedLayout layout)
Tensor<T> ToPadded(T padding, int outputSize)
int RowLength(int i)