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

Function PythonTypesMap

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

Source from the content-addressed store, hash-verified

30namespace swig {
31
32std::unordered_map<string, PyObject*>* PythonTypesMap() {
33 static auto* m = new std::unordered_map<string, PyObject*>();
34 return m;
35}
36
37PyObject* GetRegisteredType(const string& key) {
38 auto* m = PythonTypesMap();

Callers 2

GetRegisteredTypeFunction · 0.85
RegisterTypeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected