From 9318f787e6d33adabc5c1b18c6663d1432f646f9 Mon Sep 17 00:00:00 2001 From: "A. Unique TensorFlower" Date: Wed, 14 Oct 2020 15:14:04 -0700 Subject: [PATCH] Fixes GitHub #43998 PiperOrigin-RevId: 337182753 Change-Id: I3e42be2bda1256577a74b351e6e13dd7dd2153d2 --- tensorflow/python/keras/layers/normalization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/keras/layers/normalization.py b/tensorflow/python/keras/layers/normalization.py index 2809cbb0108..0737fe11712 100644 --- a/tensorflow/python/keras/layers/normalization.py +++ b/tensorflow/python/keras/layers/normalization.py @@ -80,8 +80,8 @@ class BatchNormalizationBase(Layer): inference data*. Arguments: - axis: Integer, the axis that should be normalized (typically the features - axis). For instance, after a `Conv2D` layer with + axis: Integer or a list of integers, the axis that should be normalized + (typically the features axis). For instance, after a `Conv2D` layer with `data_format="channels_first"`, set `axis=1` in `BatchNormalization`. momentum: Momentum for the moving average. epsilon: Small float added to variance to avoid dividing by zero.