aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/variable_scope.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/variable_scope.py')
-rw-r--r--tensorflow/python/ops/variable_scope.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/tensorflow/python/ops/variable_scope.py b/tensorflow/python/ops/variable_scope.py
index 9a0ff75594..92fa928eed 100644
--- a/tensorflow/python/ops/variable_scope.py
+++ b/tensorflow/python/ops/variable_scope.py
@@ -1227,11 +1227,6 @@ class EagerVariableStore(object):
def variables(self):
return self._store._vars.values() # pylint: disable=protected-access
- def trainable_variables(self):
- # pylint: disable=protected-access
- return [x for x in self._store._vars.values() if x._trainable]
- # pylint: enable=protected-access
-
def get_variable(name,
shape=None,