Skip to content

Commit 6d8698c

Browse files
committed
Fix LGTM warning
1 parent 5cc8f27 commit 6d8698c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tf2onnx/onnx_opset/tensor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,6 @@ def mkconst(npval, desc):
18671867
const_ylen = mkconst(np.array([ylen], np.int64), 'const_ylen')
18681868
const_xlenp = mkconst(np.array([xlenp], np.int64), 'const_xlenp')
18691869
const_stride = mkconst(np.array([xlenp + 1], np.int64), 'const_stride')
1870-
const_minxy = mkconst(np.array([min(xlen, ylen)], np.int64), 'const_minxy')
18711870
const_minxy_float = mkconst(np.array([min(xlen, ylen)], np.float32), 'const_minxy_f')
18721871
const_xmax = mkconst(np.array([xlen * xlenp + xlenp - 1], np.int64), 'const_xmax')
18731872
const_ymax = mkconst(np.array([xlenp * ylen - 1], np.int64), 'const_ymax')

0 commit comments

Comments
 (0)