24.02.1
|
Basic function to manage the reshape weights generated from NETranspose. More...
#include <NEFullyConnectedLayer.h>
Public Member Functions | |
void | run () override |
Run the transformation function. More... | |
void | release () override |
Release transformed weights memory. More... | |
ITensor * | get_weights () override |
Get a pointer to the transformed weights. More... | |
uint32_t | uid () override |
Function that returns a unique id of the reshape function. More... | |
void | configure (const ITensor *input) |
Public Member Functions inherited from ITransformWeights | |
ITransformWeights ()=default | |
Default Constructor. More... | |
virtual | ~ITransformWeights ()=default |
Default Destructor. More... | |
ITransformWeights (const ITransformWeights &)=delete | |
Prevent instances of this class to be copy constructed. More... | |
ITransformWeights & | operator= (const ITransformWeights &)=delete |
Prevent instances of this class to be copied. More... | |
ITransformWeights (ITransformWeights &&other) | |
Allow instances of this class to be move constructed. More... | |
ITransformWeights & | operator= (ITransformWeights &&other) |
Allow instances of this class to be moved. More... | |
void | increase_refcount () |
Increase the object's refcount. More... | |
int32_t | decrease_refcount () |
Decrease the object's refcount and return the updated value. More... | |
bool | is_reshape_run () |
Function that returns a flag on whether the weights are reshaped or not. More... | |
Basic function to manage the reshape weights generated from NETranspose.
Definition at line 41 of file NEFullyConnectedLayer.h.
|
inline |
Definition at line 66 of file NEFullyConnectedLayer.h.
References NETranspose::configure(), and arm_compute::test::validation::input.
|
inlineoverridevirtual |
Get a pointer to the transformed weights.
Implements ITransformWeights.
Definition at line 56 of file NEFullyConnectedLayer.h.
|
inlineoverridevirtual |
Release transformed weights memory.
Implements ITransformWeights.
Definition at line 51 of file NEFullyConnectedLayer.h.
References Tensor::allocator(), and TensorAllocator::free().
|
inlineoverridevirtual |
Run the transformation function.
Implements ITransformWeights.
Definition at line 44 of file NEFullyConnectedLayer.h.
References TensorAllocator::allocate(), Tensor::allocator(), and NETranspose::run().
|
inlineoverridevirtual |
Function that returns a unique id of the reshape function.
Implements ITransformWeights.
Definition at line 61 of file NEFullyConnectedLayer.h.