MCPcopy Create free account
hub / github.com/alibaba/nann / AssertSameStructureHelper

Function AssertSameStructureHelper

tensorflow/tensorflow/python/util/util.cc:655–838  ·  view source on GitHub ↗

Returns true iff there were no "internal" errors. In other words, errors that has nothing to do with structure checking. If an "internal" error occurred, the appropriate Python error will be set and the caller can propage it directly to the user. Both `error_msg` and `is_type_error` must be non-null. `error_msg` must be empty. Leaves `error_msg` empty if structures matched. Else, fills `error_msg

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

AssertSameStructureFunction · 0.85

Calls 13

IsNamedtupleFunction · 0.85
SameNamedtuplesFunction · 0.85
IsMappingHelperFunction · 0.85
IsCompositeTensorFunction · 0.85
IsTypeSpecFunction · 0.85
SetDifferentKeysErrorFunction · 0.85
PyObjectToStringFunction · 0.70
StrCatFunction · 0.50
getMethod · 0.45
resetMethod · 0.45
validMethod · 0.45
nextMethod · 0.45

Tested by

no test coverage detected