Skip to content

Commit 875a869

Browse files
committed
fix failure
Signed-off-by: Xin He <[email protected]>
1 parent bc24f2f commit 875a869

File tree

1 file changed

+1
-1
lines changed
  • neural_compressor/experimental/export

1 file changed

+1
-1
lines changed

neural_compressor/experimental/export/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(self, fp32_onnx_path):
6464
for dim in node.shape:
6565
shape.append(dim if isinstance(dim, int) else 1)
6666
dtype = ONNX2Numpy_dtype(node.type)
67-
input[node.name] = np.zeros(shape).astype(dtype)
67+
input[node.name] = np.ones(shape).astype(dtype)
6868
self.data = [input]
6969
self.data = iter(self.data)
7070

0 commit comments

Comments
 (0)