MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Import

Method Import

tensorflow/go/graph.go:147–149  ·  view source on GitHub ↗

Import imports the nodes and edges from a serialized representation of another Graph into g. Names of imported nodes will be prefixed with prefix.

(def []byte, prefix string)

Source from the content-addressed store, hash-verified

145//
146// Names of imported nodes will be prefixed with prefix.
147func (g *Graph) Import(def []byte, prefix string) error {
148 return g.ImportWithOptions(def, GraphImportOptions{Prefix: prefix})
149}
150
151// Operation returns the Operation named name in the Graph, or nil if no such
152// operation is present.

Callers 4

ExampleFunction · 0.95
MainImplFunction · 0.45
visit_ImportMethod · 0.45

Calls 1

ImportWithOptionsMethod · 0.95

Tested by 2

ExampleFunction · 0.76