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

Method __init__

tensorflow/python/training/saver_test.py:2906–2909  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2904class NonLayerTrackable(trackable_tracking.AutoTrackable):
2905
2906 def __init__(self):
2907 super(NonLayerTrackable, self).__init__()
2908 self.a_variable = trackable_utils.add_variable(
2909 self, name="a_variable", shape=[])
2910
2911
2912class MyModel(training.Model):

Callers

nothing calls this directly

Calls 2

__init__Method · 0.45
add_variableMethod · 0.45

Tested by

no test coverage detected