diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-08-01 15:24:18 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | c55cef103a329a4e203c929276ed02ac45820de1 (patch) | |
tree | e465b681254ea3182ad5257c10446265dc303def /arm_compute/core/Types.h | |
parent | ff4bbce113892ee18621bd95aae7f50db66257e0 (diff) | |
download | ComputeLibrary-c55cef103a329a4e203c929276ed02ac45820de1.tar.gz |
COMPMID-1188: Expose FullyConnectedLayer info metadata at graph level
Change-Id: I7670f79209a1e4439d57e05c1f5c576f600971cb
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/142299
Tested-by: Jenkins <bsgcomp@arm.com>
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r-- | arm_compute/core/Types.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 343952f0b2..00370918bd 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -689,6 +689,18 @@ 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. */ + + /** Sets the weights trained data layout + * + * @param[in] layout Data layout that the weights were trained with + * + * @return Updated object + */ + FullyConnectedLayerInfo &set_weights_trained_layout(DataLayout layout) + { + weights_trained_layout = layout; + return *this; + } }; /** Pooling Layer Information class */ |