MCPcopy Create free account
hub / github.com/dangf15/THLNet / _check_input_dim

Method _check_input_dim

complexnn.py:278–280  ·  view source on GitHub ↗
(self, xr, xi)

Source from the content-addressed store, hash-verified

276 self.Wii.data.fill_(1)
277
278 def _check_input_dim(self, xr, xi):
279 assert(xr.shape == xi.shape)
280 assert(xr.size(1) == self.num_features)
281
282 def forward(self, inputs):
283 #self._check_input_dim(xr, xi)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected