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

Method trainable_variables

tensorflow/python/ops/template.py:692–697  ·  view source on GitHub ↗

Returns the list of trainable variables created by the Template.

(self)

Source from the content-addressed store, hash-verified

690
691 @property
692 def trainable_variables(self):
693 """Returns the list of trainable variables created by the Template."""
694 # Currently there is no local variable in Eager mode.
695 if not self._variables_created:
696 return []
697 return self._template_store.trainable_variables()
698
699 @property
700 def non_trainable_variables(self):

Callers

nothing calls this directly

Calls 1

trainable_variablesMethod · 0.45

Tested by

no test coverage detected