mxnet
Macros | Typedefs | Functions
lib_api.h File Reference

APIs to interact with libraries. More...

Go to the source code of this file.

Macros

#define MXLIB_INITIALIZE_STR   "initialize"
 Following are the APIs implemented in the external library Each API has a #define string that is used to lookup the function in the library Followed by the function declaration. More...
 

Typedefs

typedef int(* initialize_t) (int)
 

Functions

int initialize (int)
 Checks if the MXNet version is supported by the library. If supported, initializes the library. More...
 

Detailed Description

APIs to interact with libraries.

Copyright (c) 2015 by Contributors

Macro Definition Documentation

#define MXLIB_INITIALIZE_STR   "initialize"

Following are the APIs implemented in the external library Each API has a #define string that is used to lookup the function in the library Followed by the function declaration.

Typedef Documentation

typedef int(* initialize_t) (int)

Function Documentation

int initialize ( int  )

Checks if the MXNet version is supported by the library. If supported, initializes the library.

Parameters
versionMXNet version number passed to library and defined as: MXNET_VERSION = (MXNET_MAJOR*10000 + MXNET_MINOR*100 + MXNET_PATCH)
Returns
Non-zero value on error i.e. library incompatible with passed MXNet version