microsoft / nnfusion

A flexible and efficient deep neural network (DNN) compiler that generates high-performance executable from a DNN model description.
MIT License
937 stars 157 forks source link

support xbox branch op check: Abs Acos Add And ArgMax ArgMin #497

Closed LeiWang1999 closed 1 year ago

LeiWang1999 commented 1 year ago

operator | versions | IsSupport | front-end support | IR support | Based Data type supported (float64/32/16, int64/int32/16) | unit-test passed? | comments -- | -- | -- | -- | -- | -- | -- | -- Abs | 13, 6, 1 | Y | All versions | Y | float32/64; int64/32/16; | Y | opset 13 update only extends bfloat16 support, nnfusion doesn't have this type Acos | 7 | Y | All versions | Y | float16/32/64, int16/32/64 | Y |   Add | 14, 13, 7, 6, 1 | Y | All versions | Y | float16/32/64, int16/32/64 | N: passed in supported cases | only datatype is different And | 7, 1 | Y | All versions | Y | int (bool) | Y |   ArgMax | 13, 12, 11, 1 | Y | All versions | Y | float16/32/64, int16/32/64 | N: Passed hands on |   ArgMin | 13, 12, 11, 1 | Y | All versions | Y | float16/32/64, int16/32/64 | N: |   Asin | 7 | Y | All versions | Y | float16/32/64, int16/32/64 | Y |   Atan | 7 | Y | All versions | Y | float16/32/64, int16/32/64 | Y |  

LeiWang1999 commented 1 year ago

onnx unit test float32 log:

@, argmax , test_argmax_negative_axis_keepdims_example_select_last_index ,nnfusion_work/test_argmax_negative_axis_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_random ,nnfusion_work/test_argmax_keepdims_random/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_random_select_last_index ,nnfusion_work/test_argmin_default_axis_random_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_example ,nnfusion_work/test_argmin_negative_axis_keepdims_example/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_example ,nnfusion_work/test_argmax_no_keepdims_example/test_data_set_0 , PASS
@, add , test_add_uint8 , BUILD ERROR , FAILED
@, add , test_add_bcast ,nnfusion_work/test_add_bcast/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_example ,nnfusion_work/test_argmax_default_axis_example/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_example ,nnfusion_work/test_argmax_negative_axis_keepdims_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_epsilon_training_mode , EXECUTION ERROR , FAILED
@, argmin , test_argmin_default_axis_random ,nnfusion_work/test_argmin_default_axis_random/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_random ,nnfusion_work/test_argmax_default_axis_random/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_random_select_last_index ,nnfusion_work/test_argmin_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_random_select_last_index ,nnfusion_work/test_argmax_default_axis_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_example_select_last_index ,nnfusion_work/test_argmax_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_random ,nnfusion_work/test_argmin_negative_axis_keepdims_random/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_random ,nnfusion_work/test_argmax_no_keepdims_random/test_data_set_0 , PASS
@, abs , test_abs ,nnfusion_work/test_abs/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_example ,nnfusion_work/test_argmin_default_axis_example/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_random_select_last_index ,nnfusion_work/test_argmax_keepdims_random_select_last_index/test_data_set_0 , PASS
@, add , test_add ,nnfusion_work/test_add/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_example ,nnfusion_work/test_argmin_no_keepdims_example/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_random_select_last_index ,nnfusion_work/test_argmin_negative_axis_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_random ,nnfusion_work/test_argmax_negative_axis_keepdims_random/test_data_set_0 , PASS
@, atan , test_atan ,nnfusion_work/test_atan/test_data_set_0 , PASS
@, acos , test_acos_example ,nnfusion_work/test_acos_example/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_example_select_last_index ,nnfusion_work/test_argmin_no_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_example_select_last_index ,nnfusion_work/test_argmax_no_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_example_select_last_index ,nnfusion_work/test_argmax_default_axis_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_example_select_last_index ,nnfusion_work/test_argmin_default_axis_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_example ,nnfusion_work/test_argmin_keepdims_example/test_data_set_0 , PASS
@, asin , test_asin_example ,nnfusion_work/test_asin_example/test_data_set_0 , PASS
@, acos , test_acos ,nnfusion_work/test_acos/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_example ,nnfusion_work/test_batchnorm_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_example_training_mode , EXECUTION ERROR , FAILED
@, argmin , test_argmin_no_keepdims_random ,nnfusion_work/test_argmin_no_keepdims_random/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_example_select_last_index ,nnfusion_work/test_argmin_keepdims_example_select_last_index/test_data_set_0 , PASS
@, atan , test_atan_example ,nnfusion_work/test_atan_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_epsilon ,nnfusion_work/test_batchnorm_epsilon/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_random_select_last_index ,nnfusion_work/test_argmin_no_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_random ,nnfusion_work/test_argmin_keepdims_random/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_random_select_last_index ,nnfusion_work/test_argmax_no_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_random_select_last_index ,nnfusion_work/test_argmax_negative_axis_keepdims_random_select_last_index/test_data_set_0 , PASS
@, asin , test_asin ,nnfusion_work/test_asin/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_example ,nnfusion_work/test_argmax_keepdims_example/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_example_select_last_index ,nnfusion_work/test_argmin_negative_axis_keepdims_example_select_last_index/test_data_set_0 , PASS
LeiWang1999 commented 1 year ago

onnx unit test float16 log:

@, argmax , test_argmax_negative_axis_keepdims_example_select_last_index ,nnfusion_work/test_argmax_negative_axis_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_random ,nnfusion_work/test_argmax_keepdims_random/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_random_select_last_index ,nnfusion_work/test_argmin_default_axis_random_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_example ,nnfusion_work/test_argmin_negative_axis_keepdims_example/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_example ,nnfusion_work/test_argmax_no_keepdims_example/test_data_set_0 , PASS
@, add , test_add_uint8 , BUILD ERROR , FAILED
@, add , test_add_bcast ,nnfusion_work/test_add_bcast/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_example ,nnfusion_work/test_argmax_default_axis_example/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_example ,nnfusion_work/test_argmax_negative_axis_keepdims_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_epsilon_training_mode , EXECUTION ERROR , FAILED
@, argmin , test_argmin_default_axis_random ,nnfusion_work/test_argmin_default_axis_random/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_random ,nnfusion_work/test_argmax_default_axis_random/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_random_select_last_index ,nnfusion_work/test_argmin_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_random_select_last_index ,nnfusion_work/test_argmax_default_axis_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_example_select_last_index ,nnfusion_work/test_argmax_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_random ,nnfusion_work/test_argmin_negative_axis_keepdims_random/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_random ,nnfusion_work/test_argmax_no_keepdims_random/test_data_set_0 , PASS
@, abs , test_abs ,nnfusion_work/test_abs/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_example ,nnfusion_work/test_argmin_default_axis_example/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_random_select_last_index ,nnfusion_work/test_argmax_keepdims_random_select_last_index/test_data_set_0 , PASS
@, add , test_add ,nnfusion_work/test_add/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_example ,nnfusion_work/test_argmin_no_keepdims_example/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_random_select_last_index ,nnfusion_work/test_argmin_negative_axis_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_random ,nnfusion_work/test_argmax_negative_axis_keepdims_random/test_data_set_0 , PASS
@, atan , test_atan ,nnfusion_work/test_atan/test_data_set_0 , PASS
@, acos , test_acos_example ,nnfusion_work/test_acos_example/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_example_select_last_index ,nnfusion_work/test_argmin_no_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_example_select_last_index ,nnfusion_work/test_argmax_no_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_example_select_last_index ,nnfusion_work/test_argmax_default_axis_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_example_select_last_index ,nnfusion_work/test_argmin_default_axis_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_example ,nnfusion_work/test_argmin_keepdims_example/test_data_set_0 , PASS
@, asin , test_asin_example ,nnfusion_work/test_asin_example/test_data_set_0 , PASS
@, acos , test_acos ,nnfusion_work/test_acos/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_example ,nnfusion_work/test_batchnorm_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_example_training_mode , EXECUTION ERROR , FAILED
@, argmin , test_argmin_no_keepdims_random ,nnfusion_work/test_argmin_no_keepdims_random/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_example_select_last_index ,nnfusion_work/test_argmin_keepdims_example_select_last_index/test_data_set_0 , PASS
@, atan , test_atan_example ,nnfusion_work/test_atan_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_epsilon ,nnfusion_work/test_batchnorm_epsilon/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_random_select_last_index ,nnfusion_work/test_argmin_no_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_random ,nnfusion_work/test_argmin_keepdims_random/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_random_select_last_index ,nnfusion_work/test_argmax_no_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_random_select_last_index ,nnfusion_work/test_argmax_negative_axis_keepdims_random_select_last_index/test_data_set_0 , PASS
@, asin , test_asin ,nnfusion_work/test_asin/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_example ,nnfusion_work/test_argmax_keepdims_example/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_example_select_last_index ,nnfusion_work/test_argmin_negative_axis_keepdims_example_select_last_index/test_data_set_0 , PASS
LeiWang1999 commented 1 year ago

onnx unit test float64 log:

@, argmax , test_argmax_negative_axis_keepdims_example_select_last_index ,nnfusion_work/test_argmax_negative_axis_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_random ,nnfusion_work/test_argmax_keepdims_random/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_random_select_last_index ,nnfusion_work/test_argmin_default_axis_random_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_example ,nnfusion_work/test_argmin_negative_axis_keepdims_example/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_example ,nnfusion_work/test_argmax_no_keepdims_example/test_data_set_0 , PASS
@, add , test_add_uint8 , BUILD ERROR , FAILED
@, add , test_add_bcast ,nnfusion_work/test_add_bcast/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_example ,nnfusion_work/test_argmax_default_axis_example/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_example ,nnfusion_work/test_argmax_negative_axis_keepdims_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_epsilon_training_mode , EXECUTION ERROR , FAILED
@, argmin , test_argmin_default_axis_random ,nnfusion_work/test_argmin_default_axis_random/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_random ,nnfusion_work/test_argmax_default_axis_random/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_random_select_last_index ,nnfusion_work/test_argmin_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_random_select_last_index ,nnfusion_work/test_argmax_default_axis_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_example_select_last_index ,nnfusion_work/test_argmax_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_random ,nnfusion_work/test_argmin_negative_axis_keepdims_random/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_random ,nnfusion_work/test_argmax_no_keepdims_random/test_data_set_0 , PASS
@, abs , test_abs ,nnfusion_work/test_abs/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_example ,nnfusion_work/test_argmin_default_axis_example/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_random_select_last_index ,nnfusion_work/test_argmax_keepdims_random_select_last_index/test_data_set_0 , PASS
@, add , test_add ,nnfusion_work/test_add/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_example ,nnfusion_work/test_argmin_no_keepdims_example/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_random_select_last_index ,nnfusion_work/test_argmin_negative_axis_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_random ,nnfusion_work/test_argmax_negative_axis_keepdims_random/test_data_set_0 , PASS
@, atan , test_atan ,nnfusion_work/test_atan/test_data_set_0 , PASS
@, acos , test_acos_example ,nnfusion_work/test_acos_example/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_example_select_last_index ,nnfusion_work/test_argmin_no_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_example_select_last_index ,nnfusion_work/test_argmax_no_keepdims_example_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_default_axis_example_select_last_index ,nnfusion_work/test_argmax_default_axis_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_default_axis_example_select_last_index ,nnfusion_work/test_argmin_default_axis_example_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_example ,nnfusion_work/test_argmin_keepdims_example/test_data_set_0 , PASS
@, asin , test_asin_example ,nnfusion_work/test_asin_example/test_data_set_0 , PASS
@, acos , test_acos ,nnfusion_work/test_acos/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_example ,nnfusion_work/test_batchnorm_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_example_training_mode , EXECUTION ERROR , FAILED
@, argmin , test_argmin_no_keepdims_random ,nnfusion_work/test_argmin_no_keepdims_random/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_example_select_last_index ,nnfusion_work/test_argmin_keepdims_example_select_last_index/test_data_set_0 , PASS
@, atan , test_atan_example ,nnfusion_work/test_atan_example/test_data_set_0 , PASS
@, batchnorm , test_batchnorm_epsilon ,nnfusion_work/test_batchnorm_epsilon/test_data_set_0 , PASS
@, argmin , test_argmin_no_keepdims_random_select_last_index ,nnfusion_work/test_argmin_no_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmin , test_argmin_keepdims_random ,nnfusion_work/test_argmin_keepdims_random/test_data_set_0 , PASS
@, argmax , test_argmax_no_keepdims_random_select_last_index ,nnfusion_work/test_argmax_no_keepdims_random_select_last_index/test_data_set_0 , PASS
@, argmax , test_argmax_negative_axis_keepdims_random_select_last_index ,nnfusion_work/test_argmax_negative_axis_keepdims_random_select_last_index/test_data_set_0 , PASS
@, asin , test_asin ,nnfusion_work/test_asin/test_data_set_0 , PASS
@, argmax , test_argmax_keepdims_example ,nnfusion_work/test_argmax_keepdims_example/test_data_set_0 , PASS
@, argmin , test_argmin_negative_axis_keepdims_example_select_last_index ,nnfusion_work/test_argmin_negative_axis_keepdims_example_select_last_index/test_data_set_0 , PASS