23.11
|
Go to the documentation of this file.
38 auto k = std::make_unique<kernels::CpuReshapeKernel>();
40 _kernel = std::move(k);
SimpleTensor< float > src
Interface for the kernel to perform tensor reshaping.
virtual void schedule_op(ICPPKernel *kernel, const Hints &hints, const Window &window, ITensorPack &tensors)=0
Runs the kernel in the same thread as the caller synchronously.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
bool empty() const
Checks if pack is empty.
#define ARM_COMPUTE_ERROR_ON_MSG(cond, msg)
static IScheduler & get()
Access the scheduler singleton.
void configure(const ITensorInfo *src, ITensorInfo *dst)
Configure operator for a given list of arguments.
Copyright (c) 2017-2023 Arm Limited.
void prepare(ITensorPack &constants) override
Prepare the function for executing.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.
Store the tensor's metadata.
#define ARM_COMPUTE_LOG_PARAMS(...)