MCPcopy Create free account
hub / github.com/tensorflow/lingvo / _run_with_valid_session

Method _run_with_valid_session

lingvo/core/predictor.py:264–274  ·  view source on GitHub ↗

Ensures `fn` is called while self._sess is a valid session.

(self, fn, *args, **kwargs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

RunMethod · 0.95

Calls 1

Tested by

no test coverage detected