24.02.1
|
Go to the documentation of this file.
24 #ifndef SRC_COMMON_IOPERATOR_H_
25 #define SRC_COMMON_IOPERATOR_H_
51 namespace experimental
104 std::unique_ptr<experimental::IOperator> _op{
nullptr};
128 if (op ==
nullptr || !op->is_valid())
std::vector< MemoryInfo > MemoryRequirements
virtual void run(ITensorPack &tensors)=0
Run the kernels contained in the function.
virtual void prepare(ITensorPack &constants)=0
Prepare the function for executing.
#define ARM_COMPUTE_LOG_ERROR_ACL(msg)
Base class specifying the queue interface.
void set_internal_operator(std::unique_ptr< experimental::IOperator > op)
StatusCode validate_internal_operator(const IOperator *op)
Check if an internal operator is valid.
virtual ~IOperator()=default
Destructor.
virtual MemoryRequirements workspace() const =0
Return the memory requirements required by the workspace.
arm_compute::detail::Header header
Copyright (c) 2017-2024 Arm Limited.
IContext * get_internal(AclContext ctx)
Extract internal representation of a Context.
Base class for all async functions.