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/SplitLayerNode.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'arm_compute/graph/nodes/SplitLayerNode.h') diff --git a/arm_compute/graph/nodes/SplitLayerNode.h b/arm_compute/graph/nodes/SplitLayerNode.h index 923b3d1fa6..abd28ae5e3 100644 --- a/arm_compute/graph/nodes/SplitLayerNode.h +++ b/arm_compute/graph/nodes/SplitLayerNode.h @@ -42,16 +42,17 @@ public: * @param[in] axis (Optional) Axis to split on. Supported axis >= 2. Defaults to 0 */ SplitLayerNode(unsigned int num_splits, unsigned int axis = 0); - /** Computes split layer output shape + /** Computes split layer output descriptor * - * @param[in] input_shape Shape of the input - * @param[in] num_splits Number of splits - * @param[in] axis Axis to perform the split on - * @param[in] idx Index of the split + * @param[in] input_descriptor Descriptor of the input tensor + * @param[in] num_splits Number of splits + * @param[in] axis Axis to perform the split on + * @param[in] idx Index of the split * - * @return A pair with the shape of the split and the starting coordinates + * @return A pair with the descriptor of the split and the starting coordinates */ - static std::pair compute_output_shape(TensorShape input_shape, unsigned int num_splits, unsigned int axis, unsigned int idx); + static std::pair compute_output_descriptor(const TensorDescriptor &input_descriptor, + unsigned int num_splits, unsigned int axis, unsigned int idx); /** Number of splits accessor * * @return Number of splits @@ -64,7 +65,7 @@ public: unsigned int axis() const; // Inherited overridden methods: - Status validate() override; + Status validate() const override; NodeType type() const override; bool forward_descriptors() override; TensorDescriptor configure_output(size_t idx) const override; -- cgit v1.2.1