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

Public Member Functions | |
| FullyConnectedLayer () | |
| ~FullyConnectedLayer () | |
| void | fullyConnectedGGMLWeight () |
| void | configure (const IPortableTensor *input, const IPortableTensor *weights, const IPortableTensor *bias, ir::Activation activation, IPortableTensor *output, const std::shared_ptr< ExternalContext > &external_context) |
| void | run () override |
| void | prepare () override |
Public Member Functions inherited from onert::exec::IFunction | |
| virtual | ~IFunction ()=default |
Protected Attributes | |
| const IPortableTensor * | _input |
| const IPortableTensor * | _weights |
| const IPortableTensor * | _bias |
| IPortableTensor * | _output |
| ir::Activation | _activation |
| std::shared_ptr< ExternalContext > | _external_context |
Definition at line 29 of file FullyConnectedLayer.h.
| onert::backend::ggml::ops::FullyConnectedLayer::FullyConnectedLayer | ( | ) |
Definition at line 76 of file FullyConnectedLayer.cc.
|
default |
| void onert::backend::ggml::ops::FullyConnectedLayer::configure | ( | const IPortableTensor * | input, |
| const IPortableTensor * | weights, | ||
| const IPortableTensor * | bias, | ||
| ir::Activation | activation, | ||
| IPortableTensor * | output, | ||
| const std::shared_ptr< ExternalContext > & | external_context | ||
| ) |
Definition at line 118 of file FullyConnectedLayer.cc.
References _activation, _bias, _external_context, _input, _output, and _weights.
| void onert::backend::ggml::ops::FullyConnectedLayer::fullyConnectedGGMLWeight | ( | ) |
Definition at line 85 of file FullyConnectedLayer.cc.
References _bias, _external_context, _input, _output, _weights, and onert::backend::ggml::ops::getGGMLTensor().
Referenced by run().
|
overridevirtual |
Reimplemented from onert::exec::IFunction.
Definition at line 144 of file FullyConnectedLayer.cc.
|
overridevirtual |
Implements onert::exec::IFunction.
Definition at line 131 of file FullyConnectedLayer.cc.
References _weights, onert::backend::IPortableTensor::data_type(), and fullyConnectedGGMLWeight().
|
protected |
Definition at line 51 of file FullyConnectedLayer.h.
Referenced by configure().
|
protected |
Definition at line 49 of file FullyConnectedLayer.h.
Referenced by configure(), and fullyConnectedGGMLWeight().
|
protected |
Definition at line 53 of file FullyConnectedLayer.h.
Referenced by configure(), and fullyConnectedGGMLWeight().
|
protected |
Definition at line 47 of file FullyConnectedLayer.h.
Referenced by configure(), and fullyConnectedGGMLWeight().
|
protected |
Definition at line 50 of file FullyConnectedLayer.h.
Referenced by configure(), and fullyConnectedGGMLWeight().
|
protected |
Definition at line 48 of file FullyConnectedLayer.h.
Referenced by configure(), fullyConnectedGGMLWeight(), and run().