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

Method _init_set_name

tensorflow/contrib/eager/python/network.py:204–214  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

202 current_variable_scope=current_variable_scope)
203
204 def _init_set_name(self, name):
205 # Anonymous Networks (name=None) defer setting a final name until they are
206 # (1) added to another Network, or (2) built/called (where (2) is only used
207 # for a "top level" network).
208 #
209 # However, if we were provided an explicit name (name is not None), that
210 # will always be the final name of the Network; if it turns out not to be
211 # unique or if variable names can't be prefixed by it we will throw an
212 # error.
213 self._name = name
214 self._base_name = None
215
216 def _finalize_name(self, parent_network):
217 if not self._name:

Callers 1

_base_initMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected