23.08
|
Go to the documentation of this file.
33 const ITensor *
src{
nullptr };
34 ITensor *
dst{
nullptr };
35 std::unique_ptr<cpu::CpuFloor> op{
nullptr };
39 : _impl(std::make_unique<Impl>())
53 _impl->op = std::make_unique<cpu::CpuFloor>();
54 _impl->op->configure(_impl->src->info(), _impl->dst->info());
SimpleTensor< float > src
Interface for CPU tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
NEFloor & operator=(const NEFloor &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
Basic function to run cpu::kernels::CpuFloorKernel.
void configure(const ITensor *input, ITensor *output)
Set the source, destination of the kernel.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
void run() override
Run the kernels contained in the function.
Copyright (c) 2017-2023 Arm Limited.
Store the tensor's metadata.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of NEFloor.