Skip to content

Instantly share code, notes, and snippets.

@adhadse
Created May 23, 2021 11:01
Show Gist options
  • Select an option

  • Save adhadse/9bd049e2acc18ee1016c00e4148f2a7a to your computer and use it in GitHub Desktop.

Select an option

Save adhadse/9bd049e2acc18ee1016c00e4148f2a7a to your computer and use it in GitHub Desktop.
[...] # Same as above, up to main output layer
output = keras.layers.Dense(1, name="main_output")(concat)
aux_output = keras.layers.Dense(1, name="aux_output")(hidden2)
model = keras.Model(inputs=[input_A, input_B],
outputs=[output, aux_output])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment