Skip to content

Commit

Permalink
Update test_compressed_descriptor_se_atten.py
Browse files Browse the repository at this point in the history
  • Loading branch information
iProzd committed Nov 13, 2024
1 parent 02b75b3 commit 9003b32
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions source/tests/pt/model/test_compressed_descriptor_se_atten.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,6 @@ def test_compressed_forward(self):
self.box,
)

if self.dtype == "float32":
result_pt = result_pt.to(torch.float32)
elif self.dtype == "float64":
result_pt = result_pt.to(torch.float64)

self.se_atten.enable_compression(0.5)
result_pt_compressed = eval_pt_descriptor(
self.se_atten,
Expand Down

0 comments on commit 9003b32

Please sign in to comment.