Lunderberg opened a new pull request, #15954:
URL: https://github.com/apache/tvm/pull/15954

   Prior to this commit, the `DecomposeOpsForTraining` transform directly 
replaced `relax.nn.batch_norm` into more primitive relax operations. This 
required the decomposed form of `relax.nn.batch_norm` to be duplicated with 
`DecomposeOpsForInference`.  This commit refactors the pass to occur in two 
steps, first to apply training-specific mutations, and then to decompose.
   
   Having a clear `DecomposeOps` pass also has a clear single location for 
operator decomposition, which may be migrated into the operator definition in 
the future, similar to `FLegalize`.


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

Reply via email to