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

Method call

model_demo/DeepCrossing/layer.py:66–74  ·  view source on GitHub ↗
(self, inputs, **kwargs)

Source from the content-addressed store, hash-verified

64 self.output_layer = MyDense(input_shape[-1], activation=None)
65
66 def call(self, inputs, **kwargs):
67 if K.ndim(inputs) != 2:
68 raise ValueError("The dim of inputs should be 2, not %d" % (K.ndim(inputs)))
69 x = inputs
70 for layer in self.dense_layer:
71 x = layer(x)
72 x = self.output_layer(x)
73 output = inputs + x
74 return sgx.e_relu(output)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected