You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/05/22 23:28:05 UTC
[GitHub] szha commented on issue #10990: Gluon hybridize fails to detect an
input
szha commented on issue #10990: Gluon hybridize fails to detect an input
URL: https://github.com/apache/incubator-mxnet/issues/10990#issuecomment-391172778
The problem is in the following line:
https://gist.github.com/altosaar/6c29d8ac505ae1cea03ca65f193e7832#file-gluon-hybridize-error-py-L17
`split_item_emb = F.split(item_emb, axis=0, num_outputs=len(set_sizes))`
`__len__` behaves differently between symbol and ndarray.
In general, `hybrid_forward` doesn't support having shape-specific logic.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services