Skip to content

Commit a6b30a3

Browse files
committed
Update on "[quant][graphmode] Quantization support for quantized::add_scalar_relu and quantized::add_scalar_relu_out"
Summary: Test Plan: python test/test_jit.py Reviewers: . Subscribers: Tasks: Tags: Differential Revision: [D20742138](https://our.internmc.facebook.com/intern/diff/D20742138) [ghstack-poisoned]
2 parents 77ff1f9 + 26c9502 commit a6b30a3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/test_jit.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1609,6 +1609,8 @@ def forward(self, x, y):
16091609
FileCheck().check_not("aten::add") \
16101610
.check_not("aten::relu") \
16111611
.check_not("aten::relu_") \
1612+
.check_not("quantized::add") \
1613+
.check_not("quantized::relu") \
16121614
.check("quantized::add_relu") \
16131615
.run(m.graph_for(data, data))
16141616

@@ -1639,6 +1641,8 @@ def forward(self, x):
16391641
FileCheck().check_not("aten::add") \
16401642
.check_not("aten::add_") \
16411643
.check_not("aten::relu") \
1644+
.check_not("quantized::add_scalar") \
1645+
.check_not("quantized::relu") \
16421646
.check("quantized::add_scalar_relu") \
16431647
.run(m.graph_for(data))
16441648

0 commit comments

Comments
 (0)