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 2020/08/03 18:00:49 UTC

[GitHub] [incubator-mxnet] leezu commented on issue #18843: casting Gluon block doesn't work for export

leezu commented on issue #18843:
URL: https://github.com/apache/incubator-mxnet/issues/18843#issuecomment-668161817


   The issue is due to the symbol (and thus it's  `json` representation) not being updated after the export:
   
   ```
   % diff test-symbol.json test2-symbol.json                                                                                                                                                 ~ ip-172-31-95-96
   13c13
   <         "__dtype__": "0",
   ---
   >         "__dtype__": "1",
   16,17c16,17
   <         "__profiler_scope__": "<unk>:",
   <         "__shape__": "(0,)",
   ---
   >         "__profiler_scope__": "hybridsequential0:",
   >         "__shape__": "(3,)",
   27c27
   <         "__dtype__": "0",
   ---
   >         "__dtype__": "1",
   30,31c30,31
   <         "__profiler_scope__": "<unk>:",
   <         "__shape__": "(0,)",
   ---
   >         "__profiler_scope__": "hybridsequential0:",
   >         "__shape__": "(3,)",
   41c41
   <         "__dtype__": "0",
   ---
   >         "__dtype__": "1",
   44,45c44,45
   <         "__profiler_scope__": "<unk>:",
   <         "__shape__": "(0,)",
   ---
   >         "__profiler_scope__": "hybridsequential0:",
   >         "__shape__": "(3,)",
   55c55
   <         "__dtype__": "0",
   ---
   >         "__dtype__": "1",
   [...]
   ```


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