public final class SparseTensorIndexCOO
extends com.google.flatbuffers.Table
Modifier and Type | Class and Description |
---|---|
static class |
SparseTensorIndexCOO.Vector |
Constructor and Description |
---|
SparseTensorIndexCOO() |
Modifier and Type | Method and Description |
---|---|
SparseTensorIndexCOO |
__assign(int _i,
ByteBuffer _bb) |
void |
__init(int _i,
ByteBuffer _bb) |
static void |
addIndicesBuffer(com.google.flatbuffers.FlatBufferBuilder builder,
int indicesBufferOffset) |
static void |
addIndicesStrides(com.google.flatbuffers.FlatBufferBuilder builder,
int indicesStridesOffset) |
static void |
addIndicesType(com.google.flatbuffers.FlatBufferBuilder builder,
int indicesTypeOffset) |
static void |
addIsCanonical(com.google.flatbuffers.FlatBufferBuilder builder,
boolean isCanonical) |
static int |
createIndicesStridesVector(com.google.flatbuffers.FlatBufferBuilder builder,
long[] data) |
static int |
endSparseTensorIndexCOO(com.google.flatbuffers.FlatBufferBuilder builder) |
static SparseTensorIndexCOO |
getRootAsSparseTensorIndexCOO(ByteBuffer _bb) |
static SparseTensorIndexCOO |
getRootAsSparseTensorIndexCOO(ByteBuffer _bb,
SparseTensorIndexCOO obj) |
Buffer |
indicesBuffer()
The location and size of the indices matrix's data
|
Buffer |
indicesBuffer(Buffer obj) |
long |
indicesStrides(int j)
Non-negative byte offsets to advance one value cell along each dimension
If omitted, default to row-major order (C-like).
|
ByteBuffer |
indicesStridesAsByteBuffer() |
ByteBuffer |
indicesStridesInByteBuffer(ByteBuffer _bb) |
int |
indicesStridesLength() |
com.google.flatbuffers.LongVector |
indicesStridesVector() |
com.google.flatbuffers.LongVector |
indicesStridesVector(com.google.flatbuffers.LongVector obj) |
Int |
indicesType()
The type of values in indicesBuffer
|
Int |
indicesType(Int obj) |
boolean |
isCanonical()
This flag is true if and only if the indices matrix is sorted in
row-major order, and does not have duplicated entries.
|
static void |
startIndicesStridesVector(com.google.flatbuffers.FlatBufferBuilder builder,
int numElems) |
static void |
startSparseTensorIndexCOO(com.google.flatbuffers.FlatBufferBuilder builder) |
static void |
ValidateVersion() |
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, __vector, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
public static void ValidateVersion()
public static SparseTensorIndexCOO getRootAsSparseTensorIndexCOO(ByteBuffer _bb)
public static SparseTensorIndexCOO getRootAsSparseTensorIndexCOO(ByteBuffer _bb, SparseTensorIndexCOO obj)
public void __init(int _i, ByteBuffer _bb)
public SparseTensorIndexCOO __assign(int _i, ByteBuffer _bb)
public Int indicesType()
public long indicesStrides(int j)
public int indicesStridesLength()
public com.google.flatbuffers.LongVector indicesStridesVector()
public com.google.flatbuffers.LongVector indicesStridesVector(com.google.flatbuffers.LongVector obj)
public ByteBuffer indicesStridesAsByteBuffer()
public ByteBuffer indicesStridesInByteBuffer(ByteBuffer _bb)
public Buffer indicesBuffer()
public boolean isCanonical()
public static void startSparseTensorIndexCOO(com.google.flatbuffers.FlatBufferBuilder builder)
public static void addIndicesType(com.google.flatbuffers.FlatBufferBuilder builder, int indicesTypeOffset)
public static void addIndicesStrides(com.google.flatbuffers.FlatBufferBuilder builder, int indicesStridesOffset)
public static int createIndicesStridesVector(com.google.flatbuffers.FlatBufferBuilder builder, long[] data)
public static void startIndicesStridesVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
public static void addIndicesBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int indicesBufferOffset)
public static void addIsCanonical(com.google.flatbuffers.FlatBufferBuilder builder, boolean isCanonical)
public static int endSparseTensorIndexCOO(com.google.flatbuffers.FlatBufferBuilder builder)
Copyright © 2023 The Apache Software Foundation. All rights reserved.