(self, inputs)
| 483 | self.gamma = self._get_weights("gamma", shape=params_shape, init=self.gamma_init) |
| 484 | |
| 485 | def forward(self, inputs): |
| 486 | mean, var = tf.nn.moments(inputs, self.axes, keepdims=True) |
| 487 | outputs = batch_normalization(inputs, mean, var, self.beta, self.gamma, self.epsilon, self.data_format) |
| 488 | if self.act: |
| 489 | outputs = self.act(outputs) |
| 490 | return outputs |
| 491 | |
| 492 | |
| 493 | class InstanceNorm1d(InstanceNorm): |
nothing calls this directly
no test coverage detected