aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/Types.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-08-02 17:18:51 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:54:54 +0000
commit195b0ba457d0020e1f54fb0c0378040e1c75d510 (patch)
tree220244e5390a1c0636616c109b4254b85d574458 /arm_compute/core/Types.h
parent57c48243af8fd4b503fe629166531299c1b083d3 (diff)
downloadComputeLibrary-195b0ba457d0020e1f54fb0c0378040e1c75d510.tar.gz
MLCE-36: FC tranpose weights
Change-Id: I3b8a6c00e61ba6da459ca5fc7275393f9d073aed Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/142533 Reviewed-by: Anthony Barbier <anthony.barbier@arm.com> Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/Types.h')
-rw-r--r--arm_compute/core/Types.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h
index 81d652dd7d..d9109e4565 100644
--- a/arm_compute/core/Types.h
+++ b/arm_compute/core/Types.h
@@ -701,6 +701,17 @@ struct FullyConnectedLayerInfo
weights_trained_layout = layout;
return *this;
}
+ /** Sets the transpose weights flag
+ *
+ * @param[in] should_transpose_weights Boolean flag indicating if weights should be transposed
+ *
+ * @return Updated object
+ */
+ FullyConnectedLayerInfo &set_transpose_weights(bool should_transpose_weights)
+ {
+ transpose_weights = should_transpose_weights;
+ return *this;
+ }
};
/** Pooling Layer Information class */