java.lang.Object
com.google.flatbuffers.Table
org.apache.arrow.flatbuf.TensorDim
public final class TensorDim
extends com.google.flatbuffers.Table
----------------------------------------------------------------------
Data structures for dense tensors
Shape data for a single axis in a tensor
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.google.flatbuffers.Table
bb, bb_pos
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription__assign
(int _i, ByteBuffer _bb) void
__init
(int _i, ByteBuffer _bb) static void
addName
(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset) static void
addSize
(com.google.flatbuffers.FlatBufferBuilder builder, long size) static int
createTensorDim
(com.google.flatbuffers.FlatBufferBuilder builder, long size, int nameOffset) static int
endTensorDim
(com.google.flatbuffers.FlatBufferBuilder builder) static TensorDim
static TensorDim
getRootAsTensorDim
(ByteBuffer _bb, TensorDim obj) name()
Name of the dimension, optionallong
size()
Length of dimensionstatic void
startTensorDim
(com.google.flatbuffers.FlatBufferBuilder builder) static void
Methods inherited from class com.google.flatbuffers.Table
__has_identifier, __indirect, __indirect, __offset, __offset, __reset, __reset, __string, __string, __union, __union, __vector, __vector_as_bytebuffer, __vector_in_bytebuffer, __vector_len, compareStrings, compareStrings, getByteBuffer, keysCompare, sortTables
-
Constructor Details
-
TensorDim
public TensorDim()
-
-
Method Details
-
ValidateVersion
public static void ValidateVersion() -
getRootAsTensorDim
-
getRootAsTensorDim
-
__init
-
__assign
-
size
public long size()Length of dimension -
name
Name of the dimension, optional -
nameAsByteBuffer
-
nameInByteBuffer
-
createTensorDim
public static int createTensorDim(com.google.flatbuffers.FlatBufferBuilder builder, long size, int nameOffset) -
startTensorDim
public static void startTensorDim(com.google.flatbuffers.FlatBufferBuilder builder) -
addSize
public static void addSize(com.google.flatbuffers.FlatBufferBuilder builder, long size) -
addName
public static void addName(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset) -
endTensorDim
public static int endTensorDim(com.google.flatbuffers.FlatBufferBuilder builder)
-