Compute Library
 23.08
DepthwiseDepthfirstCommon< TInput, TWeight, TOutput, TAccum, OutputStage > Class Template Referenceabstract

#include <depthwise_depthfirst.hpp>

Collaboration diagram for DepthwiseDepthfirstCommon< TInput, TWeight, TOutput, TAccum, OutputStage >:
[legend]

Public Member Functions

 DepthwiseDepthfirstCommon (StratType *const strat, const DepthwiseArgs &args, const OutputStage &os)
 
 DepthwiseDepthfirstCommon (DepthwiseDepthfirstCommon &)=delete
 
DepthwiseDepthfirstCommonoperator= (DepthwiseDepthfirstCommon &)=delete
 
size_t get_storage_size (void) const override
 
void pack_parameters (void *buffer, const void *biases, const void *weights, size_t ld_weight_col, size_t ld_weight_row) override
 
- Public Member Functions inherited from DepthfirstDriver< TInput, TWeight, TOutput >
 DepthfirstDriver (IDepthfirstStrategy *strategy, const DepthwiseArgs &args)
 
size_t get_working_size (unsigned int n_threads) const override final
 
virtual bool supports_direct_padding () const
 

Detailed Description

template<typename TInput, typename TWeight, typename TOutput, typename TAccum, typename OutputStage>
class arm_conv::depthwise::DepthwiseDepthfirstCommon< TInput, TWeight, TOutput, TAccum, OutputStage >

Definition at line 156 of file depthwise_depthfirst.hpp.

Constructor & Destructor Documentation

◆ DepthwiseDepthfirstCommon() [1/2]

DepthwiseDepthfirstCommon ( StratType *const  strat,
const DepthwiseArgs &  args,
const OutputStage &  os 
)
inline

Definition at line 224 of file depthwise_depthfirst.hpp.

225  : DepthfirstDriver<TInput, TWeight, TOutput>(strat, args), m_os(os)
226  {
227  }

◆ DepthwiseDepthfirstCommon() [2/2]

DepthwiseDepthfirstCommon ( DepthwiseDepthfirstCommon< TInput, TWeight, TOutput, TAccum, OutputStage > &  )
delete

Member Function Documentation

◆ get_storage_size()

size_t get_storage_size ( void  ) const
inlineoverride

Definition at line 232 of file depthwise_depthfirst.hpp.

233  {
234  return reinterpret_cast<const StratType *>(this->m_strat.get())->
235  get_storage_size(this->m_args);
236  }

Referenced by DepthwiseDepthfirstCommon< TInput, TInput, TInput, typename DefaultTAccum< TInput >::Type, typename DefaultOutputStage< TInput >::Type >::get_storage_size().

◆ operator=()

DepthwiseDepthfirstCommon& operator= ( DepthwiseDepthfirstCommon< TInput, TWeight, TOutput, TAccum, OutputStage > &  )
delete

◆ pack_parameters()

void pack_parameters ( void *  buffer,
const void *  biases,
const void *  weights,
size_t  ld_weight_col,
size_t  ld_weight_row 
)
inlineoverride

Definition at line 238 of file depthwise_depthfirst.hpp.

239  {
240  reinterpret_cast<const StratType *>(this->m_strat.get())->
241  pack_parameters(this->m_args, buffer, biases, m_os, weights, ld_weight_col, ld_weight_row);
242  }

Referenced by DepthwiseDepthfirstGeneric< TInput, TWeight, TOutput, TAccum, OutputStage >::pack_parameters(), and DepthwiseDepthfirstCommon< TInput, TInput, TInput, typename DefaultTAccum< TInput >::Type, typename DefaultOutputStage< TInput >::Type >::pack_parameters().


The documentation for this class was generated from the following file:
GemmTuner.args
args
Definition: GemmTuner.py:679
arm_conv::depthwise::DepthwiseDepthfirstCommon::get_storage_size
size_t get_storage_size(void) const override
Definition: depthwise_depthfirst.hpp:232
arm_conv::depthwise::DepthwiseDepthfirstCommon::pack_parameters
void pack_parameters(void *buffer, const void *biases, const void *weights, size_t ld_weight_col, size_t ld_weight_row) override
Definition: depthwise_depthfirst.hpp:238