MasterJH5574 commented on a change in pull request #9041:
URL: https://github.com/apache/tvm/pull/9041#discussion_r711996916



##########
File path: include/tvm/tir/schedule/schedule.h
##########
@@ -364,6 +364,17 @@ class ScheduleNode : public runtime::Object {
    */
   virtual void ReverseComputeInline(const BlockRV& block) = 0;
   /******** Schedule: Reduction ********/
+  /*!
+   * \brief Decompose a reduction block into init block and update block, 
where the newly generated
+     init block will be before the specified loop.
+     1) The block is a reduction block.
+     2) The loop is the ancestor of the block.
+     3) The loop is not lower than all the loops related to reduce block var.

Review comment:
       ```suggestion
      * \brief Decompose a reduction block into init block and update block, 
where the newly generated
        init block will be before the specified loop. It requires that
        1) The input block is a reduction block.
        2) The input loop is an ancestor of the block.
        3) The input loop is not lower than all the loops related to reduce 
block var.
   ```




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