Skip to content

morapi_DnnSchemaPlan Struct Reference

dnn » prof

Dnn schema plan.
More...

#include <morapi_softneuro.h>

Public Member Functions

const morapi_Char morapi_DnnSchemaPlan_getName (const morapi_DnnSchemaPlan *self)
morapi_Int32  morapi_DnnSchemaPlan_getRoutinePlanNum (const morapi_DnnSchemaPlan *self)
morapi_DnnRoutinePlan morapi_DnnSchemaPlan_getRoutinePlan (const morapi_DnnSchemaPlan *self, morapi_Int32 i_index)
morapi_DnnRoutinePlan morapi_DnnSchemaPlan_getOptimalRoutinePlan (const morapi_DnnSchemaPlan *self)
morapi_Real  morapi_DnnSchemaPlan_getUsec (const morapi_DnnSchemaPlan *self)
morapi_Bool  morapi_DnnSchemaPlan_isOptimal (const morapi_DnnSchemaPlan *self)
morapi_Bool  morapi_DnnSchemaPlan_hasAdapt (const morapi_DnnSchemaPlan *self)
morapi_Int32  morapi_DnnSchemaPlan_getAdaptNum (const morapi_DnnSchemaPlan *self)
morapi_DnnRoutinePlan morapi_DnnSchemaPlan_getAdapt (const morapi_DnnSchemaPlan *self, morapi_Int32 i_index)
morapi_Real  morapi_DnnSchemaPlan_getAdaptUsec (const morapi_DnnSchemaPlan *self)


Detailed Description

Dnn schema plan.

Plan for dnn routine schema.


Member Function Documentation


morapi_DnnSchemaPlan_getName()

const morapi_Char * morapi_DnnSchemaPlan_getName (const morapi_DnnSchemaPlan * self)

Gets the routine schema name.


morapi_DnnSchemaPlan_getRoutinePlanNum()

morapi_Int32 morapi_DnnSchemaPlan_getRoutinePlanNum (const morapi_DnnSchemaPlan * self)

Gets the number of routine plans.


morapi_DnnSchemaPlan_getRoutinePlan()

morapi_DnnRoutinePlan * morapi_DnnSchemaPlan_getRoutinePlan (const morapi_DnnSchemaPlan * self,
                                                             morapi_Int32 i_index)

Gets the i_index-th routine plan.


morapi_DnnSchemaPlan_getOptimalRoutinePlan()

morapi_DnnRoutinePlan * morapi_DnnSchemaPlan_getOptimalRoutinePlan (const morapi_DnnSchemaPlan * self)

Gets the optimal routine plan.


morapi_DnnSchemaPlan_getUsec()

morapi_Real morapi_DnnSchemaPlan_getUsec (const morapi_DnnSchemaPlan * self)

Gets the forward time (usec).


morapi_DnnSchemaPlan_isOptimal()

morapi_Bool morapi_DnnSchemaPlan_isOptimal (const morapi_DnnSchemaPlan * self)

Returns whether self is optimal or not.


morapi_DnnSchemaPlan_hasAdapt()

morapi_Bool morapi_DnnSchemaPlan_hasAdapt (const morapi_DnnSchemaPlan * self)

Returns whether self has an adapt routine plan or not.


morapi_DnnSchemaPlan_getAdaptNum()

morapi_Int32 morapi_DnnSchemaPlan_getAdaptNum (const morapi_DnnSchemaPlan * self)

Gets the number of adapt routine plans.


morapi_DnnSchemaPlan_getAdapt()

morapi_DnnRoutinePlan * morapi_DnnSchemaPlan_getAdapt (const morapi_DnnSchemaPlan * self,
                                                       morapi_Int32 i_index)

Gets the i_index-th adapt routine plans.


morapi_DnnSchemaPlan_getAdaptUsec()

morapi_Real morapi_DnnSchemaPlan_getAdaptUsec (const morapi_DnnSchemaPlan * self)

Gets the adapt time (usec).