graph_go_proto

package
v2.8.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0, BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_tensorflow_core_framework_graph_proto protoreflect.FileDescriptor

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.
	//
	// Deprecated: Do not use.
	Version int32 `protobuf:"varint,3,opt,name=version,proto3" json:"version,omitempty"`
	// "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"`
	// contains filtered or unexported fields
}

Represents the graph of operations

func (*GraphDef) Descriptor deprecated

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

Deprecated: Use GraphDef.ProtoReflect.Descriptor instead.

func (*GraphDef) GetLibrary

func (*GraphDef) GetNode

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

func (*GraphDef) GetVersion deprecated

func (x *GraphDef) GetVersion() int32

Deprecated: Do not use.

func (*GraphDef) GetVersions

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

func (*GraphDef) ProtoMessage

func (*GraphDef) ProtoMessage()

func (*GraphDef) ProtoReflect

func (x *GraphDef) ProtoReflect() protoreflect.Message

func (*GraphDef) Reset

func (x *GraphDef) Reset()

func (*GraphDef) String

func (x *GraphDef) String() string

Jump to

Keyboard shortcuts

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