ONE - On-device Neural Engine
|
#include <ReshapeLayer.h>
Public Member Functions | |
ReshapeLayer () | |
void | configure (const IPortableTensor *input, const IPortableTensor *shape, IPortableTensor *output) |
void | configureBackward (IPortableTensor *back_prop_input, const IPortableTensor *back_prop_output) |
void | forward (bool training) override |
void | backward () override |
Public Member Functions inherited from onert::exec::train::ITrainableFunction | |
virtual | ~ITrainableFunction ()=default |
virtual std::optional< backend::train::LayerScopeTensors > | registerLayerScopeTensors () |
Definition at line 33 of file ReshapeLayer.h.
onert::backend::train::ops::ReshapeLayer::ReshapeLayer | ( | ) |
Definition at line 28 of file ReshapeLayer.cc.
|
overridevirtual |
Implements onert::exec::train::ITrainableFunction.
Definition at line 59 of file ReshapeLayer.cc.
void onert::backend::train::ops::ReshapeLayer::configure | ( | const IPortableTensor * | input, |
const IPortableTensor * | shape, | ||
IPortableTensor * | output | ||
) |
Definition at line 41 of file ReshapeLayer.cc.
void onert::backend::train::ops::ReshapeLayer::configureBackward | ( | IPortableTensor * | back_prop_input, |
const IPortableTensor * | back_prop_output | ||
) |
Definition at line 50 of file ReshapeLayer.cc.
|
overridevirtual |
Implements onert::exec::train::ITrainableFunction.
Definition at line 57 of file ReshapeLayer.cc.