23.05

Fully connected layer info. More...
#include <Types.h>
Public Member Functions  
FullyConnectedLayerInfo &  set_weights_trained_layout (DataLayout layout) 
Sets the weights trained data layout. More...  
FullyConnectedLayerInfo &  set_transpose_weights (bool should_transpose_weights) 
Sets the transpose weights flag. More...  
Data Fields  
ActivationLayerInfo  activation_info {} 
Fused activation to apply after the matrix multiplication. More...  
DataLayout  weights_trained_layout { DataLayout::NCHW } 
Layout that the weights have been trained with. More...  
bool  transpose_weights { true } 
Transpose weights if true. More...  
bool  are_weights_reshaped { false } 
bool  retain_internal_weights { false } 
Retain internal reshaped weights. More...  
bool  enable_fast_math { false } 
Enable fast math computation. More...  
bool  fp_mixed_precision { false } 
Use wider accumulators (32 bit instead of 16 for FP16) to improve accuracy. More...  

inline 
Sets the transpose weights flag.
[in]  should_transpose_weights  Boolean flag indicating if weights should be transposed 
Definition at line 1859 of file Types.h.

inline 
Sets the weights trained data layout.
[in]  layout  Data layout that the weights were trained with 
Definition at line 1848 of file Types.h.
ActivationLayerInfo activation_info {} 
Fused activation to apply after the matrix multiplication.
Definition at line 1832 of file Types.h.
Referenced by CpuFullyConnected::configure(), CpuFullyConnected::has_opt_impl(), arm_compute::operator<<(), FullyConnectedLayerNode::set_fused_activation(), ClFullyConnected::validate(), and CpuFullyConnected::validate().
bool are_weights_reshaped { false } 
Definition at line 1836 of file Types.h.
Referenced by ClFullyConnected::configure(), CLFullyConnectedLayer::configure(), CpuFullyConnected::configure(), NEFullyConnectedLayer::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::operator<<(), ClFullyConnected::validate(), and CpuFullyConnected::validate().
bool enable_fast_math { false } 
Enable fast math computation.
Definition at line 1838 of file Types.h.
Referenced by CpuFullyConnected::configure(), arm_compute::graph::backends::detail::create_fully_connected_layer(), CpuFullyConnected::has_opt_impl(), and CpuFullyConnected::validate().
bool fp_mixed_precision { false } 
Use wider accumulators (32 bit instead of 16 for FP16) to improve accuracy.
Definition at line 1840 of file Types.h.
Referenced by arm_compute::operator<<().
bool retain_internal_weights { false } 
Retain internal reshaped weights.
Definition at line 1837 of file Types.h.
Referenced by ClFullyConnected::configure(), CLFullyConnectedLayer::configure(), CpuFullyConnected::configure(), NEFullyConnectedLayer::configure(), arm_compute::operator<<(), and CpuFullyConnected::validate().
bool transpose_weights { true } 
Transpose weights if true.
Definition at line 1835 of file Types.h.
Referenced by FullyConnectedLayerNode::compute_weights_descriptor(), CLFullyConnectedLayer::configure(), ClFullyConnected::configure(), CpuFullyConnected::configure(), NEFullyConnectedLayer::configure(), arm_compute::test::validation::DATA_TEST_CASE(), arm_compute::operator<<(), ClFullyConnected::validate(), and CpuFullyConnected::validate().
DataLayout weights_trained_layout { DataLayout::NCHW } 
Layout that the weights have been trained with.
Definition at line 1834 of file Types.h.
Referenced by ClFullyConnected::configure(), CpuFullyConnected::configure(), arm_compute::operator<<(), ClFullyConnected::validate(), and CpuFullyConnected::validate().