MCPcopy
hub / github.com/NVlabs/stylegan2-ada / _get_vars

Method _get_vars

dnnlib/tflib/network.py:295–300  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

293 return copy.copy(self._get_vars())
294
295 def _get_vars(self):
296 if self._vars is None:
297 self._vars = OrderedDict(self._get_own_vars())
298 for comp in self._get_components().values():
299 self._vars.update((comp.name + "/" + name, var) for name, var in comp._get_vars().items())
300 return self._vars
301
302 @property
303 def trainables(self):

Callers 10

_init_graphMethod · 0.95
varsMethod · 0.95
reset_varsMethod · 0.95
get_output_forMethod · 0.95
find_varMethod · 0.95
copy_own_vars_fromMethod · 0.95
copy_vars_fromMethod · 0.95
copy_trainables_fromMethod · 0.95
list_layersMethod · 0.95

Calls 2

_get_own_varsMethod · 0.95
_get_componentsMethod · 0.95

Tested by

no test coverage detected