Documentation
¶
Index ¶
- Variables
- func Register()
- type Graph
- func (*Graph) Descriptor() ([]byte, []int)
- func (this *Graph) Equal(that interface{}) bool
- func (m *Graph) GetArgNodes() []int64
- func (m *Graph) GetAttrs() *Graph_Attributes
- func (m *Graph) GetHeads() []*Graph_NodeEntry
- func (m *Graph) GetNodeRowPtr() []int64
- func (m *Graph) GetNodes() []*Graph_Node
- func (this *Graph) GoString() string
- func (m *Graph) Marshal() (dAtA []byte, err error)
- func (m *Graph) MarshalTo(dAtA []byte) (int, error)
- func (*Graph) ProtoMessage()
- func (m *Graph) Reset()
- func (m *Graph) Size() (n int)
- func (this *Graph) String() string
- func (g *Graph) ToDotGraph() (*gographviz.Escape, error)
- func (m *Graph) Unmarshal(dAtA []byte) error
- func (this *Graph) VerboseEqual(that interface{}) error
- func (m *Graph) XXX_DiscardUnknown()
- func (m *Graph) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Graph) XXX_Merge(src proto.Message)
- func (m *Graph) XXX_Size() int
- func (m *Graph) XXX_Unmarshal(b []byte) error
- type Graph_Attributes
- func (*Graph_Attributes) Descriptor() ([]byte, []int)
- func (this *Graph_Attributes) Equal(that interface{}) bool
- func (m *Graph_Attributes) GetAttrs() map[string]string
- func (this *Graph_Attributes) GoString() string
- func (m *Graph_Attributes) Marshal() (dAtA []byte, err error)
- func (m *Graph_Attributes) MarshalTo(dAtA []byte) (int, error)
- func (*Graph_Attributes) ProtoMessage()
- func (m *Graph_Attributes) Reset()
- func (m *Graph_Attributes) Size() (n int)
- func (this *Graph_Attributes) String() string
- func (m *Graph_Attributes) Unmarshal(dAtA []byte) error
- func (this *Graph_Attributes) VerboseEqual(that interface{}) error
- func (m *Graph_Attributes) XXX_DiscardUnknown()
- func (m *Graph_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Graph_Attributes) XXX_Merge(src proto.Message)
- func (m *Graph_Attributes) XXX_Size() int
- func (m *Graph_Attributes) XXX_Unmarshal(b []byte) error
- type Graph_Node
- func (*Graph_Node) Descriptor() ([]byte, []int)
- func (this *Graph_Node) Equal(that interface{}) bool
- func (m *Graph_Node) GetBackwardSourceId() int64
- func (m *Graph_Node) GetControlDeps() []int64
- func (m *Graph_Node) GetInputs() []*Graph_NodeEntry
- func (m *Graph_Node) GetName() string
- func (m *Graph_Node) GetOp() string
- func (m *Graph_Node) GetParam() map[string]string
- func (this *Graph_Node) GoString() string
- func (m *Graph_Node) Marshal() (dAtA []byte, err error)
- func (m *Graph_Node) MarshalTo(dAtA []byte) (int, error)
- func (*Graph_Node) ProtoMessage()
- func (m *Graph_Node) Reset()
- func (m *Graph_Node) Size() (n int)
- func (this *Graph_Node) String() string
- func (m *Graph_Node) Unmarshal(dAtA []byte) error
- func (this *Graph_Node) VerboseEqual(that interface{}) error
- func (m *Graph_Node) XXX_DiscardUnknown()
- func (m *Graph_Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Graph_Node) XXX_Merge(src proto.Message)
- func (m *Graph_Node) XXX_Size() int
- func (m *Graph_Node) XXX_Unmarshal(b []byte) error
- type Graph_NodeEntry
- func (*Graph_NodeEntry) Descriptor() ([]byte, []int)
- func (this *Graph_NodeEntry) Equal(that interface{}) bool
- func (m *Graph_NodeEntry) GetIndex() int64
- func (m *Graph_NodeEntry) GetNodeId() int64
- func (m *Graph_NodeEntry) GetVersion() int64
- func (this *Graph_NodeEntry) GoString() string
- func (m *Graph_NodeEntry) Marshal() (dAtA []byte, err error)
- func (e *Graph_NodeEntry) MarshalJSON() ([]byte, error)
- func (m *Graph_NodeEntry) MarshalTo(dAtA []byte) (int, error)
- func (*Graph_NodeEntry) ProtoMessage()
- func (m *Graph_NodeEntry) Reset()
- func (m *Graph_NodeEntry) Size() (n int)
- func (this *Graph_NodeEntry) String() string
- func (m *Graph_NodeEntry) Unmarshal(dAtA []byte) error
- func (e *Graph_NodeEntry) UnmarshalJSON(b []byte) error
- func (this *Graph_NodeEntry) VerboseEqual(that interface{}) error
- func (m *Graph_NodeEntry) XXX_DiscardUnknown()
- func (m *Graph_NodeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Graph_NodeEntry) XXX_Merge(src proto.Message)
- func (m *Graph_NodeEntry) XXX_Size() int
- func (m *Graph_NodeEntry) XXX_Unmarshal(b []byte) error
- type ModelGraphAttributes
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthMxnet = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMxnet = fmt.Errorf("proto: integer overflow") )
View Source
var ( Version = "1.1.7" BuildDate = "undefined" GitCommit = "undefined" )
View Source
var FrameworkManifest = dlframework.FrameworkManifest{
Name: "MXNet",
Version: "1.8.0",
}
Functions ¶
Types ¶
type Graph ¶
type Graph struct { Nodes []*Graph_Node `protobuf:"bytes,1,rep,name=nodes,proto3" json:"nodes,omitempty" yaml:"nodes,omitempty"` ArgNodes []int64 `protobuf:"varint,2,rep,packed,name=arg_nodes,json=argNodes,proto3" json:"arg_nodes,omitempty" yaml:"arg_nodes,omitempty"` NodeRowPtr []int64 `` /* 131-byte string literal not displayed */ Heads []*Graph_NodeEntry `protobuf:"bytes,4,rep,name=heads,proto3" json:"heads,omitempty" yaml:"heads,omitempty"` Attrs *Graph_Attributes `protobuf:"bytes,5,opt,name=attrs,proto3" json:"attrs,omitempty" yaml:"attrs,omitempty"` }
func NewPopulatedGraph ¶
func (*Graph) Descriptor ¶
func (*Graph) GetArgNodes ¶
func (*Graph) GetAttrs ¶
func (m *Graph) GetAttrs() *Graph_Attributes
func (*Graph) GetHeads ¶
func (m *Graph) GetHeads() []*Graph_NodeEntry
func (*Graph) GetNodeRowPtr ¶
func (*Graph) GetNodes ¶
func (m *Graph) GetNodes() []*Graph_Node
func (*Graph) ProtoMessage ¶
func (*Graph) ProtoMessage()
func (*Graph) ToDotGraph ¶
func (g *Graph) ToDotGraph() (*gographviz.Escape, error)
func (*Graph) VerboseEqual ¶
func (*Graph) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Graph) XXX_DiscardUnknown()
func (*Graph) XXX_Marshal ¶ added in v0.3.1
func (*Graph) XXX_Unmarshal ¶ added in v0.3.1
type Graph_Attributes ¶
type Graph_Attributes struct {
Attrs map[string]string `` /* 174-byte string literal not displayed */
}
func NewPopulatedGraph_Attributes ¶
func NewPopulatedGraph_Attributes(r randyMxnet, easy bool) *Graph_Attributes
func (*Graph_Attributes) Descriptor ¶
func (*Graph_Attributes) Descriptor() ([]byte, []int)
func (*Graph_Attributes) Equal ¶
func (this *Graph_Attributes) Equal(that interface{}) bool
func (*Graph_Attributes) GetAttrs ¶
func (m *Graph_Attributes) GetAttrs() map[string]string
func (*Graph_Attributes) GoString ¶
func (this *Graph_Attributes) GoString() string
func (*Graph_Attributes) Marshal ¶
func (m *Graph_Attributes) Marshal() (dAtA []byte, err error)
func (*Graph_Attributes) ProtoMessage ¶
func (*Graph_Attributes) ProtoMessage()
func (*Graph_Attributes) Reset ¶
func (m *Graph_Attributes) Reset()
func (*Graph_Attributes) Size ¶
func (m *Graph_Attributes) Size() (n int)
func (*Graph_Attributes) String ¶
func (this *Graph_Attributes) String() string
func (*Graph_Attributes) Unmarshal ¶
func (m *Graph_Attributes) Unmarshal(dAtA []byte) error
func (*Graph_Attributes) VerboseEqual ¶
func (this *Graph_Attributes) VerboseEqual(that interface{}) error
func (*Graph_Attributes) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Graph_Attributes) XXX_DiscardUnknown()
func (*Graph_Attributes) XXX_Marshal ¶ added in v0.3.1
func (m *Graph_Attributes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Graph_Attributes) XXX_Merge ¶ added in v0.3.1
func (m *Graph_Attributes) XXX_Merge(src proto.Message)
func (*Graph_Attributes) XXX_Size ¶ added in v0.3.1
func (m *Graph_Attributes) XXX_Size() int
func (*Graph_Attributes) XXX_Unmarshal ¶ added in v0.3.1
func (m *Graph_Attributes) XXX_Unmarshal(b []byte) error
type Graph_Node ¶
type Graph_Node struct { Op string `protobuf:"bytes,1,opt,name=op,proto3" json:"op,omitempty" yaml:"op,omitempty"` Param map[string]string `` /* 175-byte string literal not displayed */ Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty" yaml:"name,omitempty"` Inputs []*Graph_NodeEntry `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty" yaml:"inputs,omitempty"` BackwardSourceId int64 `` /* 148-byte string literal not displayed */ ControlDeps []int64 `` /* 132-byte string literal not displayed */ }
func NewPopulatedGraph_Node ¶
func NewPopulatedGraph_Node(r randyMxnet, easy bool) *Graph_Node
func (*Graph_Node) Descriptor ¶
func (*Graph_Node) Descriptor() ([]byte, []int)
func (*Graph_Node) Equal ¶
func (this *Graph_Node) Equal(that interface{}) bool
func (*Graph_Node) GetBackwardSourceId ¶
func (m *Graph_Node) GetBackwardSourceId() int64
func (*Graph_Node) GetControlDeps ¶
func (m *Graph_Node) GetControlDeps() []int64
func (*Graph_Node) GetInputs ¶
func (m *Graph_Node) GetInputs() []*Graph_NodeEntry
func (*Graph_Node) GetName ¶
func (m *Graph_Node) GetName() string
func (*Graph_Node) GetOp ¶
func (m *Graph_Node) GetOp() string
func (*Graph_Node) GetParam ¶
func (m *Graph_Node) GetParam() map[string]string
func (*Graph_Node) GoString ¶
func (this *Graph_Node) GoString() string
func (*Graph_Node) Marshal ¶
func (m *Graph_Node) Marshal() (dAtA []byte, err error)
func (*Graph_Node) ProtoMessage ¶
func (*Graph_Node) ProtoMessage()
func (*Graph_Node) Reset ¶
func (m *Graph_Node) Reset()
func (*Graph_Node) Size ¶
func (m *Graph_Node) Size() (n int)
func (*Graph_Node) String ¶
func (this *Graph_Node) String() string
func (*Graph_Node) Unmarshal ¶
func (m *Graph_Node) Unmarshal(dAtA []byte) error
func (*Graph_Node) VerboseEqual ¶
func (this *Graph_Node) VerboseEqual(that interface{}) error
func (*Graph_Node) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Graph_Node) XXX_DiscardUnknown()
func (*Graph_Node) XXX_Marshal ¶ added in v0.3.1
func (m *Graph_Node) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Graph_Node) XXX_Merge ¶ added in v0.3.1
func (m *Graph_Node) XXX_Merge(src proto.Message)
func (*Graph_Node) XXX_Size ¶ added in v0.3.1
func (m *Graph_Node) XXX_Size() int
func (*Graph_Node) XXX_Unmarshal ¶ added in v0.3.1
func (m *Graph_Node) XXX_Unmarshal(b []byte) error
type Graph_NodeEntry ¶
type Graph_NodeEntry struct { NodeId int64 `protobuf:"varint,1,opt,name=node_id,json=nodeId,proto3" json:"node_id,omitempty" yaml:"node_id,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty" yaml:"input,omitempty"` Version int64 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty" yaml:"version,omitempty"` }
func NewPopulatedGraph_NodeEntry ¶
func NewPopulatedGraph_NodeEntry(r randyMxnet, easy bool) *Graph_NodeEntry
func (*Graph_NodeEntry) Descriptor ¶
func (*Graph_NodeEntry) Descriptor() ([]byte, []int)
func (*Graph_NodeEntry) Equal ¶
func (this *Graph_NodeEntry) Equal(that interface{}) bool
func (*Graph_NodeEntry) GetIndex ¶
func (m *Graph_NodeEntry) GetIndex() int64
func (*Graph_NodeEntry) GetNodeId ¶
func (m *Graph_NodeEntry) GetNodeId() int64
func (*Graph_NodeEntry) GetVersion ¶
func (m *Graph_NodeEntry) GetVersion() int64
func (*Graph_NodeEntry) GoString ¶
func (this *Graph_NodeEntry) GoString() string
func (*Graph_NodeEntry) Marshal ¶
func (m *Graph_NodeEntry) Marshal() (dAtA []byte, err error)
func (*Graph_NodeEntry) MarshalJSON ¶
func (e *Graph_NodeEntry) MarshalJSON() ([]byte, error)
func (*Graph_NodeEntry) ProtoMessage ¶
func (*Graph_NodeEntry) ProtoMessage()
func (*Graph_NodeEntry) Reset ¶
func (m *Graph_NodeEntry) Reset()
func (*Graph_NodeEntry) Size ¶
func (m *Graph_NodeEntry) Size() (n int)
func (*Graph_NodeEntry) String ¶
func (this *Graph_NodeEntry) String() string
func (*Graph_NodeEntry) Unmarshal ¶
func (m *Graph_NodeEntry) Unmarshal(dAtA []byte) error
func (*Graph_NodeEntry) UnmarshalJSON ¶
func (e *Graph_NodeEntry) UnmarshalJSON(b []byte) error
func (*Graph_NodeEntry) VerboseEqual ¶
func (this *Graph_NodeEntry) VerboseEqual(that interface{}) error
func (*Graph_NodeEntry) XXX_DiscardUnknown ¶ added in v0.3.1
func (m *Graph_NodeEntry) XXX_DiscardUnknown()
func (*Graph_NodeEntry) XXX_Marshal ¶ added in v0.3.1
func (m *Graph_NodeEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Graph_NodeEntry) XXX_Merge ¶ added in v0.3.1
func (m *Graph_NodeEntry) XXX_Merge(src proto.Message)
func (*Graph_NodeEntry) XXX_Size ¶ added in v0.3.1
func (m *Graph_NodeEntry) XXX_Size() int
func (*Graph_NodeEntry) XXX_Unmarshal ¶ added in v0.3.1
func (m *Graph_NodeEntry) XXX_Unmarshal(b []byte) error
type ModelGraphAttributes ¶
Click to show internal directories.
Click to hide internal directories.