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

Function IsInstanceOfRegisteredType

tensorflow/tensorflow/python/util/util.cc:198–211  ·  view source on GitHub ↗

Returns 1 if 'obj' is an instance of 'type_name' Returns 0 otherwise. Returns -1 if an error occurred (e.g., if 'type_name' is not registered.)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

IsMappingHelperFunction · 0.85
IsMappingViewHelperFunction · 0.85
IsIndexedSlicesHelperFunction · 0.85
IsTensorHelperFunction · 0.85
IsResourceVariableHelperFunction · 0.85
IsVariableHelperFunction · 0.85
IsSequenceHelperFunction · 0.85
IsCompositeTensorHelperFunction · 0.85
IsTypeSpecHelperFunction · 0.85
IsNamedtupleFunction · 0.85

Calls 3

GetRegisteredTypeFunction · 0.85
c_strMethod · 0.80
StrCatFunction · 0.50

Tested by

no test coverage detected