Skip to content

Commit

Permalink
Test (graph/quantize) Added extra prefix test to layerwise_quantize (
Browse files Browse the repository at this point in the history
  • Loading branch information
nickfraser authored Sep 9, 2024
1 parent b714943 commit b5606b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/brevitas/graph/test_quantize.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
'name_blacklist': ['0'],
'key': '0',
'expected': "<class 'torch.nn.modules.linear.Linear'>"},
{
'model': nn.Sequential(nn.Sequential(nn.Linear(2, 3))),
'name_blacklist': ['0'],
'key': '0.0',
'expected': "<class 'torch.nn.modules.linear.Linear'>"},
{
'model': nn.Sequential(nn.Sequential(nn.Linear(2, 3))),
'name_blacklist': ['0.0'],
Expand Down

0 comments on commit b5606b2

Please sign in to comment.