diff options
Diffstat (limited to 'src/graph/nodes')
-rw-r--r-- | src/graph/nodes/ConcatenateLayerNode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graph/nodes/ConcatenateLayerNode.cpp b/src/graph/nodes/ConcatenateLayerNode.cpp index ff515c4427..5f13b90be7 100644 --- a/src/graph/nodes/ConcatenateLayerNode.cpp +++ b/src/graph/nodes/ConcatenateLayerNode.cpp @@ -72,6 +72,7 @@ TensorDescriptor ConcatenateLayerNode::compute_output_descriptor(const std::vect // Extract shapes std::vector<const TensorShape *> shapes; + shapes.reserve(input_descriptors.size()); for(auto &input_descriptor : input_descriptors) { shapes.emplace_back(&input_descriptor.shape); |