ONE - On-device Neural Engine
|
#include <FullyConnectedLayer.h>
Additional Inherited Members | |
Protected Attributes inherited from onert::backend::cpu::ops::FullyConnectedLayer | |
const IPortableTensor * | _input |
const IPortableTensor * | _weights |
const IPortableTensor * | _bias |
IPortableTensor * | _output |
ir::Activation | _activation |
std::unique_ptr< nnfw::cker::FCTempArena > | _temp_arena |
std::shared_ptr< ExternalContext > | _external_context |
bool | _is_hybrid: 1 |
bool | _is_shuffled16x1float32: 1 |
Definition at line 35 of file FullyConnectedLayer.h.
onert::backend::train::ops::FullyConnectedLayer::FullyConnectedLayer | ( | ) |
Definition at line 55 of file FullyConnectedLayer.cc.
|
default |
|
overridevirtual |
Implements onert::exec::train::ITrainableFunction.
Definition at line 108 of file FullyConnectedLayer.cc.
References onert::backend::cpu::ops::FullyConnectedLayer::_input, and onert::backend::IPortableTensor::data_type().
void onert::backend::train::ops::FullyConnectedLayer::configureBackward | ( | const IPortableTensor * | input, |
const IPortableTensor * | weights, | ||
IPortableTensor * | output, | ||
IPortableTensor * | back_prop_input, | ||
IPortableTensor * | grad_weights, | ||
IPortableTensor * | grad_bias, | ||
const IPortableTensor * | back_prop_output, | ||
ir::Activation | activation, | ||
ir::FullyConnectedWeightsFormat | weights_format | ||
) |
Definition at line 66 of file FullyConnectedLayer.cc.
References onert::ir::Default, onert::backend::IPortableTensor::get_info(), onert::ir::NONE, onert::ir::OperandInfo::shape(), and onert::backend::IPortableTensor::total_size().
|
overridevirtual |
Implements onert::exec::train::ITrainableFunction.
Definition at line 106 of file FullyConnectedLayer.cc.
References onert::backend::cpu::ops::FullyConnectedLayer::run().