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/29 22:22:40 UTC

[GitHub] piiswrong commented on issue #9838: fail with parameters of size 1, tuple issue

piiswrong commented on issue #9838: fail with parameters of size 1, tuple issue
URL: https://github.com/apache/incubator-mxnet/issues/9838#issuecomment-392966866
 
 
   The cause here is (1) vs (1,). (1) is just 1, which is not a tuple.
   
   I think we should support shape=1. Basically check if shape is a integer then convert it to a tuple in Parameter.__init__
   
    @szha could you submit a fix?

----------------------------------------------------------------
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