|
ONE - On-device Neural Engine
|
#include <L2Pool2D.h>

Public Member Functions | |
| L2Pool2D (const Tensor *input, Tensor *output, const Pool2DParams ¶ms) | |
| const Tensor * | input () const |
| Tensor * | output () const |
| void | configure () override |
| void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< Pool2DParams > | |
| const Pool2DParams & | params () const |
Public Member Functions inherited from luci_interpreter::Kernel | |
| virtual | ~Kernel ()=default |
| const std::vector< const Tensor * > & | getInputTensors () const |
| const std::vector< Tensor * > & | getOutputTensors () const |
Additional Inherited Members | |
Protected Member Functions inherited from luci_interpreter::KernelWithParams< Pool2DParams > | |
| KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const Pool2DParams ¶ms) | |
Protected Member Functions inherited from luci_interpreter::Kernel | |
| Kernel (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs) | |
Protected Attributes inherited from luci_interpreter::KernelWithParams< Pool2DParams > | |
| const Pool2DParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
| const std::vector< const Tensor * > | _inputs |
| const std::vector< Tensor * > | _outputs |
Definition at line 30 of file L2Pool2D.h.
| luci_interpreter::kernels::L2Pool2D::L2Pool2D | ( | const Tensor * | input, |
| Tensor * | output, | ||
| const Pool2DParams & | params | ||
| ) |
Definition at line 32 of file L2Pool2D.cpp.
References input().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 37 of file L2Pool2D.cpp.
References luci_interpreter::kernels::computeOutputSize(), luci_interpreter::kernels::computePadding(), luci_interpreter::Shape::dim(), input(), LUCI_INTERPRETER_CHECK, luci::must_cast(), output(), luci_interpreter::Pool2DParams::padding, luci_interpreter::KernelWithParams< Pool2DParams >::params(), luci_interpreter::Tensor::resize(), and luci_interpreter::Tensor::shape().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 62 of file L2Pool2D.cpp.
References luci_interpreter::kernels::calculateActivationRange(), luci_interpreter::Pool2DParams::filter_height, luci_interpreter::Pool2DParams::filter_width, luci_interpreter::kernels::getTensorShape(), input(), luci::must_cast(), output(), luci_interpreter::KernelWithParams< Pool2DParams >::params(), luci_interpreter::Pool2DParams::stride_height, and luci_interpreter::Pool2DParams::stride_width.
Definition at line 35 of file L2Pool2D.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and L2Pool2D().
|
inline |
Definition at line 36 of file L2Pool2D.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().