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

Method __exit__

tensorflow/python/ops/variable_scope.py:3177–3189  ·  view source on GitHub ↗
(self, type_arg, value_arg, traceback_arg)

Source from the content-addressed store, hash-verified

3175 return entered_pure_variable_scope
3176
3177 def __exit__(self, type_arg, value_arg, traceback_arg):
3178 try:
3179 self._cached_pure_variable_scope.__exit__(type_arg, value_arg,
3180 traceback_arg)
3181 finally:
3182 try:
3183 if self._current_name_scope:
3184 self._current_name_scope.__exit__(type_arg, value_arg,
3185 traceback_arg)
3186 finally:
3187 if self._in_graph_mode and not self._building_function:
3188 self._graph_context_manager.__exit__(type_arg, value_arg,
3189 traceback_arg)
3190
3191
3192# pylint: disable=g-doc-return-or-yield

Callers 2

__enter__Method · 0.45
_enter_scope_uncachedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected