reminisce commented on a change in pull request #9306: Sequence Operator 
Improvements
URL: https://github.com/apache/incubator-mxnet/pull/9306#discussion_r160509589
 
 

 ##########
 File path: src/operator/sequence_reverse-inl.h
 ##########
 @@ -221,6 +224,10 @@ class SequenceReverseProp : public OperatorProperty {
     CHECK_EQ(in_shape->size(), param_.use_sequence_length ? 2U : 1U)
         << "Input:[data, sequence_length]";
 
+    if ((param_.axis != 0)) {
 
 Review comment:
   Use CHECK_EQ to simplify the code.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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

Reply via email to