predefined_preproc_func¶

predefined_preproc_func(dataset_name)[source]¶

Get the preprocessing information used for the pretrained model.

Parameters:

dataset_name (str) – Dataset name used to determine what preprocessing was used.

Returns:

Preprocessing function for transforming the input data.

Return type:

_TorchPreprocCaller