mxnet-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-mxnet] lilongyue commented on issue #17944: How to split symbol?
Date Tue, 31 Mar 2020 09:26:55 GMT
lilongyue commented on issue #17944: How to split symbol?
URL: https://github.com/apache/incubator-mxnet/issues/17944#issuecomment-606506860
 
 
   you can use 'split_v2' function to solve this ! below is a ndarray version to your case.
   symbolic operator should be the same 
   
   ##########################
   import mxnet.ndarray as nd
   
   input=nd.random.uniform(shape=[64,4,224,224])
   
   output=input.split_v2((3,4),1)
   
   print(input.shape)
   print('------')
   print(output[0].shape)
   print(output[1].shape)

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


With regards,
Apache Git Services

Mime
View raw message