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

Method build_results

tensorflow/python/client/session.py:238–250  ·  view source on GitHub ↗

Build results that match the original shape of the fetch. Args: values: List of values returned by run(). The values correspond exactly to the list tensors or ops returned by unique_fetches(). Returns: A struct of the same shape as the original fetch object handled by

(self, values)

Source from the content-addressed store, hash-verified

236 raise NotImplementedError('Must be implemented by subclasses')
237
238 def build_results(self, values):
239 """Build results that match the original shape of the fetch.
240
241 Args:
242 values: List of values returned by run(). The values correspond exactly to
243 the list tensors or ops returned by unique_fetches().
244
245 Returns:
246 A struct of the same shape as the original fetch object handled by
247 this fetch mapper. In the returned struct, the original fetches are
248 replaced by their fetched values.
249 """
250 raise NotImplementedError('Must be implemented by subclasses')
251
252 @staticmethod
253 def for_fetch(fetch):

Callers 7

build_resultsMethod · 0.45
build_resultsMethod · 0.45
build_resultsMethod · 0.45
build_resultsMethod · 0.45
_runMethod · 0.45
_fetch_handler_runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected