std1.0.0-beta-7 SafeC docs

std :: ml::cnn

Function std::concat_channels

#include <std/ml/cnn.h> source ยท definition

struct FeatureMap concat_channels(const &FeatureMap a, const &FeatureMap b)

Concatenates 'a' and 'b' along the channel axis: out has a.channels + b.channels channels, a's copied first, then b's. Both must share the same height/width. Used to implement U-Net's encoder- to-decoder skip connections.