I’m interested in adding a new input to every node in a layer for a defined architecture. I made a quick graphic in a simple network. The nodes and solid lines are the existing architecture, and I want to add a new input (dashed lines) to each node in a layer. I only want my new input to map a single connection to the corresponding node in the layer.

Untitled-1.jpg2622×2491 181 KB

Sorry if this has an easy solution! I’m still learning my way around PyTorch.
Thanks!