Skip to content

Commit

Permalink
bump tolerances (apache#9054)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewZhaoLuo authored and ylc committed Sep 29, 2021
1 parent 155fe10 commit c8b2f86
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion tests/python/frontend/onnx/test_forward.py
Original file line number Diff line number Diff line change
Expand Up @@ -1840,7 +1840,16 @@ def verify_reduce_func(func, data, axis, keepdims):

model = helper.make_model(graph, producer_name="reduce_test")

verify_with_ort_with_inputs(model, [data], [outshape], opset=11, target=target, dev=dev)
verify_with_ort_with_inputs(
model,
[data],
[outshape],
opset=11,
target=target,
dev=dev,
rtol=1e-4,
atol=1e-4,
)

funcs = [
"ReduceMax",
Expand Down

0 comments on commit c8b2f86

Please sign in to comment.