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

Method as_default

tensorflow/python/ops/variable_scope.py:1885–1886  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1883 self._store._store_eager_variables = True # pylint: disable=protected-access
1884
1885 def as_default(self):
1886 return with_variable_store(self._store)
1887
1888 def variables(self):
1889 return sorted(self._store._vars.values(), key=lambda x: x.name) # pylint: disable=protected-access

Callers 4

testEagerExecutionMethod · 0.95
__enter__Method · 0.45

Calls 1

with_variable_storeFunction · 0.85