Rate this Page

check_min_max_valid#

class torch.ao.quantization.utils.check_min_max_valid(min_val, max_val)[source]#

Checks if the given minimum and maximum values are valid, meaning that they exist and the min value is less than the max value.

Return type

bool