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 class
FlatVariable.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 void
addControlDepForOp(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepForOpOffset)
static void
addControlDeps(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepsOffset)
static void
addControlDepsForVar(com.google.flatbuffers.FlatBufferBuilder builder, int controlDepsForVarOffset)
static void
addDevice(com.google.flatbuffers.FlatBufferBuilder builder, int device)
static void
addDtype(com.google.flatbuffers.FlatBufferBuilder builder, byte dtype)
static void
addId(com.google.flatbuffers.FlatBufferBuilder builder, int idOffset)
static void
addName(com.google.flatbuffers.FlatBufferBuilder builder, int nameOffset)
static void
addNdarray(com.google.flatbuffers.FlatBufferBuilder builder, int ndarrayOffset)
static void
addShape(com.google.flatbuffers.FlatBufferBuilder builder, int shapeOffset)
static void
addVariabletype(com.google.flatbuffers.FlatBufferBuilder builder, byte variabletype)
String
controlDepForOp(int j)
int
controlDepForOpLength()
com.google.flatbuffers.StringVector
controlDepForOpVector()
com.google.flatbuffers.StringVector
controlDepForOpVector(com.google.flatbuffers.StringVector obj)
String
controlDeps(int j)
String
controlDepsForVar(int j)
int
controlDepsForVarLength()
com.google.flatbuffers.StringVector
controlDepsForVarVector()
com.google.flatbuffers.StringVector
controlDepsForVarVector(com.google.flatbuffers.StringVector obj)
int
controlDepsLength()
com.google.flatbuffers.StringVector
controlDepsVector()
com.google.flatbuffers.StringVector
controlDepsVector(com.google.flatbuffers.StringVector obj)
static int
createControlDepForOpVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
static int
createControlDepsForVarVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
static int
createControlDepsVector(com.google.flatbuffers.FlatBufferBuilder builder, int[] data)
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)
static int
createShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, long[] data)
int
device()
byte
dtype()
static int
endFlatVariable(com.google.flatbuffers.FlatBufferBuilder builder)
static void
finishFlatVariableBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
static void
finishSizePrefixedFlatVariableBuffer(com.google.flatbuffers.FlatBufferBuilder builder, int offset)
static FlatVariable
getRootAsFlatVariable(ByteBuffer _bb)
static FlatVariable
getRootAsFlatVariable(ByteBuffer _bb, FlatVariable obj)
IntPair
id()
IntPair
id(IntPair obj)
String
name()
ByteBuffer
nameAsByteBuffer()
ByteBuffer
nameInByteBuffer(ByteBuffer _bb)
FlatArray
ndarray()
FlatArray
ndarray(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
startControlDepForOpVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
static void
startControlDepsForVarVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
static void
startControlDepsVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
static void
startFlatVariable(com.google.flatbuffers.FlatBufferBuilder builder)
static void
startShapeVector(com.google.flatbuffers.FlatBufferBuilder builder, int numElems)
static void
ValidateVersion()
byte
variabletype()
-
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)
-
-