0

Let $f(x)$ be an output of a neural network with input $x$.

My data is a pair $(x,y)$ and my loss function is a function of $f(x)$ and $f(y)$, i.e., $g(f(x),f(y))$.

What kind of architecture enables this learning? I could make two copies of the same neural network, but can the weights be coordinated in the back propagation?

user15988
  • 1
  • 1
  • Can you please put your **specific** question in the title? "Duplicating a neural network" is _not_ a question and it's _not_ specific. – nbro Feb 10 '22 at 11:14
  • A similar question has been answered at https://ai.stackexchange.com/a/34320/32722 and https://stackoverflow.com/q/49875127/3731823. You don't make a copy of the network, there is just one but it is used for separate inputs. – NikoNyrh Feb 11 '22 at 13:00

0 Answers0