Open
Description
Currently, there doesn't seem to be a nice way of interfacing a batch with a model with multiple inputs/outputs. This list comprehension works, but I think there could be a more elegant solution.
model.fit([batch[x] for x in (sc.stencil_2D + sc.stencil_3D + sc.vanilla)],
[batch[x] for x in sc.target])
From here, it would be possible to index with a list and get a list back. So, ideally I'd like to have something like
model.fit([batch[sc.stencil_2D + sc.stencil_3D + sc.vanilla]],
[batch[sc.target]])
without the list comprehension boilerplate.
Metadata
Metadata
Assignees
Labels
No labels