Package org.nd4j.graph
Class FlatArray
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- org.nd4j.graph.FlatArray
-
public final class FlatArray extends com.google.flatbuffers.Table
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlatArray.Vector
-
Constructor Summary
Constructors Constructor Description FlatArray()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FlatArray__assign(int _i, ByteBuffer _bb)void__init(int _i, ByteBuffer _bb)static voidaddBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int bufferOffset)static voidaddByteOrder(com.google.flatbuffers.FlatBufferBuilder builder, byte byteOrder)static voidaddDtype(com.google.flatbuffers.FlatBufferBuilder builder, byte dtype)static voidaddShape(com.google.flatbuffers.FlatBufferBuilder builder, int shapeOffset)bytebuffer(int j)ByteBufferbufferAsByteBuffer()ByteBufferbufferInByteBuffer(ByteBuffer _bb)intbufferLength()com.google.flatbuffers.ByteVectorbufferVector()com.google.flatbuffers.ByteVectorbufferVector(com.google.flatbuffers.ByteVector obj)bytebyteOrder()static intcreateBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, byte[] data)static intcreateBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, ByteBuffer data)static intcreateFlatArray(com.google.flatbuffers.FlatBufferBuilder builder, int shapeOffset, int bufferOffset, byte dtype, byte byteOrder)static intcreateShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, long[] data)bytedtype()static intendFlatArray(com.google.flatbuffers.FlatBufferBuilder builder)static voidfinishFlatArrayBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)static voidfinishSizePrefixedFlatArrayBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)static FlatArraygetRootAsFlatArray(ByteBuffer _bb)static FlatArraygetRootAsFlatArray(ByteBuffer _bb, FlatArray obj)longshape(int j)ByteBuffershapeAsByteBuffer()ByteBuffershapeInByteBuffer(ByteBuffer _bb)intshapeLength()com.google.flatbuffers.LongVectorshapeVector()com.google.flatbuffers.LongVectorshapeVector(com.google.flatbuffers.LongVector obj)static voidstartBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)static voidstartFlatArray(com.google.flatbuffers.FlatBufferBuilder builder)static voidstartShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)static voidValidateVersion()-
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
-
-
-
-
Method Detail
-
ValidateVersion
public static void ValidateVersion()
-
getRootAsFlatArray
public static FlatArray getRootAsFlatArray(ByteBuffer _bb)
-
getRootAsFlatArray
public static FlatArray getRootAsFlatArray(ByteBuffer _bb, FlatArray obj)
-
__init
public void __init(int _i, ByteBuffer _bb)
-
__assign
public FlatArray __assign(int _i, ByteBuffer _bb)
-
shape
public long shape(int j)
-
shapeLength
public int shapeLength()
-
shapeVector
public com.google.flatbuffers.LongVector shapeVector()
-
shapeVector
public com.google.flatbuffers.LongVector shapeVector(com.google.flatbuffers.LongVector obj)
-
shapeAsByteBuffer
public ByteBuffer shapeAsByteBuffer()
-
shapeInByteBuffer
public ByteBuffer shapeInByteBuffer(ByteBuffer _bb)
-
buffer
public byte buffer(int j)
-
bufferLength
public int bufferLength()
-
bufferVector
public com.google.flatbuffers.ByteVector bufferVector()
-
bufferVector
public com.google.flatbuffers.ByteVector bufferVector(com.google.flatbuffers.ByteVector obj)
-
bufferAsByteBuffer
public ByteBuffer bufferAsByteBuffer()
-
bufferInByteBuffer
public ByteBuffer bufferInByteBuffer(ByteBuffer _bb)
-
dtype
public byte dtype()
-
byteOrder
public byte byteOrder()
-
createFlatArray
public static int createFlatArray(com.google.flatbuffers.FlatBufferBuilder builder, int shapeOffset, int bufferOffset, byte dtype, byte byteOrder)
-
startFlatArray
public static void startFlatArray(com.google.flatbuffers.FlatBufferBuilder builder)
-
addShape
public static void addShape(com.google.flatbuffers.FlatBufferBuilder builder, int shapeOffset)
-
createShapeVector
public static int createShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, long[] data)
-
startShapeVector
public static void startShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
addBuffer
public static void addBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int bufferOffset)
-
createBufferVector
public static int createBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, byte[] data)
-
createBufferVector
public static int createBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, ByteBuffer data)
-
startBufferVector
public static void startBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
addDtype
public static void addDtype(com.google.flatbuffers.FlatBufferBuilder builder, byte dtype)
-
addByteOrder
public static void addByteOrder(com.google.flatbuffers.FlatBufferBuilder builder, byte byteOrder)
-
endFlatArray
public static int endFlatArray(com.google.flatbuffers.FlatBufferBuilder builder)
-
finishFlatArrayBuffer
public static void finishFlatArrayBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
-
finishSizePrefixedFlatArrayBuffer
public static void finishSizePrefixedFlatArrayBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
-
-