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 16:03:04 UTC

[GitHub] marcoabreu commented on issue #9573: Added two functions to the C API

marcoabreu commented on issue #9573: Added two functions to the C API
URL: https://github.com/apache/incubator-mxnet/pull/9573#issuecomment-360825661
 
 
   I can see that, thanks. But that doesn't explain why it was never required
   and has not caused any issues so far. Please explain how you encountered a
   problem and add a test to cover this case.
   
   Am 26.01.2018 8:00 vorm. schrieb "David Braude" <no...@github.com>:
   
   > *@dabraude* commented on this pull request.
   > ------------------------------
   >
   > In include/mxnet/c_api.h
   > <https://github.com/apache/incubator-mxnet/pull/9573#discussion_r164148879>
   > :
   >
   > > @@ -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();
   >
   > Under the hood it just calls the list symbols method which registers the
   > operators, but this means the purpose of the call is clearer.
   >
   > ?
   > You are receiving this because you commented.
   > Reply to this email directly, view it on GitHub
   > <https://github.com/apache/incubator-mxnet/pull/9573#discussion_r164148879>,
   > or mute the thread
   > <https://github.com/notifications/unsubscribe-auth/ARxB6zXOVDm644YcG7m1292IseZ7Fh5Dks5tOfa3gaJpZM4RuJS6>
   > .
   >
   

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