You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by gi...@git.apache.org on 2017/08/16 22:14:36 UTC

[GitHub] sergeykolychev commented on issue #7499: how to correctly have multiple inputs with Perl API?

sergeykolychev commented on issue #7499: how to correctly have multiple inputs with Perl API?
URL: https://github.com/apache/incubator-mxnet/issues/7499#issuecomment-322914652
 
 
   @adamcrussell the 'data' is a default name for the variable where we expect the data to come from into the net.
   If you use different name then you should create a module with additional parameters.
   In this case use:
   ```
   my $module = mx->mod->Module(symbol => $softmax, data_names => ['data_age']);
   ```
   If you have more than one input variable then specify them all in the data_names array.
   Also do not forget to have your iterator also return AI::MXNet::DataDesc with the correct names and shapes (the 'provide_data') call.
   
    
 
----------------------------------------------------------------
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