You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by "Hzfengsy (via GitHub)" <gi...@apache.org> on 2023/07/21 14:21:51 UTC

[GitHub] [tvm] Hzfengsy commented on a diff in pull request #15362: [Relay] improve SimplifyClipAndConsecutiveCast pass

Hzfengsy commented on code in PR #15362:
URL: https://github.com/apache/tvm/pull/15362#discussion_r1270734042


##########
src/relay/transforms/simplify_expr.cc:
##########
@@ -160,7 +160,7 @@ class SimplifyConsecutiveCast : public DFPatternRewrite {
   DFPattern cast1_;
 };
 
-bool CheckDataTypeMaxMinValue(DataType dtype, double min_value, double max_value) {
+bool CheckDataTypeMaxMinValue(DataType dtype, double min_value, double max_value, int mode = 0) {

Review Comment:
   Please comment the meaning of different `mode`



-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org