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

Method UpdateErr

tensorflow/go/op/scope.go:165–169  ·  view source on GitHub ↗

UpdateErr is used to notify Scope of any graph construction errors while creating the operation op.

(op string, err error)

Source from the content-addressed store, hash-verified

163// UpdateErr is used to notify Scope of any graph construction errors
164// while creating the operation op.
165func (s *Scope) UpdateErr(op string, err error) {
166 if s.err.err == nil {
167 s.err.err = fmt.Errorf("failed to add operation %q: %v (Stacktrace: %s)", op, err, debug.Stack())
168 }
169}
170
171func (s *Scope) uniqueName(name string) string {
172 count := s.namemap[name]

Callers 15

AddOperationMethod · 0.95
SplitFunction · 0.80
ConcatOffsetFunction · 0.80
OrderedMapUnstageNoKeyFunction · 0.80
OrderedMapUnstageFunction · 0.80
OrderedMapPeekFunction · 0.80
MapUnstageFunction · 0.80
MapPeekFunction · 0.80
UnstageFunction · 0.80
QueueDequeueUpToV2Function · 0.80
QueueDequeueManyV2Function · 0.80

Calls 1

StackMethod · 0.80

Tested by

no test coverage detected