Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

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

* retrigger ci

* retrigger ci
  • Loading branch information
Roshrini authored and nswamy committed Jan 14, 2019
1 parent 0e57930 commit f554835
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 f554835

Please sign in to comment.