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

Function IsAttrs

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

Source from the content-addressed store, hash-verified

843bool IsMapping(PyObject* o) { return IsMappingHelper(o) == 1; }
844bool IsMappingView(PyObject* o) { return IsMappingViewHelper(o) == 1; }
845bool IsAttrs(PyObject* o) { return IsAttrsHelper(o) == 1; }
846bool IsTensor(PyObject* o) { return IsTensorHelper(o) == 1; }
847bool IsResourceVariable(PyObject* o) {
848 return IsResourceVariableHelper(o) == 1;

Callers

nothing calls this directly

Calls 1

IsAttrsHelperFunction · 0.85

Tested by

no test coverage detected