diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-10-28 14:16:31 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-10-30 16:56:48 +0000 |
commit | 44bfc3fe8dacfc4297702ca88323ea675a7c52e2 (patch) | |
tree | f7cc198a16af56b1ff2432972360c31dfbe13c3f /arm_compute/core | |
parent | 2697fd8fa42425f7bfdd60dd486d4c2132b06523 (diff) | |
download | ComputeLibrary-44bfc3fe8dacfc4297702ca88323ea675a7c52e2.tar.gz |
COMPMID-1671: Allow fp mixed precision in CLFCLayer.
Adds the ability to request accumulation in float instead of half to
avoid any accuracy related issues.
Change-Id: I97de27fa36853834cd9eb69c0077e1cb1e6dd5ec
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2173
Reviewed-by: Manuel Bottini <manuel.bottini@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Giorgio Arena <giorgio.arena@arm.com>
Diffstat (limited to 'arm_compute/core')
-rw-r--r-- | arm_compute/core/Types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 0a25277b57..f4955ed457 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -805,6 +805,7 @@ struct FullyConnectedLayerInfo bool transpose_weights{ true }; /**< Transpose weights if true. */ bool are_weights_reshaped{ false }; /**< Reshape the weights tensor if false. */ bool retain_internal_weights{ false }; /**< Retain internal reshaped weights. */ + bool fp_mixed_precision{ false }; /**< Use wider accumulators (32 bit instead of 16 for FP16) to improve accuracy. */ /** Sets the weights trained data layout * |