slyubomirsky commented on code in PR #14394:
URL: https://github.com/apache/tvm/pull/14394#discussion_r1156213743
##########
src/relax/op/tensor/manipulate.cc:
##########
@@ -1357,7 +1370,8 @@ TVM_REGISTER_OP("relax.cumsum")
.set_attrs_type<CumsumAttrs>()
.set_num_inputs(1)
.add_argument("data", "Tensor", "The input tensor.")
- .set_attr<FInferStructInfo>("FInferStructInfo", InferStructInfoCumsum);
+ .set_attr<FInferStructInfo>("FInferStructInfo", InferStructInfoCumsum)
+ .set_attr<Bool>("FPurity", Bool(true));
Review Comment:
We should specify it explicitly. I have an assert in the well-formedness
checker that it's defined.
--
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]