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/03 10:23:31 UTC

[GitHub] solalm opened a new issue #7323: Update arg arrays from trained model params with names matched in Python

solalm opened a new issue #7323: Update arg arrays from trained model params with names matched in Python
URL: https://github.com/apache/incubator-mxnet/issues/7323
 
 
   Hi, I would like to do the equivalent in Python to the below R commands, updating arg_arrays with names matched, any method in Python there?
   Many thanks!!!
   
   Trying to translate from R to Python:
   mx.exec.update.arg.arrays(testExecutor, model$arg.params, match.name=TRUE)
   
   mx.exec.update.aux.arrays(testExecutor, model$aux.params, match.name=TRUE)
   
   mx.exec.update.arg.arrays(testExecutor, list(data=mx.nd.array(t(test.x))),
                             match.name=TRUE)
   
 
----------------------------------------------------------------
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