Skip to content

Commit 19c73fe

Browse files
committed
Pre-commit fixes
1 parent e199a46 commit 19c73fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/transformation/test_nn_resize_to_deconv.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def test_resize_conv_to_deconv_quant_model(maintain_bit_width: bool):
9494
# shouldn't be expected to maintain reasonable functional similarity
9595
if not maintain_bit_width:
9696
assert np.isclose(
97-
output_deconv, output_resize_conv, atol=1 / 255.0, rtol=1.
97+
output_deconv, output_resize_conv, atol=1 / 255.0, rtol=1.0
9898
).all(), "Error: expected output does not match the produced output."
9999

100100

@@ -108,7 +108,7 @@ def create_nn_resize_conv_model(
108108
ifm_dim = input_dim
109109
ofm_dim = ifm_dim * upscale_factor
110110
ofm_ch = out_channels
111-
scales = np.array([1., 1., upscale_factor, upscale_factor], dtype=np.float32)
111+
scales = np.array([1.0, 1.0, upscale_factor, upscale_factor], dtype=np.float32)
112112

113113
resize = oh.make_node(
114114
"Resize",

0 commit comments

Comments
 (0)