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 2018/01/26 15:20:32 UTC

[GitHub] marcoabreu commented on a change in pull request #9573: Added two functions to the C API

marcoabreu commented on a change in pull request #9573: Added two functions to the C API
URL: https://github.com/apache/incubator-mxnet/pull/9573#discussion_r164137638
 
 

 ##########
 File path: include/mxnet/c_api.h
 ##########
 @@ -201,6 +201,12 @@ MXNET_DLL const char *MXGetLastError();
  * \return 0 when success, -1 when failure happens.
  */
 MXNET_DLL int MXRandomSeed(int seed);
+/*!
+ * \brief Initialise MXNet
+ * This ensures the engine has been initialised and
+ * the operators have been registered.
+ */
+MXNET_DLL void MXInitialise();
 
 Review comment:
   In which case is it required to call this method? It sounds like this should be documented widely. 

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