t-vi commented on a change in pull request #5941:
URL: https://github.com/apache/incubator-tvm/pull/5941#discussion_r446799560



##########
File path: src/relay/op/tensor/transform.cc
##########
@@ -1713,6 +1713,54 @@ RELAY_REGISTER_OP("collapse_sum_like")
     .set_attr<FTVMCompute>("FTVMCompute", CollapseSumLikeCompute)
     .set_attr<TOpPattern>("TOpPattern", kCommReduce);
 
+// CollapseSumTo: <A, B> -> B where CollapseSumTo(A, B) = B

Review comment:
       Oh, right. But Broadcast(A, B) = A right? Thanks for spotting this. I 
must admit that I'm not 100% sure I understand the notation.




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


Reply via email to