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

Function IsVariable

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

Source from the content-addressed store, hash-verified

848 return IsResourceVariableHelper(o) == 1;
849}
850bool IsVariable(PyObject* o) { return IsVariableHelper(o) == 1; }
851bool IsIndexedSlices(PyObject* o) { return IsIndexedSlicesHelper(o) == 1; }
852
853// Work around a writable-strings warning with Python 2's PyMapping_Keys macro,

Callers

nothing calls this directly

Calls 1

IsVariableHelperFunction · 0.85

Tested by

no test coverage detected