graph_go_proto

package
v1.12.2-0...-1b6f133 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GraphDef

type GraphDef struct {
	Node []*node_def_go_proto.NodeDef `protobuf:"bytes,1,rep,name=node,proto3" json:"node,omitempty"`
	// Compatibility versions of the graph.  See core/public/version.h for version
	// history.  The GraphDef version is distinct from the TensorFlow version, and
	// each release of TensorFlow will support a range of GraphDef versions.
	Versions *versions_go_proto.VersionDef `protobuf:"bytes,4,opt,name=versions,proto3" json:"versions,omitempty"`
	// Deprecated single version field; use versions above instead.  Since all
	// GraphDef changes before "versions" was introduced were forward
	// compatible, this field is entirely ignored.
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"` // Deprecated: Do not use.
	// EXPERIMENTAL. DO NOT USE OR DEPEND ON THIS YET.
	//
	// "library" provides user-defined functions.
	//
	// Naming:
	//   * library.function.name are in a flat namespace.
	//     NOTE: We may need to change it to be hierarchical to support
	//     different orgs. E.g.,
	//     { "/google/nn", { ... }},
	//     { "/google/vision", { ... }}
	//     { "/org_foo/module_bar", { ... }}
	//     map<string, FunctionDefLib> named_lib;
	//   * If node[i].op is the name of one function in "library",
	//     node[i] is deemed as a function call. Otherwise, node[i].op
	//     must be a primitive operation supported by the runtime.
	//
	//
	// Function call semantics:
	//
	//   * The callee may start execution as soon as some of its inputs
	//     are ready. The caller may want to use Tuple() mechanism to
	//     ensure all inputs are ready in the same time.
	//
	//   * The consumer of return values may start executing as soon as
	//     the return values the consumer depends on are ready.  The
	//     consumer may want to use Tuple() mechanism to ensure the
	//     consumer does not start until all return values of the callee
	//     function are ready.
	Library              *function_go_proto.FunctionDefLibrary `protobuf:"bytes,2,opt,name=library,proto3" json:"library,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

Represents the graph of operations

func (*GraphDef) Descriptor

func (*GraphDef) Descriptor() ([]byte, []int)

func (*GraphDef) GetLibrary

func (*GraphDef) GetNode

func (m *GraphDef) GetNode() []*node_def_go_proto.NodeDef

func (*GraphDef) GetVersion deprecated

func (m *GraphDef) GetVersion() int32

Deprecated: Do not use.

func (*GraphDef) GetVersions

func (m *GraphDef) GetVersions() *versions_go_proto.VersionDef

func (*GraphDef) ProtoMessage

func (*GraphDef) ProtoMessage()

func (*GraphDef) Reset

func (m *GraphDef) Reset()

func (*GraphDef) String

func (m *GraphDef) String() string

func (*GraphDef) XXX_DiscardUnknown

func (m *GraphDef) XXX_DiscardUnknown()

func (*GraphDef) XXX_Marshal

func (m *GraphDef) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GraphDef) XXX_Merge

func (m *GraphDef) XXX_Merge(src proto.Message)

func (*GraphDef) XXX_Size

func (m *GraphDef) XXX_Size() int

func (*GraphDef) XXX_Unmarshal

func (m *GraphDef) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL