MarisaKirisame commented on a change in pull request #5039: [Relay]
GradientCell Relay Pass
URL: https://github.com/apache/incubator-tvm/pull/5039#discussion_r396169909
##########
File path: src/relay/transforms/gradient_cell.cc
##########
@@ -32,7 +32,29 @@
* in using the Raw constructor which means the tensor is instantiated in
memory.
*
* It also overloads + and * operation which can increase performance when
doing
- * operations involving zero-filled or one-filled tensors.
+ * operations involving tensors with values of only 0 or 1.
+ *
+ * Note: this pass can only be used with functions where the input/output
types are
+ * a combination of TupleTypes and TensorTypes
+ *
+ * Specify optimize 6 ops:
Review comment:
```suggestion
* This pass optimizes 6 ops:
```
----------------------------------------------------------------
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]
With regards,
Apache Git Services