24.02.1
|
Basic function to run kernels::ClFillKernel. More...
#include <ClFill.h>
Public Member Functions | |
void | configure (const CLCompileContext &compile_context, ITensorInfo *tensor, const PixelValue &constant_value, Window *window=nullptr) |
Initialise the kernel's tensor and filling value. More... | |
Public Member Functions inherited from ICLOperator | |
ICLOperator (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLOperator (const ICLOperator &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator (ICLOperator &&)=default | |
Default move constructor. More... | |
ICLOperator & | operator= (const ICLOperator &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator & | operator= (ICLOperator &&)=default |
Default move assignment operator. More... | |
void | run (ITensorPack &tensors) override |
Run the kernels contained in the function. More... | |
void | prepare (ITensorPack &constants) override |
Prepare the function for executing. More... | |
MemoryRequirements | workspace () const override |
Return the memory requirements required by the workspace. More... | |
Public Member Functions inherited from IOperator | |
virtual | ~IOperator ()=default |
Destructor. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *tensor, const PixelValue &constant_value, Window *window=nullptr) |
Static function to check if given info will lead to a valid configuration. More... | |
Basic function to run kernels::ClFillKernel.
void configure | ( | const CLCompileContext & | compile_context, |
ITensorInfo * | tensor, | ||
const PixelValue & | constant_value, | ||
Window * | window = nullptr |
||
) |
Initialise the kernel's tensor and filling value.
[in] | compile_context | The compile context to be used. |
[in,out] | tensor | Source tensor info. Supported data types: All. |
[in] | constant_value | The value used to fill the planes of the tensor |
[in] | window | Window to be used in case setting only part of a tensor. Default is nullptr. |
Definition at line 34 of file ClFill.cpp.
References ARM_COMPUTE_LOG_PARAMS, and tensor.
Referenced by CLSynthetizeOperatorInitOutputWithZeroAndWithZeroConstantBorder< K, bordersize >::configure().
|
static |
Static function to check if given info will lead to a valid configuration.
Similar to ClFill::configure()
Definition at line 45 of file ClFill.cpp.
References tensor, and ClFillKernel::validate().
Referenced by CLFill::validate().