Skip to content

Concatenate outputs layers to generate other layer input #1625

Answered by zachgk
Isdriai asked this question in Q&A
Discussion options

You must be logged in to vote

What you want is to create a custom AbstractBlock. The ParallelBlock and SequentialBlock are there because they represent common patterns used in many models. But, they can't implement all of the models that people want to implement. With a custom block, you can write pretty much any model as it is just imperative Java code.

For the Trainer, I want to understand what your use case is a bit more. Do you have three different models because they work on different datasets, but you have shared parameters between them? Or, is it that the models are all working together on a single dataset? Or, is it something else?

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Isdriai
Comment options

@Isdriai
Comment options

@zachgk
Comment options

@Isdriai
Comment options

@Isdriai
Comment options

Answer selected by Isdriai
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants