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/09/28 02:37:49 UTC

[GitHub] ShoufaChen edited a comment on issue #9288: Get HybridBlock layer shape on runtime

ShoufaChen edited a comment on issue #9288: Get HybridBlock layer shape on runtime
URL: https://github.com/apache/incubator-mxnet/issues/9288#issuecomment-425302206
 
 
   @szha 
   > If you could share exactly how you depend on the shape, others and I might be able to help more.
   
   I depend on the shape as : 
   
   
   I have a `y` : `(batch , c, h*w)`,  and `x`: `(batch, c, h, w)` 
   
   `h` and `w` is not determined.  Before I use `net.hybridize()`, I can use `y.reshape(0, 0, *x.shape[2:])`, however, after the `hybridize`, the `symbol` don't have the `shape` attribute, so how to achieve the same purpose?
   
   how could I do?  thank you very much.

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