Input nodes
Graph nodes
Output nodes
Number of nodes
Add a layer.
Added layer
Optional
name: stringNode name
Optional
inputs: string | number | (string | number)[]Input node names or const value for the added layer
Bind values to layers
Binding values
Returns calculated values.
Optional
require: (string | number)[]Name or index of nodes at least calculated
Returns a specific name node.
Node name
Node
Returns a string of DOT format.
String of DOT format
Returns object representation.
Object represented this graph
Returns onnx model
onnx model byte array
Static
fromReturns Graph.
Array of object represented a graph
Graph
Static
fromLoad onnx model.
File
Loaded graph
Computational graph for Neuralnetwork structure