MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / StackLayer

Method StackLayer

arm_compute/graph/frontend/Layers.h:1361–1369  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1359 */
1360 template <typename... Ts>
1361 StackLayer(SubStream &&sub_stream1, SubStream &&sub_stream2, Ts &&...rest_sub_streams) : _sub_streams(), _axis(0)
1362 {
1363 _sub_streams.push_back(std::make_unique<SubStream>(std::move(sub_stream1)));
1364 _sub_streams.push_back(std::make_unique<SubStream>(std::move(sub_stream2)));
1365
1366 utility::for_each([&](SubStream &&sub_stream)
1367 { _sub_streams.push_back(std::make_unique<SubStream>(std::move(sub_stream))); },
1368 std::move(rest_sub_streams)...);
1369 }
1370 /** Construct a concatenation layer
1371 *
1372 * @param[in] axis Stack layer axis along which to stack the inputs

Callers

nothing calls this directly

Calls 2

for_eachFunction · 0.85
push_backMethod · 0.80

Tested by

no test coverage detected