Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions test/quantization/pt2e/test_quantize_pt2e_qat.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,12 +686,6 @@ def get_source_fn(node: torch.fx.Node):
self.assertNotEqual(get_source_fn(second_conv), get_source_fn(second_relu))
self.assertNotEqual(get_source_fn(first_relu), get_source_fn(second_relu))

# Assert that "backbone" exists only in the second set of conv and relu's partition
self.assertTrue("backbone" not in get_source_fn(first_conv))
self.assertTrue("backbone" not in get_source_fn(first_relu))
self.assertTrue("backbone" in get_source_fn(second_conv))
self.assertTrue("backbone" in get_source_fn(second_relu))

def test_qat_conv_bn_bias_derived_qspec(self):
m = self._get_conv_bn_model()
example_inputs = self.example_inputs
Expand Down
Loading