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 class
FlatArray.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 void
addBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int bufferOffset)
static void
addByteOrder(com.google.flatbuffers.FlatBufferBuilder builder, byte byteOrder)
static void
addDtype(com.google.flatbuffers.FlatBufferBuilder builder, byte dtype)
static void
addShape(com.google.flatbuffers.FlatBufferBuilder builder, int shapeOffset)
byte
buffer(int j)
ByteBuffer
bufferAsByteBuffer()
ByteBuffer
bufferInByteBuffer(ByteBuffer _bb)
int
bufferLength()
com.google.flatbuffers.ByteVector
bufferVector()
com.google.flatbuffers.ByteVector
bufferVector(com.google.flatbuffers.ByteVector obj)
byte
byteOrder()
static int
createBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, byte[] data)
static int
createBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, ByteBuffer data)
static int
createFlatArray(com.google.flatbuffers.FlatBufferBuilder builder, int shapeOffset, int bufferOffset, byte dtype, byte byteOrder)
static int
createShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, long[] data)
byte
dtype()
static int
endFlatArray(com.google.flatbuffers.FlatBufferBuilder builder)
static void
finishFlatArrayBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
static void
finishSizePrefixedFlatArrayBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
static FlatArray
getRootAsFlatArray(ByteBuffer _bb)
static FlatArray
getRootAsFlatArray(ByteBuffer _bb, FlatArray obj)
long
shape(int j)
ByteBuffer
shapeAsByteBuffer()
ByteBuffer
shapeInByteBuffer(ByteBuffer _bb)
int
shapeLength()
com.google.flatbuffers.LongVector
shapeVector()
com.google.flatbuffers.LongVector
shapeVector(com.google.flatbuffers.LongVector obj)
static void
startBufferVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
static void
startFlatArray(com.google.flatbuffers.FlatBufferBuilder builder)
static void
startShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
static void
ValidateVersion()
-
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)
-
-