ONE - On-device Neural Engine
|
#include <Conv2D.h>
Public Member Functions | |
Conv2D (const Tensor *input, const Tensor *filter, const Tensor *bias, Tensor *output, Tensor *scratchpad, const Conv2DParams ¶ms) | |
const Tensor * | input () const |
const Tensor * | filter () const |
const Tensor * | bias () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< Conv2DParams > | |
const Conv2DParams & | 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< Conv2DParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const Conv2DParams ¶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< Conv2DParams > | |
const Conv2DParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
luci_interpreter::kernels::Conv2D::Conv2D | ( | const Tensor * | input, |
const Tensor * | filter, | ||
const Tensor * | bias, | ||
Tensor * | output, | ||
Tensor * | scratchpad, | ||
const Conv2DParams & | params | ||
) |
Definition at line 32 of file Conv2D.cpp.
|
inline |
Definition at line 38 of file Conv2D.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and Conv2D().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 38 of file Conv2D.cpp.
References luci_interpreter::KernelWithParams< Conv2DParams >::_params, luci_interpreter::Conv2DParams::activation, bias(), luci_interpreter::kernels::computeOutputSize(), luci_interpreter::kernels::computePadding(), luci_interpreter::Conv2DParams::dilation_height_factor, luci_interpreter::Conv2DParams::dilation_width_factor, luci_interpreter::Shape::dim(), filter(), luci_interpreter::Kernel::getOutputTensors(), luci_interpreter::kernels::getTensorShape(), input(), LUCI_INTERPRETER_CHECK, luci_interpreter::Shape::num_dims(), output(), luci_interpreter::Conv2DParams::padding, luci_interpreter::KernelWithParams< Conv2DParams >::params(), luci_interpreter::Tensor::resize(), luci_interpreter::Tensor::shape(), size, luci_interpreter::Conv2DParams::stride_height, luci_interpreter::Conv2DParams::stride_width, and luci_interpreter::Tensor::zero_points().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 136 of file Conv2D.cpp.
References filter(), input(), LUCI_INTERPRETER_CHECK, and size.
|
inline |
Definition at line 37 of file Conv2D.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), Conv2D(), and execute().
|
inline |
Definition at line 36 of file Conv2D.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), Conv2D(), and execute().
|
inline |
Definition at line 39 of file Conv2D.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().