(self, inputs)
| 263 | return params_shape |
| 264 | |
| 265 | def _check_input_shape(self, inputs): |
| 266 | inputs_shape = _compute_shape(inputs) |
| 267 | if len(inputs_shape) <= 1: |
| 268 | raise ValueError('expected input at least 2D, but got {}D input'.format(inputs.ndim)) |
| 269 | |
| 270 | def build(self, inputs_shape): |
| 271 | params_shape = [self.num_features] if self.num_features is not None else self._get_param_shape(inputs_shape) |
no test coverage detected