Rate this Page

remove_boolean_dispatch_from_name#

class torch.ao.quantization.backend_config.utils.remove_boolean_dispatch_from_name(p)[source]#

Some ops have a default string representation such as ‘<function boolean_dispatch.<locals>.fn at 0x7ff1106bf280>’, this function replaces them with the hardcoded function names.

Return type:

Any