Is it possible to create a script backed by a Trainer
object for computing the model output on all items in a Dataset
object?
Imagine I have a CNN trained for image classification and I want to save the logits over each example in the validation set.