You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2022/12/14 08:56:36 UTC

[GitHub] [tvm] jacquesguan commented on a diff in pull request #13587: [Frontend] [ONNX] Support sequence_lens of GRU

jacquesguan commented on code in PR #13587:
URL: https://github.com/apache/tvm/pull/13587#discussion_r1048177604


##########
python/tvm/relay/frontend/common.py:
##########
@@ -737,6 +737,7 @@ def gru_cell(
     n_act=_op.tanh,
     backwards=False,
     linear_before_reset=True,

Review Comment:
   Done.



##########
tests/python/frontend/onnx/test_forward.py:
##########
@@ -4211,6 +4218,22 @@ def verify_rnn_helper(target, dev, rnn_type):
         #     dev=dev,
         # )
 
+        # Testing with initial state
+        if rnn_type == "GRU":
+            verify_rnn(
+                seq_length=2,

Review Comment:
   Done.



-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org