We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 101119f commit d1b404dCopy full SHA for d1b404d
keras/src/layers/normalization/unit_normalization.py
@@ -14,8 +14,9 @@ class UnitNormalization(Layer):
14
15
>>> data = np.arange(6).reshape(2, 3)
16
>>> normalized_data = keras.layers.UnitNormalization()(data)
17
- >>> print(np.sum(normalized_data[0, :] ** 2)
18
- 1.0
+ >>> print(np.sum(normalized_data[0, :] ** 2))
+ 0.99999994
19
+
20
21
Args:
22
axis: Integer or list/tuple. The axis or axes to normalize across.
0 commit comments