MCPcopy Index your code
hub / github.com/rushter/MLAlgorithms / setup

Method setup

mla/neuralnet/layers/basic.py:159–162  ·  view source on GitHub ↗
(self, X_shape)

Source from the content-addressed store, hash-verified

157 self.input_dim = None
158
159 def setup(self, X_shape):
160 self.dense = Dense(self.output_dim)
161 self.dense.setup((X_shape[0], X_shape[2]))
162 self.input_dim = X_shape[2]
163
164 def forward_pass(self, X):
165 n_timesteps = X.shape[1]

Callers

nothing calls this directly

Calls 2

DenseClass · 0.85
setupMethod · 0.45

Tested by

no test coverage detected