Package org.nd4j.graph
Class FlatVariable
- java.lang.Object
-
- com.google.flatbuffers.Table
-
- org.nd4j.graph.FlatVariable
-
public final class FlatVariable extends com.google.flatbuffers.Table
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlatVariable.Vector
-
Constructor Summary
Constructors Constructor Description FlatVariable()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description FlatVariable__assign(int _i, ByteBuffer _bb)void__init(int _i, ByteBuffer _bb)static voidaddControlDepForOp(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepForOpOffset)static voidaddControlDeps(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepsOffset)static voidaddControlDepsForVar(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepsForVarOffset)static voidaddDevice(com.google.flatbuffers.FlatBufferBuilder builder, int device)static voidaddDtype(com.google.flatbuffers.FlatBufferBuilder builder, byte dtype)static voidaddId(com.google.flatbuffers.FlatBufferBuilder builder, int idOffset)static voidaddName(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset)static voidaddNdarray(com.google.flatbuffers.FlatBufferBuilder builder, int ndarrayOffset)static voidaddShape(com.google.flatbuffers.FlatBufferBuilder builder, int shapeOffset)static voidaddVariabletype(com.google.flatbuffers.FlatBufferBuilder builder, byte variabletype)StringcontrolDepForOp(int j)intcontrolDepForOpLength()com.google.flatbuffers.StringVectorcontrolDepForOpVector()com.google.flatbuffers.StringVectorcontrolDepForOpVector(com.google.flatbuffers.StringVector obj)StringcontrolDeps(int j)StringcontrolDepsForVar(int j)intcontrolDepsForVarLength()com.google.flatbuffers.StringVectorcontrolDepsForVarVector()com.google.flatbuffers.StringVectorcontrolDepsForVarVector(com.google.flatbuffers.StringVector obj)intcontrolDepsLength()com.google.flatbuffers.StringVectorcontrolDepsVector()com.google.flatbuffers.StringVectorcontrolDepsVector(com.google.flatbuffers.StringVector obj)static intcreateControlDepForOpVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)static intcreateControlDepsForVarVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)static intcreateControlDepsVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)static intcreateFlatVariable(com.google.flatbuffers.FlatBufferBuilder builder, int idOffset, int nameOffset, byte dtype, int shapeOffset, int ndarrayOffset, int device, byte variabletype, int controlDepsOffset, int controlDepForOpOffset, int controlDepsForVarOffset)static intcreateShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, long[] data)intdevice()bytedtype()static intendFlatVariable(com.google.flatbuffers.FlatBufferBuilder builder)static voidfinishFlatVariableBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)static voidfinishSizePrefixedFlatVariableBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)static FlatVariablegetRootAsFlatVariable(ByteBuffer _bb)static FlatVariablegetRootAsFlatVariable(ByteBuffer _bb, FlatVariable obj)IntPairid()IntPairid(IntPair obj)Stringname()ByteBuffernameAsByteBuffer()ByteBuffernameInByteBuffer(ByteBuffer _bb)FlatArrayndarray()FlatArrayndarray(FlatArray obj)longshape(int j)ByteBuffershapeAsByteBuffer()ByteBuffershapeInByteBuffer(ByteBuffer _bb)intshapeLength()com.google.flatbuffers.LongVectorshapeVector()com.google.flatbuffers.LongVectorshapeVector(com.google.flatbuffers.LongVector obj)static voidstartControlDepForOpVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)static voidstartControlDepsForVarVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)static voidstartControlDepsVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)static voidstartFlatVariable(com.google.flatbuffers.FlatBufferBuilder builder)static voidstartShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)static voidValidateVersion()bytevariabletype()-
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()
-
getRootAsFlatVariable
public static FlatVariable getRootAsFlatVariable(ByteBuffer _bb)
-
getRootAsFlatVariable
public static FlatVariable getRootAsFlatVariable(ByteBuffer _bb, FlatVariable obj)
-
__init
public void __init(int _i, ByteBuffer _bb)
-
__assign
public FlatVariable __assign(int _i, ByteBuffer _bb)
-
id
public IntPair id()
-
name
public String name()
-
nameAsByteBuffer
public ByteBuffer nameAsByteBuffer()
-
nameInByteBuffer
public ByteBuffer nameInByteBuffer(ByteBuffer _bb)
-
dtype
public byte dtype()
-
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)
-
ndarray
public FlatArray ndarray()
-
device
public int device()
-
variabletype
public byte variabletype()
-
controlDeps
public String controlDeps(int j)
-
controlDepsLength
public int controlDepsLength()
-
controlDepsVector
public com.google.flatbuffers.StringVector controlDepsVector()
-
controlDepsVector
public com.google.flatbuffers.StringVector controlDepsVector(com.google.flatbuffers.StringVector obj)
-
controlDepForOp
public String controlDepForOp(int j)
-
controlDepForOpLength
public int controlDepForOpLength()
-
controlDepForOpVector
public com.google.flatbuffers.StringVector controlDepForOpVector()
-
controlDepForOpVector
public com.google.flatbuffers.StringVector controlDepForOpVector(com.google.flatbuffers.StringVector obj)
-
controlDepsForVar
public String controlDepsForVar(int j)
-
controlDepsForVarLength
public int controlDepsForVarLength()
-
controlDepsForVarVector
public com.google.flatbuffers.StringVector controlDepsForVarVector()
-
controlDepsForVarVector
public com.google.flatbuffers.StringVector controlDepsForVarVector(com.google.flatbuffers.StringVector obj)
-
createFlatVariable
public static int createFlatVariable(com.google.flatbuffers.FlatBufferBuilder builder, int idOffset, int nameOffset, byte dtype, int shapeOffset, int ndarrayOffset, int device, byte variabletype, int controlDepsOffset, int controlDepForOpOffset, int controlDepsForVarOffset)
-
startFlatVariable
public static void startFlatVariable(com.google.flatbuffers.FlatBufferBuilder builder)
-
addId
public static void addId(com.google.flatbuffers.FlatBufferBuilder builder, int idOffset)
-
addName
public static void addName(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset)
-
addDtype
public static void addDtype(com.google.flatbuffers.FlatBufferBuilder builder, byte dtype)
-
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)
-
addNdarray
public static void addNdarray(com.google.flatbuffers.FlatBufferBuilder builder, int ndarrayOffset)
-
addDevice
public static void addDevice(com.google.flatbuffers.FlatBufferBuilder builder, int device)
-
addVariabletype
public static void addVariabletype(com.google.flatbuffers.FlatBufferBuilder builder, byte variabletype)
-
addControlDeps
public static void addControlDeps(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepsOffset)
-
createControlDepsVector
public static int createControlDepsVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
-
startControlDepsVector
public static void startControlDepsVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
addControlDepForOp
public static void addControlDepForOp(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepForOpOffset)
-
createControlDepForOpVector
public static int createControlDepForOpVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
-
startControlDepForOpVector
public static void startControlDepForOpVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
addControlDepsForVar
public static void addControlDepsForVar(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepsForVarOffset)
-
createControlDepsForVarVector
public static int createControlDepsForVarVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
-
startControlDepsForVarVector
public static void startControlDepsForVarVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
-
endFlatVariable
public static int endFlatVariable(com.google.flatbuffers.FlatBufferBuilder builder)
-
finishFlatVariableBuffer
public static void finishFlatVariableBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
-
finishSizePrefixedFlatVariableBuffer
public static void finishSizePrefixedFlatVariableBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
-
-