Closed donglinb closed 1 year ago
Fixed Slice operator. 7 unit tests passed and 1 failed due to output shape being (20,0,5).
@, slice , test_slice_neg ,/home/shared/nnfusion/test/python/../../build/onnx/onnx/backend/test/data/node/test_slice_neg/test_data_set_0 , PASS
@, slice , test_slice_default_steps ,/home/shared/nnfusion/test/python/../../build/onnx/onnx/backend/test/data/node/test_slice_default_steps/test_data_set_0 , PASS
@, slice , test_slice_default_axes ,/home/shared/nnfusion/test/python/../../build/onnx/onnx/backend/test/data/node/test_slice_default_axes/test_data_set_0 , PASS
@, slice , test_slice_start_out_of_bounds , BUILD ERROR , FAILED
@, slice , test_slice_end_out_of_bounds ,/home/shared/nnfusion/test/python/../../build/onnx/onnx/backend/test/data/node/test_slice_end_out_of_bounds/test_data_set_0 , PASS
@, slice , test_slice_neg_steps ,/home/shared/nnfusion/test/python/../../build/onnx/onnx/backend/test/data/node/test_slice_neg_steps/test_data_set_0 , PASS
@, slice , test_slice ,/home/shared/nnfusion/test/python/../../build/onnx/onnx/backend/test/data/node/test_slice/test_data_set_0 , PASS
@, slice , test_slice_negative_axes ,/home/shared/nnfusion/test/python/../../build/onnx/onnx/backend/test/data/node/test_slice_negative_axes/test_data_set_0 , PASS
Shape operator version 15 added slice over input shape. Unit tests all passed.