Compute Library
 22.08
PlanarKernelType< TInput, TWeight, TOutput, TAccum, Nothing > Struct Template Reference

#include <depthwise_planar.hpp>

Public Types

using Type = std::function< void(const TInput *, size_t ld_in_row, size_t ld_in_col, size_t ld_in_vl, unsigned int pad_top, unsigned int valid_input_rows, unsigned int pad_left, unsigned int valid_input_cols, const TWeight *, const TAccum *, TOutput **, const size_t *, const size_t *, unsigned int output_cols, unsigned int start_channels, unsigned int valid_channels, TAccum act_min, TAccum act_max)>
 

Static Public Member Functions

template<typename WorkspaceType >
static void execute (const Type fn, const TInput *inptr, size_t ld_in_row, size_t ld_in_col, size_t ld_in_vl, unsigned int pad_top, unsigned int valid_input_rows, unsigned int pad_left, unsigned int valid_input_cols, const TWeight *weights, const TAccum *bias, TOutput **outptrs, const size_t *outlds, const size_t *outvllds, unsigned int output_cols, unsigned int start_channel, unsigned int valid_channels, const Nothing &, const WorkspaceType *ws)
 

Detailed Description

template<typename TInput, typename TWeight, typename TOutput, typename TAccum>
struct arm_conv::depthwise::PlanarKernelType< TInput, TWeight, TOutput, TAccum, Nothing >

Definition at line 53 of file depthwise_planar.hpp.

Member Typedef Documentation

◆ Type

using Type = std::function<void( const TInput *, size_t ld_in_row, size_t ld_in_col, size_t ld_in_vl, unsigned int pad_top, unsigned int valid_input_rows, unsigned int pad_left, unsigned int valid_input_cols, const TWeight *, const TAccum *, TOutput **, const size_t *, const size_t *, unsigned int output_cols, unsigned int start_channels, unsigned int valid_channels, TAccum act_min, TAccum act_max )>

Definition at line 63 of file depthwise_planar.hpp.

Member Function Documentation

◆ execute()

static void execute ( const Type  fn,
const TInput *  inptr,
size_t  ld_in_row,
size_t  ld_in_col,
size_t  ld_in_vl,
unsigned int  pad_top,
unsigned int  valid_input_rows,
unsigned int  pad_left,
unsigned int  valid_input_cols,
const TWeight *  weights,
const TAccum *  bias,
TOutput **  outptrs,
const size_t *  outlds,
const size_t *  outvllds,
unsigned int  output_cols,
unsigned int  start_channel,
unsigned int  valid_channels,
const Nothing &  ,
const WorkspaceType *  ws 
)
inlinestatic

Definition at line 66 of file depthwise_planar.hpp.

76  {
77  fn(
78  inptr, ld_in_row, ld_in_col, ld_in_vl,
79  pad_top, valid_input_rows,
80  pad_left, valid_input_cols,
81  weights, bias,
82  outptrs, outlds, outvllds, output_cols,
83  start_channel, valid_channels,
84  ws->activation_min, ws->activation_max
85  );
86  }
const int32_t * bias

The documentation for this struct was generated from the following file: