diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-03-08 16:01:29 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:49:16 +0000 |
commit | ee33ea5a6e1aa0faac1cc8b5a269bd4f89854821 (patch) | |
tree | 0baf159ae4a61d07cc765ad6bb1a2fb42c403081 /arm_compute/graph2/backends/NEON | |
parent | e86a09fe4c5aa9037787e13ee55cba2b049d5ea5 (diff) | |
download | ComputeLibrary-ee33ea5a6e1aa0faac1cc8b5a269bd4f89854821.tar.gz |
COMPMID-996: Add support for grouped convolution.
Change-Id: I279e29ce20b3dde57445264dc11491f127b44d70
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/124429
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/graph2/backends/NEON')
-rw-r--r-- | arm_compute/graph2/backends/NEON/NEDeviceBackend.h | 2 | ||||
-rw-r--r-- | arm_compute/graph2/backends/NEON/NESubTensorHandle.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/arm_compute/graph2/backends/NEON/NEDeviceBackend.h b/arm_compute/graph2/backends/NEON/NEDeviceBackend.h index 5d1394b2f3..e81e9d921e 100644 --- a/arm_compute/graph2/backends/NEON/NEDeviceBackend.h +++ b/arm_compute/graph2/backends/NEON/NEDeviceBackend.h @@ -44,7 +44,7 @@ public: void initialize_backend() override; void setup_backend_context(GraphContext &ctx) override; std::unique_ptr<ITensorHandle> create_tensor(const Tensor &tensor) override; - std::unique_ptr<ITensorHandle> create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords) override; + std::unique_ptr<ITensorHandle> create_subtensor(ITensorHandle *parent, TensorShape shape, Coordinates coords, bool extend_parent) override; std::unique_ptr<arm_compute::IFunction> configure_node(INode &node, GraphContext &ctx) override; Status validate_node(INode &node) override; std::shared_ptr<arm_compute::IMemoryManager> create_memory_manager(MemoryManagerAffinity affinity) override; diff --git a/arm_compute/graph2/backends/NEON/NESubTensorHandle.h b/arm_compute/graph2/backends/NEON/NESubTensorHandle.h index e027b0cc56..eacdfe0fb4 100644 --- a/arm_compute/graph2/backends/NEON/NESubTensorHandle.h +++ b/arm_compute/graph2/backends/NEON/NESubTensorHandle.h @@ -43,8 +43,9 @@ public: * @param[in] parent_handle Parent tensor handle * @param[in] shape Sub-Tensor shape * @param[in] coords Starting coordinates + * @param[in] extend_parent Extends parent shape if true */ - NESubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords); + NESubTensorHandle(ITensorHandle *parent_handle, const TensorShape &shape, const Coordinates &coords, bool extend_parent = false); /** Destructor: free the tensor's memory */ ~NESubTensorHandle() = default; /** Allow instances of this class to be move constructed */ |