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 SummaryNested Classes
- 
Field SummaryFields inherited from class com.google.flatbuffers.Tablebb, bb_pos
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescription__assign(int _i, ByteBuffer _bb) void__init(int _i, ByteBuffer _bb) static voidaddName(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset) static voidaddSize(com.google.flatbuffers.FlatBufferBuilder builder, long size) static intcreateTensorDim(com.google.flatbuffers.FlatBufferBuilder builder, long size, int nameOffset) static intendTensorDim(com.google.flatbuffers.FlatBufferBuilder builder) static TensorDimstatic TensorDimgetRootAsTensorDim(ByteBuffer _bb, TensorDim obj) name()Name of the dimension, optionallongsize()Length of dimensionstatic voidstartTensorDim(com.google.flatbuffers.FlatBufferBuilder builder) static voidMethods 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- 
TensorDimpublic TensorDim()
 
- 
- 
Method Details- 
ValidateVersionpublic static void ValidateVersion()
- 
getRootAsTensorDim
- 
getRootAsTensorDim
- 
__init
- 
__assign
- 
sizepublic long size()Length of dimension
- 
nameName of the dimension, optional
- 
nameAsByteBuffer
- 
nameInByteBuffer
- 
createTensorDimpublic static int createTensorDim(com.google.flatbuffers.FlatBufferBuilder builder, long size, int nameOffset) 
- 
startTensorDimpublic static void startTensorDim(com.google.flatbuffers.FlatBufferBuilder builder) 
- 
addSizepublic static void addSize(com.google.flatbuffers.FlatBufferBuilder builder, long size) 
- 
addNamepublic static void addName(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset) 
- 
endTensorDimpublic static int endTensorDim(com.google.flatbuffers.FlatBufferBuilder builder) 
 
-