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

Method variables

tensorflow/python/module/module_test.py:556–564  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

554
555 @property
556 def variables(self):
557 def key_function(name):
558 indexes = {"_trainable_variables": 0, "_non_trainable_variables": 1}
559 return indexes.get(name, 2), name
560
561 return list(
562 self._flatten(
563 predicate=module._is_variable,
564 attribute_traversal_key=key_function))
565
566
567class MemberType(object):

Callers

nothing calls this directly

Calls 1

_flattenMethod · 0.45

Tested by

no test coverage detected