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

Function NewScopeWithGraph

tensorflow/go/op/scope.go:55–57  ·  view source on GitHub ↗

NewScopeWithGraph creates a Scope initialized with the Graph thats passed in

(g *tf.Graph)

Source from the content-addressed store, hash-verified

53
54// NewScopeWithGraph creates a Scope initialized with the Graph thats passed in
55func NewScopeWithGraph(g *tf.Graph) *Scope {
56 return &Scope{graph: g, namemap: make(map[string]int), err: new(scopeErr)}
57}
58
59// Finalize returns the Graph on which this scope operates on and renders s
60// unusable. If there was an error during graph construction, that error is

Callers 1

TestScopeWithGraphFunction · 0.85

Calls 1

makeFunction · 0.85

Tested by 1

TestScopeWithGraphFunction · 0.68