MNISTData.validate_format#

MNISTData.validate_format(model, device=None)[source]#

Validate the correctness of the data class implementation according to the expected format.

Parameters
modelModel

Model to validate the data class implementation against.

device

Device to run the model on.