Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Def ¶
type Def struct {
NodeDef *node_def_go_proto.NodeDef
}
func NewConstantNode ¶
NewConstantNode creates a new const node based on a tensor
func NewNodeDef ¶
NewNodeDef returns a new instance of Def using lower level raw inputs such as name and op as strings and attr values
func NewNodesFromTfOp ¶
NewNodesFromTfOp creates a graph using input operators and then extracts nodes from it. Please note that the operator signature only requires op.Scope as input, so it may be necessary to input closures. For instance, op.MatMul requires two tf.Output inputs
func NewPlaceholderNode ¶
NewPlaceholderNode creates a new placeholder node for a given data type
Click to show internal directories.
Click to hide internal directories.