leezu edited a comment on pull request #18690: URL: https://github.com/apache/incubator-mxnet/pull/18690#issuecomment-660317004
This isn't working yet. You can try the following slight extension of the `test_dynamic_shape.py`: ``` diff modified tests/python/unittest/test_dynamic_shape.py @@ -33,7 +33,7 @@ def test_dynamic_shape(): super(_TestBlock, self).__init__() def hybrid_forward(self, F, data, index): - return F.contrib.boolean_mask(data, index) + return F.contrib.boolean_mask(data, index).reshape((-1, )) block = _TestBlock() block.hybridize() ``` For your convenience, I add a commit to this PR to add the extra `reshape` statement. ---------------------------------------------------------------- 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: us...@infra.apache.org