ONE - On-device Neural Engine
Loading...
Searching...
No Matches
luci_interpreter::KernelWithParams< Params > Class Template Reference

#include <Kernel.h>

Collaboration diagram for luci_interpreter::KernelWithParams< Params >:

Public Member Functions

const Params & 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
 
virtual void configure ()=0
 
virtual void execute () const =0
 

Protected Member Functions

 KernelWithParams (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs, const Params &params)
 
- Protected Member Functions inherited from luci_interpreter::Kernel
 Kernel (std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs)
 

Protected Attributes

const Params _params
 
- Protected Attributes inherited from luci_interpreter::Kernel
const std::vector< const Tensor * > _inputs
 
const std::vector< Tensor * > _outputs
 

Detailed Description

template<typename Params>
class luci_interpreter::KernelWithParams< Params >

Definition at line 57 of file Kernel.h.

Constructor & Destructor Documentation

◆ KernelWithParams()

template<typename Params >
luci_interpreter::KernelWithParams< Params >::KernelWithParams ( std::vector< const Tensor * >  inputs,
std::vector< Tensor * >  outputs,
const Params &  params 
)
inlineprotected

Definition at line 60 of file Kernel.h.

62 : Kernel(std::move(inputs), std::move(outputs)), _params(params)
63 {
64 }
Kernel(std::vector< const Tensor * > inputs, std::vector< Tensor * > outputs)
Definition Kernel.h:31
const Params & params() const
Definition Kernel.h:67

Member Function Documentation

◆ params()

template<typename Params >
const Params & luci_interpreter::KernelWithParams< Params >::params ( ) const
inline

Definition at line 67 of file Kernel.h.

67{ return _params; }

References luci_interpreter::KernelWithParams< Params >::_params.

Field Documentation

◆ _params

template<typename Params >
const Params luci_interpreter::KernelWithParams< Params >::_params
protected

Definition at line 70 of file Kernel.h.

Referenced by luci_interpreter::KernelWithParams< Params >::params().


The documentation for this class was generated from the following file: