ONE - On-device Neural Engine
|
#include <StridedSlice.h>
Public Member Functions | |
StridedSlice (const Tensor *input, const Tensor *begin, const Tensor *end, const Tensor *strides, Tensor *output, const StridedSliceParams ¶ms) | |
const Tensor * | input () const |
const Tensor * | begin () const |
const Tensor * | end () const |
const Tensor * | strides () const |
Tensor * | output () const |
void | configure () override |
void | execute () const override |
Public Member Functions inherited from luci_interpreter::KernelWithParams< StridedSliceParams > | |
const StridedSliceParams & | 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< StridedSliceParams > | |
KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const StridedSliceParams ¶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< StridedSliceParams > | |
const StridedSliceParams | _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 StridedSlice.h.
luci_interpreter::kernels::StridedSlice::StridedSlice | ( | const Tensor * | input, |
const Tensor * | begin, | ||
const Tensor * | end, | ||
const Tensor * | strides, | ||
Tensor * | output, | ||
const StridedSliceParams & | params | ||
) |
Definition at line 32 of file StridedSlice.cpp.
|
inline |
Definition at line 35 of file StridedSlice.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and StridedSlice().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 38 of file StridedSlice.cpp.
References begin(), luci_interpreter::StridedSliceParams::begin_mask, end(), luci_interpreter::StridedSliceParams::end_mask, luci_interpreter::kernels::getTensorShape(), input(), luci_interpreter::Shape::num_dims(), output(), output_shape, luci_interpreter::KernelWithParams< StridedSliceParams >::params(), luci_interpreter::Tensor::resize(), luci_interpreter::Tensor::shape(), luci_interpreter::StridedSliceParams::shrink_axis_mask, and strides().
|
inline |
Definition at line 36 of file StridedSlice.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and StridedSlice().
|
overridevirtual |
Implements luci_interpreter::Kernel.
Definition at line 108 of file StridedSlice.cpp.
References begin(), luci_interpreter::StridedSliceParams::begin_mask, end(), luci_interpreter::StridedSliceParams::end_mask, luci_interpreter::kernels::getTensorShape(), input(), luci_interpreter::Shape::num_dims(), output(), luci_interpreter::KernelWithParams< StridedSliceParams >::params(), luci_interpreter::Tensor::shape(), luci_interpreter::StridedSliceParams::shrink_axis_mask, and strides().
|
inline |
Definition at line 34 of file StridedSlice.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and StridedSlice().
|
inline |
Definition at line 38 of file StridedSlice.h.
References luci_interpreter::Kernel::_outputs.
Referenced by configure(), and execute().
|
inline |
Definition at line 37 of file StridedSlice.h.
References luci_interpreter::Kernel::_inputs.
Referenced by configure(), execute(), and StridedSlice().