We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6715234 commit 516c22cCopy full SHA for 516c22c
1 file changed
tensorlayer/layers/normalization.py
@@ -287,7 +287,7 @@ def build(self, inputs_shape):
287
def forward(self, inputs):
288
self._check_input_shape(inputs)
289
290
- self.channel_axis = len(inputs.shape)-1 if self.data_format == 'channels_last' else 1
+ self.channel_axis = len(inputs.shape) - 1 if self.data_format == 'channels_last' else 1
291
if self.axes is None:
292
self.axes = [i for i in range(len(inputs.shape)) if i != self.channel_axis]
293
0 commit comments