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

Method __init__

tensorflow/python/client/session.py:404–415  ·  view source on GitHub ↗

Creates a _DictFetchMapper. Args: fetches: Dict of fetches.

(self, fetches)

Source from the content-addressed store, hash-verified

402 """Fetch mapper for dicts."""
403
404 def __init__(self, fetches):
405 """Creates a _DictFetchMapper.
406
407 Args:
408 fetches: Dict of fetches.
409 """
410 self._fetch_type = type(fetches)
411 self._keys = fetches.keys()
412 self._mappers = [
413 _FetchMapper.for_fetch(fetch) for fetch in fetches.values()
414 ]
415 self._unique_fetches, self._value_indices = _uniquify_fetches(self._mappers)
416
417 def unique_fetches(self):
418 return self._unique_fetches

Callers

nothing calls this directly

Calls 5

typeFunction · 0.85
_uniquify_fetchesFunction · 0.85
for_fetchMethod · 0.80
keysMethod · 0.45
valuesMethod · 0.45

Tested by

no test coverage detected