We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91afa6e commit 6bf9838Copy full SHA for 6bf9838
backends/cadence/aot/fuse_ops.py
@@ -426,6 +426,9 @@ def fuse_quantized_batch_norm_with_conv(
426
# Note: there is a quantized.conv2d.new operator in the resulting graph
427
# that takes a torch.classes.quantized.Conv2dPackedParamsBase as one of the input
428
# this prevents us to directly call graph_module.recompile().
429
+ # pyre-fixme[16]: `GraphModule` has no attribute `_code`.
430
+ # pyre-fixme[16]: Item `Tensor` of `Tensor | Module` has no attribute
431
+ # `python_code`.
432
graph_module._code = graph_module._graph.python_code(root_module="self").src
433
434
def __init__(self):
0 commit comments