24.02
|
Go to the documentation of this file.
34 struct NEQuantizationLayer::Impl
36 const ITensor *
src{
nullptr};
37 ITensor *
dst{
nullptr};
38 std::unique_ptr<cpu::CpuQuantize> op{
nullptr};
55 _impl->op = std::make_unique<cpu::CpuQuantize>();
56 _impl->op->configure(
input->info(), output->
info());
SimpleTensor< float > src
Interface for CPU tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
void run() override
Run the kernels contained in the function.
~NEQuantizationLayer()
Default Destructor.
Copyright (c) 2017-2024 Arm Limited.
void configure(const ITensor *input, ITensor *output)
Set the input and output tensors.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of NEQuantizationLayer.
Store the tensor's metadata.