Generic deep ensemble function
ensemble(x, ...)
x
model to ensemble
...
further arguments passed to the class-specific function