Asuka0630 commented on code in PR #18609:
URL: https://github.com/apache/tvm/pull/18609#discussion_r2646962097


##########
python/tvm/relax/frontend/torch/exported_program_translator.py:
##########
@@ -199,7 +199,7 @@ def _batch_norm_legit_no_stats(self, node: fx.Node) -> 
relax.Var:
 
         # Determine axes for instance norm (all spatial dimensions after 
channel)
         dim = len(self.shape_of(x))
-        axes = list(range(2, dim))
+        axes = [0] + list(range(2, dim))

Review Comment:
   ok, i will do that



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to