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

Function MappingKeys

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

Work around a writable-strings warning with Python 2's PyMapping_Keys macro, and while we're at it give them consistent behavior by making sure the returned value is a list. As with PyMapping_Keys, returns a new reference. On failure, returns nullptr.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

TFE_Py_EncodeArgHelperFunction · 0.85
MappingValueIteratorMethod · 0.85
SetDifferentKeysErrorFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected