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

Method __init__

tensorflow/contrib/eager/python/network_test.py:40–42  ·  view source on GitHub ↗
(self, name=None)

Source from the content-addressed store, hash-verified

38class MyNetwork(network.Network):
39
40 def __init__(self, name=None):
41 super(MyNetwork, self).__init__(name=name)
42 self.l1 = self.track_layer(core.Dense(1, use_bias=False))
43
44 def call(self, x):
45 return self.l1(x)

Callers 15

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls 1

track_layerMethod · 0.80

Tested by

no test coverage detected