Skip to content

Commit 4ec988d

Browse files
committed
fix lint error
Signed-off-by: Yuan Yao <[email protected]>
1 parent 3bdf1e5 commit 4ec988d

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

onnx/reference/ops/op_dequantize_linear.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,6 @@ def _run(self, *args, axis=None, block_size=None): # type: ignore
123123
class DequantizeLinear_23(_CommonDequantizeLinear):
124124
def _run(self, *args, axis=None, block_size=None, output_dtype=None): # type: ignore
125125
# args: x, y_scale, zero_point
126-
return super()._run(*args, axis=axis, block_size=block_size, output_dtype=output_dtype) # type: ignore
126+
return super()._run(
127+
*args, axis=axis, block_size=block_size, output_dtype=output_dtype
128+
) # type: ignore

onnx/reference/ops/op_quantize_linear.py

+9-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,15 @@ def _run(self, *args, axis=None, saturate=None, block_size=None, output_dtype=No
248248

249249

250250
class QuantizeLinear_23(_CommonQuantizeLinear):
251-
def _run(self, *args, axis=None, saturate=None, block_size=None, output_dtype=None, precision=None): # type: ignore
251+
def _run(
252+
self,
253+
*args,
254+
axis=None,
255+
saturate=None,
256+
block_size=None,
257+
output_dtype=None,
258+
precision=None,
259+
): # type: ignore
252260
# args: x, y_scale, zero_point
253261
return super()._run(
254262
*args,

0 commit comments

Comments
 (0)