24.02
|
Go to the documentation of this file.
33 struct NETranspose::Impl
35 const ITensor *
src{
nullptr};
36 ITensor *
dst{
nullptr};
37 std::unique_ptr<cpu::CpuTranspose> op{
nullptr};
53 _impl->op = std::make_unique<cpu::CpuTranspose>();
54 _impl->op->configure(
input->info(), output->
info());
SimpleTensor< float > src
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of NETranspose.
~NETranspose()
Default Destructor.
NETranspose()
Default Constructor.
Interface for CPU tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
#define ARM_COMPUTE_RETURN_ON_ERROR(status)
Checks if a status contains an error and returns it.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
void configure(const ITensor *input, ITensor *output)
Initialise the kernel's inputs and output.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
Copyright (c) 2017-2024 Arm Limited.
#define ARM_COMPUTE_RETURN_ERROR_ON_NULLPTR(...)
void run() override
Run the kernels contained in the function.
Store the tensor's metadata.
#define ARM_COMPUTE_LOG_PARAMS(...)