4c3f59b70e98acf5bca2c1c26ebee5a018be0de4,torch/quantization/fx/quantization_patterns.py,Mul,convert,#Mul#Any#Any#Any#Any#Any#,142
Before Change
else:
op = torch.ops.quantized.mul
kwargs = {**self.mul_node.kwargs, "scale": scale, "zero_point": zero_point}
return quantizer.quantized_graph.create_node("call_function", op, load_arg(quantized=True)(self.mul_node.args), kwargs)
@register_quant_pattern(torch.cat)
class Cat(QuantizeHandler):
After Change
else:
op = torch.ops.quantized.mul
kwargs = {**self.mul_node.kwargs}
args = (*load_arg(quantized=True)(self.mul_node.args), scale_arg, zero_point_arg)
return quantizer.quantized_graph.create_node("call_function", op, args, kwargs)
@register_quant_pattern(torch.cat)
class Cat(QuantizeHandler):
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: pytorch/pytorch
Commit Name: 4c3f59b70e98acf5bca2c1c26ebee5a018be0de4
Time: 2021-01-28
Author: supriyar@fb.com
File Name: torch/quantization/fx/quantization_patterns.py
Class Name: Mul
Method Name: convert
Project Name: pytorch/pytorch
Commit Name: 4c3f59b70e98acf5bca2c1c26ebee5a018be0de4
Time: 2021-01-28
Author: supriyar@fb.com
File Name: torch/quantization/fx/quantization_patterns.py
Class Name: Add
Method Name: convert
Project Name: pytorch/pytorch
Commit Name: 4884a6ab5188f712c81ad5e452ae0de513e1141c
Time: 2021-03-12
Author: vasiliy@fb.com
File Name: torch/quantization/fx/quantization_patterns.py
Class Name: Cat
Method Name: convert