@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class Graph extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kControlSlot |
static int |
kSinkId
enum tensorflow::Graph::
|
static int |
kSourceId
enum tensorflow::Graph::
|
Constructor and Description |
---|
Graph(FunctionLibraryDefinition flib_def) |
Graph(OpRegistryInterface ops) |
Graph(Pointer p)
Pointer cast constructor.
|
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int kControlSlot
public static final int kSourceId
public static final int kSinkId
public Graph(Pointer p)
Pointer(Pointer)
.public Graph(@Const OpRegistryInterface ops)
public Graph(@Const @ByRef FunctionLibraryDefinition flib_def)
@MemberGetter public static int kControlSlot()
@Const @ByRef public VersionDef versions()
public void set_versions(@Const @ByRef VersionDef versions)
public void RemoveNode(Node node)
@Const public Edge AddControlEdge(Node source, Node dest, @Cast(value="bool") boolean allow_duplicates)
@ByVal public Status UpdateEdge(Node new_src, int new_src_index, Node dst, int dst_index)
@ByVal public Status AddFunctionLibrary(@Const @ByRef FunctionDefLibrary fdef_lib)
public int num_nodes()
public int num_op_nodes()
public int num_edges()
public void ToGraphDefSubRange(GraphDef graph_def, int from_node_id)
public void ToGraphDef(GraphDef graph_def)
@StdString public BytePointer NewName(@tensorflow.StringPiece BytePointer prefix)
@StdString public String NewName(@tensorflow.StringPiece String prefix)
@ByVal public NodeIterRange nodes()
@ByVal public NodeIterRange op_nodes()
public int num_node_ids()
public Node FindNodeId(int id)
public int num_edge_ids()
@ByVal public GraphEdgesIterable edges()
public Node source_node()
public Node sink_node()
@Const public OpRegistryInterface op_registry()
@Const @ByRef public FunctionLibraryDefinition flib_def()
public void CheckDeviceNameIndex(int index)
public int InternDeviceName(@StdString BytePointer device_name)
public int InternDeviceName(@StdString String device_name)
@StdString public BytePointer get_assigned_device_name(@Const @ByRef Node node)
public void set_assigned_device_name_index(Node node, int device_name_index)
public void set_assigned_device_name(Node node, @StdString BytePointer device_name)
public void set_assigned_device_name(Node node, @StdString String device_name)
@ByVal public Status AddWhileContext(@tensorflow.StringPiece BytePointer frame_name, @ByVal NodeVector enter_nodes, @ByVal NodeVector exit_nodes, @ByVal OutputTensor cond_output, @StdVector OutputTensor body_inputs, @StdVector OutputTensor body_outputs, @Cast(value="tensorflow::WhileContext**") PointerPointer result)
@ByVal public Status AddWhileContext(@tensorflow.StringPiece BytePointer frame_name, @ByVal NodeVector enter_nodes, @ByVal NodeVector exit_nodes, @ByVal OutputTensor cond_output, @StdVector OutputTensor body_inputs, @StdVector OutputTensor body_outputs, @ByPtrPtr WhileContext result)
@ByVal public Status AddWhileContext(@tensorflow.StringPiece String frame_name, @ByVal NodeVector enter_nodes, @ByVal NodeVector exit_nodes, @ByVal OutputTensor cond_output, @StdVector OutputTensor body_inputs, @StdVector OutputTensor body_outputs, @ByPtrPtr WhileContext result)
@ByVal public StringNodeMap BuildNodeNameIndex()
Copyright © 2022. All rights reserved.