electriclilies commented on a change in pull request #6720:
URL: https://github.com/apache/incubator-tvm/pull/6720#discussion_r508806075
##########
File path: src/relay/transforms/fold_constant.cc
##########
@@ -151,9 +151,12 @@ class ConstantFolder : public MixedModeMutator {
}
// We should think about potentially constant evaluation over these ops
too.
- if (call->op == invoke_tvm_op_ || call->op == shape_func_op_ || call->op
== alloc_tensor_op_ ||
- call->op == alloc_storage_op_ || call->op == device_copy_op_) {
Review comment:
These ops are already marked as TNonComputational when they are
registered
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]