Apache.Arrow.Flatbuf.SparseTensor
namespace Apache.Arrow.Flatbuf
{
internal struct SparseTensor : IFlatbufferObject
{
public ByteBuffer ByteBuffer { get; }
public Type TypeType { get; }
public int ShapeLength { get; }
public long NonZeroLength { get; }
public SparseTensorIndex SparseIndexType { get; }
public Buffer? Data { get; }
public static void ValidateVersion();
public static SparseTensor GetRootAsSparseTensor(ByteBuffer _bb);
public static SparseTensor GetRootAsSparseTensor(ByteBuffer _bb, SparseTensor obj);
public static bool VerifySparseTensor(ByteBuffer _bb);
public void __init(int _i, ByteBuffer _bb);
public SparseTensor __assign(int _i, ByteBuffer _bb);
public TTable? Type<TTable>() where TTable : struct, IFlatbufferObject;
public Null TypeAsNull();
public Int TypeAsInt();
public FloatingPoint TypeAsFloatingPoint();
public Binary TypeAsBinary();
public Utf8 TypeAsUtf8();
public Bool TypeAsBool();
public Decimal TypeAsDecimal();
public Date TypeAsDate();
public Time TypeAsTime();
public Timestamp TypeAsTimestamp();
public Interval TypeAsInterval();
public List TypeAsList();
public Struct_ TypeAsStruct_();
public Union TypeAsUnion();
public FixedSizeBinary TypeAsFixedSizeBinary();
public FixedSizeList TypeAsFixedSizeList();
public Map TypeAsMap();
public Duration TypeAsDuration();
public LargeBinary TypeAsLargeBinary();
public LargeUtf8 TypeAsLargeUtf8();
public LargeList TypeAsLargeList();
public RunEndEncoded TypeAsRunEndEncoded();
public BinaryView TypeAsBinaryView();
public Utf8View TypeAsUtf8View();
public ListView TypeAsListView();
public LargeListView TypeAsLargeListView();
public TensorDim? Shape(int j);
public TTable? SparseIndex<TTable>() where TTable : struct, IFlatbufferObject;
public SparseTensorIndexCOO SparseIndexAsSparseTensorIndexCOO();
public SparseMatrixIndexCSX SparseIndexAsSparseMatrixIndexCSX();
public SparseTensorIndexCSF SparseIndexAsSparseTensorIndexCSF();
public static void StartSparseTensor(FlatBufferBuilder builder);
public static void AddTypeType(FlatBufferBuilder builder, Type typeType);
public static void AddType(FlatBufferBuilder builder, int typeOffset);
public static void AddShape(FlatBufferBuilder builder, VectorOffset shapeOffset);
public static VectorOffset CreateShapeVector(FlatBufferBuilder builder, Offset<TensorDim>[] data);
public static VectorOffset CreateShapeVectorBlock(FlatBufferBuilder builder, Offset<TensorDim>[] data);
public static VectorOffset CreateShapeVectorBlock(FlatBufferBuilder builder, ArraySegment<Offset<TensorDim>> data);
public static VectorOffset CreateShapeVectorBlock(FlatBufferBuilder builder, IntPtr dataPtr, int sizeInBytes);
public static void StartShapeVector(FlatBufferBuilder builder, int numElems);
public static void AddNonZeroLength(FlatBufferBuilder builder, long nonZeroLength);
public static void AddSparseIndexType(FlatBufferBuilder builder, SparseTensorIndex sparseIndexType);
public static void AddSparseIndex(FlatBufferBuilder builder, int sparseIndexOffset);
public static void AddData(FlatBufferBuilder builder, Offset<Buffer> dataOffset);
public static Offset<SparseTensor> EndSparseTensor(FlatBufferBuilder builder);
public static void FinishSparseTensorBuffer(FlatBufferBuilder builder, Offset<SparseTensor> offset);
public static void FinishSizePrefixedSparseTensorBuffer(FlatBufferBuilder builder, Offset<SparseTensor> offset);
}
}