Skip to content

Commit

Permalink
adding tolerance to flaky test (apache#13850)
Browse files Browse the repository at this point in the history
* adding tolerance

* retrigger ci

* retrigger ci
  • Loading branch information
Roshrini authored and haohuw committed Jun 23, 2019
1 parent 2aea195 commit e91fa8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/python-pytest/onnx/test_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def test_imports(self):
onnx_model = get_onnx_graph(test_name, names, input_tensors, onnx_name, output_shape, attrs)
bkd_rep = backend.prepare(onnx_model, operation='import')
mxnet_out = bkd_rep.run(inputs)
npt.assert_almost_equal(np_out, mxnet_out)
npt.assert_almost_equal(np_out, mxnet_out, decimal=4)

# test_case = ("test_case_name", mxnet op, "ONNX_op_name", [input_list], attribute map, MXNet_specific=True/False,
# fix_attributes = {'modify': {mxnet_attr_name: onnx_attr_name},
Expand Down

0 comments on commit e91fa8d

Please sign in to comment.