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

Method __init__

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

Source from the content-addressed store, hash-verified

541class LayerModule(module.Module):
542
543 def __init__(self):
544 super(LayerModule, self).__init__()
545 self._trainable_variables = [
546 variables.Variable(1., name="a"),
547 variables.Variable(2., name="b"),
548 ]
549 self._non_trainable_variables = [
550 variables.Variable(3., name="c"),
551 variables.Variable(4., name="d"),
552 ]
553 self._bonus = variables.Variable(5., name="e")
554
555 @property
556 def variables(self):

Callers

nothing calls this directly

Calls 2

VariableMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected