SHL 2.2.x
Loading...
Searching...
No Matches
OP parameters

Functions

void * csinn_alloc_params (int params_size, struct csinn_session *session)
 Allocate a basic structure common to all operators. More...
 
void csinn_free_params (void *params)
 Release a structure described by an operator parameter. More...
 

Detailed Description

Function Documentation

◆ csinn_alloc_params()

void * csinn_alloc_params ( int  params_size,
struct csinn_session session 
)

Allocate a basic structure common to all operators.

Parameters
[in]params_sizeStructure size
[in]sessionThe session to be obtained
Returns
Point to the allocated base structure

◆ csinn_free_params()

void csinn_free_params ( void *  params)

Release a structure described by an operator parameter.

Parameters
[in]paramsPoint to the operator parameter description structure to be released