Documentation ¶
Index ¶
- Variables
- func GetOutputGraphNodes(g *gorgonia.ExprGraph) gorgonia.Nodes
- func GetOutputNodes(g *gorgonia.ExprGraph) gorgonia.Nodes
- func NewGraph(gx *onnx.GraphProto) (*gorgonia.ExprGraph, error)
- func NewValue(valueProto *onnx.ValueInfoProto) (gorgonia.Value, error)
- type ErrNotImplemented
- type Operator
Constants ¶
This section is empty.
Variables ¶
View Source
var AvailableOperators = map[string]Operator{ "Conv": &operators.Conv{}, "Mul": &operators.Mul{}, "MatMul": &operators.Matmul{}, "Div": &operators.Div{}, "Add": &operators.Add{}, "Relu": &operators.Relu{}, "MaxPool": &operators.Maxpool{}, "Concat": &operators.Concat{}, "Constant": &operators.Constant{}, "Reshape": &operators.Reshape{}, "BatchNormalization": &operators.Batchnorm{}, "Unsqueeze": &operators.Unsqueeze{}, }
AvailableOperators is the list of the onnx operators available linked to their implementation
Functions ¶
func GetOutputGraphNodes ¶
GetOutputGraphNodes returns the nodes that are the output of the graph and not orhpan Nodes This is avoid to return the nodes used for the reshape operator
func GetOutputNodes ¶
GetOutputNodes returns the nodes that are the output of the graph
Types ¶
type ErrNotImplemented ¶
type ErrNotImplemented struct { Operator string Attribute *onnx.AttributeProto Err error }
ErrNotImplemented is a special error type used in the tests
func (ErrNotImplemented) Error ¶
func (e ErrNotImplemented) Error() string
Click to show internal directories.
Click to hide internal directories.