morapi_DnnRoutine Struct Reference
Dnn routine.
More...
#include <morapi_softneuro.h>
Public Member Functions
morapi_DnnLayer * | morapi_DnnRoutine_getLayer (const morapi_DnnRoutine *self) |
morapi_DnnNet * | morapi_DnnRoutine_enableChildNet (morapi_DnnRoutine *self) |
const morapi_Device * | morapi_DnnRoutine_getDevice (const morapi_DnnRoutine *self) |
morapi_DType | morapi_DnnRoutine_getDType (const morapi_DnnRoutine *self) |
morapi_DnnChannel | morapi_DnnRoutine_getChannel (const morapi_DnnRoutine *self) |
morapi_DnnRoutineLevel | morapi_DnnRoutine_getLevel (const morapi_DnnRoutine *self) |
const morapi_Char * | morapi_DnnRoutine_getAux (const morapi_DnnRoutine *self) |
const morapi_Params * | morapi_DnnRoutine_getParams (const morapi_DnnRoutine *self) |
morapi_BinaryLib * | morapi_DnnRoutine_getBinaryLib (const morapi_DnnRoutine *self) |
morapi_Bool | morapi_DnnRoutine_isProfiling (const morapi_DnnRoutine *self) |
morapi_Bool | morapi_DnnRoutine_isDumping (const morapi_DnnRoutine *self) |
Related Functions
morapi_Int32 | morapi_Dnn_static_getRoutineDescNum (morapi_Env *env, const morapi_Char *i_layer_type) |
const morapi_Char ** | morapi_Dnn_static_getRoutineDescs (morapi_Env *env, const morapi_Char *i_layer_type) |
const morapi_Char * | morapi_Dnn_static_getRoutineParamsRecipe (morapi_Env *env, const morapi_Char *i_layer_type, const morapi_Char *i_routine_desc) |
Detailed Description
Dnn routine.
Member Function Documentation
morapi_DnnRoutine_getLayer()
morapi_DnnLayer * morapi_DnnRoutine_getLayer (const morapi_DnnRoutine * self)
Gets the layer.
Parameters
- self : routine object
morapi_DnnRoutine_enableChildNet()
morapi_DnnNet * morapi_DnnRoutine_enableChildNet (morapi_DnnRoutine * self)
Adds the child layer.
Parameters
- self : routine object
morapi_DnnRoutine_getDevice()
const morapi_Device * morapi_DnnRoutine_getDevice (const morapi_DnnRoutine * self)
Gets the device.
Parameters
- self : routine object
morapi_DnnRoutine_getDType()
morapi_DType morapi_DnnRoutine_getDType (const morapi_DnnRoutine * self)
Gets the data type.
Parameters
- self : routine object
morapi_DnnRoutine_getChannel()
morapi_DnnChannel morapi_DnnRoutine_getChannel (const morapi_DnnRoutine * self)
Gets the channel.
Parameters
- self : routine object
morapi_DnnRoutine_getLevel()
morapi_DnnRoutineLevel morapi_DnnRoutine_getLevel (const morapi_DnnRoutine * self)
Gets the level.
Parameters
- self : routine object
morapi_DnnRoutine_getAux()
const morapi_Char * morapi_DnnRoutine_getAux (const morapi_DnnRoutine * self)
Gets the auxiliary information.
Parameters
- self : routine object
morapi_DnnRoutine_getParams()
const morapi_Params * morapi_DnnRoutine_getParams (const morapi_DnnRoutine * self)
Gets the parameters.
Parameters
- self : routine object
morapi_DnnRoutine_getBinaryLib()
morapi_BinaryLib * morapi_DnnRoutine_getBinaryLib (const morapi_DnnRoutine * self)
Gets the binary library.
Parameters
- self : routine object
morapi_DnnRoutine_isProfiling()
morapi_Bool morapi_DnnRoutine_isProfiling (const morapi_DnnRoutine * self)
Returns whether profiling or not.
Parameters
- self : routine object
morapi_DnnRoutine_isDumping()
morapi_Bool morapi_DnnRoutine_isDumping (const morapi_DnnRoutine * self)
Returns whether dumping data or not.
Parameters
- self : routine object
Friends And Related Function Documentation
morapi_Dnn_static_getRoutineDescNum()
morapi_Int32 morapi_Dnn_static_getRoutineDescNum (morapi_Env * env,
const morapi_Char * i_layer_type)
Gets the number of installed routine descriptors for i_layer_type.
Parameters
- env : environment where the routines are installed
- i_layer_type : layer type
morapi_Dnn_static_getRoutineDescs()
const morapi_Char ** morapi_Dnn_static_getRoutineDescs (morapi_Env * env,
const morapi_Char * i_layer_type)
Gets the installed routine descriptors for i_layer_type.
Parameters
- env : environment where the routines are installed
- i_layer_type : layer type
morapi_Dnn_static_getRoutineParamsRecipe()
const morapi_Char * morapi_Dnn_static_getRoutineParamsRecipe (morapi_Env * env,
const morapi_Char * i_layer_type,
const morapi_Char * i_routine_desc)
Gets the recipe of routine parameters.
Parameters
- env : environment where the routines are installed
- i_layer_type : layer type
- i_routine_desc : routine desc