Update normalization.py

This commit is contained in:
__mo_san__ 2023-12-22 20:57:32 +01:00 committed by m0saan
parent a43b853194
commit b444a6a693

View File

@ -208,7 +208,7 @@ class BatchNorm(Module):
>>> mx.random.seed(42)
>>> input = mx.random.normal((5, 4), dtype=mx.float32)
>>> # Batch norm
>>> bn = nn.BatchNorm1d(num_features=4, affine=True)
>>> bn = nn.BatchNorm(num_features=4, affine=True)
>>> output = bn(x)
"""