Closed wenxcs closed 1 year ago
Original ONNX Backend tests are here: https://github.com/onnx/onnx/tree/main/onnx/backend/test/data/node Files are organized as model.onnx and corresponding input & output tensors in pb.
In NNFusion, Install dependency in requirements.txt: https://github.com/microsoft/nnfusion/blob/8287b4f65f519246f40cf0460d9d79540403c665/test/python/requirements.txt
# wenxh @ srgam-02 in ~/nnfusion_onnxtest/nnfusion on git:wenxh/onnx_unittest x [16:01:59] $ python test/python/onnx_test.py --mode=name --name="abs,log" @, abs , test_abs ,/home/wenxh/nnfusion_onnxtest/nnfusion/build/onnx/onnx/backend/test/data/node/test_abs/test_data_set_0 , PASS @, log , test_log ,/home/wenxh/nnfusion_onnxtest/nnfusion/build/onnx/onnx/backend/test/data/node/test_log/test_data_set_0 , FAILED @, log , test_log_example ,/home/wenxh/nnfusion_onnxtest/nnfusion/build/onnx/onnx/backend/test/data/node/test_log_example/test_data_set_0 , FAILED
log.txt
Original ONNX Backend tests are here: https://github.com/onnx/onnx/tree/main/onnx/backend/test/data/node Files are organized as model.onnx and corresponding input & output tensors in pb.
In NNFusion,
Install dependency in requirements.txt: https://github.com/microsoft/nnfusion/blob/8287b4f65f519246f40cf0460d9d79540403c665/test/python/requirements.txt
log.txt