aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/NEON/functions/NEDepthConcatenateLayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime/NEON/functions/NEDepthConcatenateLayer.cpp')
-rw-r--r--src/runtime/NEON/functions/NEDepthConcatenateLayer.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/runtime/NEON/functions/NEDepthConcatenateLayer.cpp b/src/runtime/NEON/functions/NEDepthConcatenateLayer.cpp
index 437c9417ce..930f8d5a26 100644
--- a/src/runtime/NEON/functions/NEDepthConcatenateLayer.cpp
+++ b/src/runtime/NEON/functions/NEDepthConcatenateLayer.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017 ARM Limited.
+ * Copyright (c) 2017-2018 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -62,6 +62,9 @@ void NEDepthConcatenateLayer::configure(std::vector<ITensor *> inputs_vector, IT
depth_offset += inputs_vector.at(i)->info()->dimension(2);
}
+
+ // Set valid region from shape
+ output->info()->set_valid_region(ValidRegion(Coordinates(), output_shape));
}
void NEDepthConcatenateLayer::run()