21.05

Base class for all async functions. More...
#include <IOperator.h>
Public Member Functions  
virtual  ~IOperator ()=default 
Destructor. More...  
virtual void  run (ITensorPack &tensors)=0 
Run the kernels contained in the function. More...  
virtual void  prepare (ITensorPack &constants)=0 
Prepare the function for executing. More...  
virtual MemoryRequirements  workspace () const =0 
Return the memory requirements required by the workspace. More...  
Base class for all async functions.
Definition at line 37 of file IOperator.h.

virtualdefault 
Destructor.

pure virtual 
Prepare the function for executing.
Any one off preprocessing step required by the function is handled here
[in]  constants  Vector that contains the constants tensors. 
Implemented in CpuDepthwiseConvolution, CpuDepthwiseConvolutionAssemblyDispatch, INEOperator, CpuScale, and ICLOperator.

pure virtual 
Run the kernels contained in the function.
[in]  tensors  Vector that contains the tensors to operate on. 
Implemented in NESynthetizeFunctionWithZeroConstantKernelBorder< K >, CpuDirectConvolution, CpuComplexMul, CpuDepthwiseConvolution, CpuPooling, CpuDepthwiseConvolutionAssemblyDispatch, CpuSoftmaxGeneric< IS_LOG >, ClDirectConvolution, CpuPoolingAssemblyDispatch, CpuMul, ClConcatenate, CpuConcatenate, ClPooling, ClScale, ClSoftmax, CpuQuantization, CLLogicalAnd, CLLogicalOr, CpuScale, ClPRelu, INEOperator, ClQuantization, CpuDequantization, ICLOperator, CpuConvertFullyConnectedWeights, ClDequantization, CpuElementwiseUnary, and CpuElementwiseBase.

pure virtual 
Return the memory requirements required by the workspace.
Implemented in CpuDepthwiseConvolutionAssemblyDispatch, CpuSoftmaxGeneric< IS_LOG >, ClSoftmax, INEOperator, and ICLOperator.