From cac13b1cfd593889271f8e2191be2039b8d88f36 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 27 Apr 2018 19:07:19 +0100 Subject: COMPMID-1097: Port mobilenet to NHWC Change-Id: I789065bfa0d4ef133388e1904c5caf31e450f80f Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/129495 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- arm_compute/graph/nodes/FullyConnectedLayerNode.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'arm_compute/graph/nodes/FullyConnectedLayerNode.h') diff --git a/arm_compute/graph/nodes/FullyConnectedLayerNode.h b/arm_compute/graph/nodes/FullyConnectedLayerNode.h index 166751b8fa..3d1b68909a 100644 --- a/arm_compute/graph/nodes/FullyConnectedLayerNode.h +++ b/arm_compute/graph/nodes/FullyConnectedLayerNode.h @@ -39,29 +39,28 @@ public: * @param[in] num_outputs Number of neurons in the layer */ FullyConnectedLayerNode(unsigned int num_outputs); - /** Computes weights shape + /** Computes weights descriptor * * @warning Works for inputs with 1D batch space * - * @param[in] input_shape Input shape - * @param[in] num_outputs Number of output neurons + * @param[in] input_descriptor Input descriptor + * @param[in] num_outputs Number of output neurons * - * @return Weights shape + * @return Weights descriptor */ - static TensorShape compute_weights_shape(TensorShape input_shape, unsigned int num_outputs); - /** Computes fully connected layer output shape + static TensorDescriptor compute_weights_descriptor(const TensorDescriptor &input_descriptor, unsigned int num_outputs); + /** Computes fully connected layer output descriptor * * @warning Works for inputs with 1D batch space * - * @param[in] input_shape Input shape - * @param[in] num_outputs Number of output neurons + * @param[in] input_descriptor Input descriptor + * @param[in] num_outputs Number of output neurons * - * @return Output shape + * @return Output descriptor */ - static TensorShape compute_output_shape(TensorShape input_shape, unsigned int num_outputs); + static TensorDescriptor compute_output_descriptor(const TensorDescriptor &input_descriptor, unsigned int num_outputs); // Inherited overridden methods: - Status validate() override; NodeType type() const override; bool forward_descriptors() override; TensorDescriptor configure_output(size_t idx) const override; -- cgit v1.2.1