Rate this Page

default_eval_fn#

classtorch.ao.quantization.default_eval_fn(model,calib_data)[source]#

Define the default evaluation function.

Default evaluation function takes a torch.utils.data.Dataset or a list ofinput Tensors and run the model on the dataset