Ubospica commented on code in PR #14659:
URL: https://github.com/apache/tvm/pull/14659#discussion_r1170735544
##########
python/tvm/relax/op/nn/nn.py:
##########
@@ -659,14 +659,15 @@ def batch_norm(
beta: Expr,
moving_mean: Expr,
moving_var: Expr,
- axis: int,
+ axis: int = 1,
Review Comment:
Our difference from torch is that we may have layouts like NHWC, but torch
only accepts NCHW. Considering this maybe we can remove the default value 1.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]