MCPcopy Create free account
hub / github.com/conflow-dev/ConFlow / build

Method build

model_demo/DeepCrossing/layer.py:14–18  ·  view source on GitHub ↗
(self, input_shape)

Source from the content-addressed store, hash-verified

12 self.activation = activation
13
14 def build(self, input_shape):
15 self.w = self.add_weight(
16 name="weight", shape=(input_shape[1], self.units), trainable=True
17 )
18 super(MyDense, self).build(input_shape)
19
20 def call(self, inputs):
21 if self.activation == None:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected