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

Method __init__

tensorflow/python/client/session.py:373–381  ·  view source on GitHub ↗

Creates a _ListFetchMapper. Args: fetches: List, tuple, or namedtuple of fetches.

(self, fetches)

Source from the content-addressed store, hash-verified

371 """Fetch mapper for lists, tuples, and namedtuples."""
372
373 def __init__(self, fetches):
374 """Creates a _ListFetchMapper.
375
376 Args:
377 fetches: List, tuple, or namedtuple of fetches.
378 """
379 self._fetch_type = type(fetches)
380 self._mappers = [_FetchMapper.for_fetch(fetch) for fetch in fetches]
381 self._unique_fetches, self._value_indices = _uniquify_fetches(self._mappers)
382
383 def unique_fetches(self):
384 return self._unique_fetches

Callers

nothing calls this directly

Calls 3

typeFunction · 0.85
_uniquify_fetchesFunction · 0.85
for_fetchMethod · 0.80

Tested by

no test coverage detected