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

Method variables

tensorflow/python/keras/engine/base_layer.py:1727–1735  ·  view source on GitHub ↗

Returns the list of all layer variables/weights. Alias of `self.weights`. Returns: A list of variables.

(self)

Source from the content-addressed store, hash-verified

1725
1726 @property
1727 def variables(self):
1728 """Returns the list of all layer variables/weights.
1729
1730 Alias of `self.weights`.
1731
1732 Returns:
1733 A list of variables.
1734 """
1735 return self.weights
1736
1737 @property
1738 def trainable_variables(self):

Callers 2

_get_variablesFunction · 0.45

Calls

no outgoing calls

Tested by 1