Skip to content

Commit

Permalink
fix CI-iScan-Python
Browse files Browse the repository at this point in the history
  • Loading branch information
yghstill committed Apr 4, 2022
1 parent 536838d commit 7c2bec3
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ def set_args(self):
self.bit_length = 8
self.data_type = "float32"
self.quant_axis = 1
print('TestChannelWiseDequantizeOp1:')


class TestDequantizeOp(OpTest):
Expand All @@ -214,7 +213,6 @@ def set_args(self):
self.quant_axis = -1
self.max_range = math.pow(2, self.bit_length - 1) - 1
self.data_type = "float32"
print('TestDequantizeOp:')

def setUp(self):
self.set_args()
Expand Down Expand Up @@ -242,16 +240,14 @@ def set_args(self):
self.max_range = math.pow(2, self.bit_length - 1) - 1
self.data_type = "float64"
self.quant_axis = -1
print('TestDequantizeOpDouble:')


class TestFakeDequantizeMaxAbsOp5Bits(TestDequantizeOp):
class TestDequantizeOp5Bits(TestDequantizeOp):
def set_args(self):
self.bit_length = 5
self.max_range = math.pow(2, self.bit_length - 1) - 1
self.data_type = "float32"
self.quant_axis = -1
print('TestFakeDequantizeMaxAbsOp5Bits:')


if __name__ == "__main__":
Expand Down

0 comments on commit 7c2bec3

Please sign in to comment.