In SAS DLPy, the Functional API is used to build a model with two separate input branches. One branch processes images via Conv2d layers, the other processes tabular data via Dense layers. These two branches are merged before a final output layer. Which DLPy class merges (concatenates) the two branch outputs?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — b is correct because SAS DLPy provides the Concat() layer in dlpy.layers for concatenating outputs from multiple branches along the channel/feature dimension in multi-branch models. A is wrong; Merge() is not a standard DLPy class name.
Full explanation below image
Full Explanation
B is correct because SAS DLPy provides the Concat() layer in dlpy.layers for concatenating outputs from multiple branches along the channel/feature dimension in multi-branch models. A is wrong; Merge() is not a standard DLPy class name. C is wrong; MergeLayer() with axis=-1 is not DLPy syntax. D is wrong; Add() performs element-wise addition, not concatenation, and is not a standard DLPy layer name.