MMALIB User Guide
MMALIB_CNN_convolveBias_row_ixX_ixX_oxX.h File Reference

Introduction

Public header file for MMALIB_CNN_convolveBias_row_ixX_ixX_oxX function.

//version 0.1 - Jan 2018 : Initial Version - [Asheesh Bhardwaj] //version 0.2 - Oct 2020 : updating scale and shift - [Asheesh Bhardwaj] *

Definition in file MMALIB_CNN_convolveBias_row_ixX_ixX_oxX.h.

Go to the source code of this file.

Data Structures

struct  MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_InitArgs
 Structure containing the parameters initialization of CNN convolution computation. More...
 
struct  MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_ExecInArgs
 Structure containing the parameters for input to the execute phase of CNN convolution computation These parameters will not exist in J7AM, kept for J7ES compatibility. More...
 
struct  MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_ExecOutArgs
 Structure containing the parameters for output from the execute phase of CNN convolution computation. More...
 

Enumerations

enum  MMALIB_CNN_CONVOLVEBIAS_ROW_IXX_IXX_OXX_STATUS_NAME { MMALIB_CNN_CONVOLVEBIAS_ROW_IXX_IXX_OXX_ERR_SMALL_K = MMALIB_ERROR_MAX , MMALIB_CNN_CONVOLVEBIAS_ROW_IXX_IXX_OXX_ERR_MAX }
 Enum to define the error codes. More...
 

Functions

int32_t MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_getHandleSize (MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_InitArgs *pKerInitArgs)
 This is a query function to calculate the size of internal handle. More...
 
MMALIB_STATUS MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_init (MMALIB_kernelHandle handle, const MMALIB_bufParams2D_t *src0_addr, const MMALIB_bufParams2D_t *src1_addr, const MMALIB_bufParams2D_t *src2_addr, const MMALIB_bufParams1D_t *src3_addr, const MMALIB_bufParams3D_t *dst_addr, const MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_InitArgs *pKerInitArgs)
 This function call is required to initialize the handle. In this function most of the one time operation are performed and results are stored in handle. More...
 
MMALIB_STATUS MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_init_checkParams (MMALIB_kernelHandle handle, const MMALIB_bufParams2D_t *src0_addr, const MMALIB_bufParams2D_t *src1_addr, const MMALIB_bufParams2D_t *src2_addr, const MMALIB_bufParams1D_t *src3_addr, const MMALIB_bufParams3D_t *dst_addr, const MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_InitArgs *pKerInitArgs)
 This function call is required to initialize the handle. In this function most of the one time operation are performed and results are stored in handle. More...
 
MMALIB_STATUS MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_exec (MMALIB_kernelHandle handle, const void *src0, const void *src1, const void *src2, const void *src3, const uint8_t *src4, void *dst, const MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_ExecInArgs *pKerInArgs, MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_ExecOutArgs *pKerOutArgs)
 This function is the main compute function, and performs the convolution primitive (conv + ReLU) for CNN on the row based data arrangement. It is called multiple times. More...
 
MMALIB_STATUS MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_exec_checkParams (MMALIB_kernelHandle handle, const void *src0, const void *src1, const void *src2, const void *src3, const uint8_t *src4, void *dst, const MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_ExecInArgs *pKerInArgs)
 This function checks the parameters and should be called before kernel executuon. It can be called once. More...
 
void MMA_CNNLIB_convolveBias_ixX_ixX_oxX_perfEst (const MMALIB_bufParams2D_t *src0_addr, const MMALIB_bufParams2D_t *src1_addr, const MMALIB_bufParams3D_t *dst_addr, MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_InitArgs *pKerInitArgs, const MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_ExecInArgs *pKerInArgs, MMALIB_CNN_convolveBias_row_ixX_ixX_oxX_ExecOutArgs *pKerOutArgs, int32_t iterN, uint64_t *archCycles, uint64_t *estCycles)
 This function generates the performance of MMALIB kernels. More...