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

Function IsResourceVariable

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

Source from the content-addressed store, hash-verified

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;
849}
850bool IsVariable(PyObject* o) { return IsVariableHelper(o) == 1; }
851bool IsIndexedSlices(PyObject* o) { return IsIndexedSlicesHelper(o) == 1; }
852

Callers 1

CheckResourceVariableFunction · 0.85

Calls 1

IsResourceVariableHelperFunction · 0.85

Tested by

no test coverage detected