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

Method eval

tensorflow/python/ops/session_ops.py:93–100  ·  view source on GitHub ↗

Return the value of the tensor represented by this handle.

(self)

Source from the content-addressed store, hash-verified

91 return self._handle
92
93 def eval(self):
94 """Return the value of the tensor represented by this handle."""
95 if not self._auto_gc_enabled:
96 raise TypeError("Persistent tensor %s may have already been deleted."
97 % self.handle)
98 holder, reader = _get_handle_reader(self._session.graph, self._handle,
99 self._dtype)
100 return self._session.run(reader, feed_dict={holder: self._handle})
101
102 def delete(self):
103 """Force the deletion of this persistent tensor."""

Callers

nothing calls this directly

Calls 2

_get_handle_readerFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected