Skip to content

Commit 5cc8f27

Browse files
committed
Add support for Keras resnet50 pretrained model testing.
1 parent bd2097e commit 5cc8f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tf2onnx/onnx_opset/tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1868,7 +1868,7 @@ def mkconst(npval, desc):
18681868
const_xlenp = mkconst(np.array([xlenp], np.int64), 'const_xlenp')
18691869
const_stride = mkconst(np.array([xlenp + 1], np.int64), 'const_stride')
18701870
const_minxy = mkconst(np.array([min(xlen, ylen)], np.int64), 'const_minxy')
1871-
const_minxy_float = mkconst(np.array([min(xlen, ylen)], np.float32), 'const_minxy')
1871+
const_minxy_float = mkconst(np.array([min(xlen, ylen)], np.float32), 'const_minxy_f')
18721872
const_xmax = mkconst(np.array([xlen * xlenp + xlenp - 1], np.int64), 'const_xmax')
18731873
const_ymax = mkconst(np.array([xlenp * ylen - 1], np.int64), 'const_ymax')
18741874
const_ymax_float = mkconst(np.array([xlenp * ylen - 1], np.float32), 'const_ymax_f')

0 commit comments

Comments
 (0)