chinakook commented on issue #10789: Reshape of input array when the shape is 
available only at runtime is not possible 
URL: 
https://github.com/apache/incubator-mxnet/issues/10789#issuecomment-393185133
 
 
   To get the shape of symbol is very important in some condition. It can be 
done as following:
   x=mx.sym.var(‘data’, shape=(1,3,224,224))
   y=resnet50(x)
   _, yshape, _ = y.infer_shape_partial()
   
   However, It’s difficult to get shape of a tensor or to define dims of 
weights according to shape of a tensor in HybridBlock in gluon.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to