ONE - On-device Neural Engine
|
#include <DepthwiseConv2D.h>
Public Member Functions | |
DepthwiseConv2D (const Tensor *input, const Tensor *filter, const Tensor *bias, Tensor *output, Tensor *scratchpad, const DepthwiseConv2DParams ¶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< DepthwiseConv2DParams > | |
const DepthwiseConv2DParams & | 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< DepthwiseConv2DParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const DepthwiseConv2DParams ¶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< DepthwiseConv2DParams > | |
const DepthwiseConv2DParams | _params |
Protected Attributes inherited from luci_interpreter::Kernel | |
const std::vector< const Tensor * > | _inputs |
const std::vector< Tensor * > | _outputs |
Definition at line 28 of file DepthwiseConv2D.h.
luci_interpreter::kernels::DepthwiseConv2D::DepthwiseConv2D | ( | const Tensor * | input, |
const Tensor * | filter, | ||
const Tensor * | bias, | ||
Tensor * | output, | ||
Tensor * | scratchpad, | ||
const DepthwiseConv2DParams & | params | ||
) |
Definition at line 30 of file DepthwiseConv2D.cpp.
|
inline |
Definition at line 36 of file DepthwiseConv2D.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), and DepthwiseConv2D().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 37 of file DepthwiseConv2D.cpp.
References luci_interpreter::KernelWithParams< DepthwiseConv2DParams >::_params, bias(), luci_interpreter::kernels::computeOutputSize(), luci_interpreter::kernels::computePadding(), luci_interpreter::DepthwiseConv2DParams::dilation_height_factor, luci_interpreter::DepthwiseConv2DParams::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::DepthwiseConv2DParams::padding, luci_interpreter::KernelWithParams< DepthwiseConv2DParams >::params(), luci_interpreter::Tensor::resize(), luci_interpreter::Tensor::shape(), size, luci_interpreter::DepthwiseConv2DParams::stride_height, luci_interpreter::DepthwiseConv2DParams::stride_width, and luci_interpreter::Tensor::zero_points().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 123 of file DepthwiseConv2D.cpp.
References filter(), input(), LUCI_INTERPRETER_CHECK, and size.
|
inline |
Definition at line 35 of file DepthwiseConv2D.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), DepthwiseConv2D(), and execute().
|
inline |
Definition at line 34 of file DepthwiseConv2D.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), DepthwiseConv2D(), and execute().
|
inline |
Definition at line 37 of file DepthwiseConv2D.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure().