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

Method Err

tensorflow/go/op/scope.go:159–161  ·  view source on GitHub ↗

Err returns the error, if any, encountered during the construction of the Graph managed by s. Once Err returns a non-nil error, all future calls will do the same, indicating that the scope should be discarded as the graph could not be constructed.

()

Source from the content-addressed store, hash-verified

157// indicating that the scope should be discarded as the graph could not
158// be constructed.
159func (s *Scope) Err() error {
160 return s.err.err
161}
162
163// UpdateErr is used to notify Scope of any graph construction errors
164// while creating the operation op.

Callers 15

TestAddOperationFailureFunction · 0.95
FinalizeMethod · 0.95
AddOperationMethod · 0.95
ExampleFunction · 0.95
FingerprintFunction · 0.45
FakeQuantWithMinMaxVarsFunction · 0.45
LowerBoundFunction · 0.45
QuantizedConcatFunction · 0.45
QuantizeV2Function · 0.45
QuantizeAndDequantizeV3Function · 0.45

Calls

no outgoing calls

Tested by 13

TestAddOperationFailureFunction · 0.76
ExampleFunction · 0.76
TestAddGradientsFunction · 0.36
TestAddGradientsSumsFunction · 0.36
TestScopeSubScopeFunction · 0.36
TestScopeSubScopeErrorsFunction · 0.36
TestScopeFinalizeFunction · 0.36
TestScopeWithGraphFunction · 0.36