From 3eec1592bd87deede7834cdca4b6d0e4baed14dc Mon Sep 17 00:00:00 2001 From: zesongw Date: Sat, 13 Jan 2024 02:22:38 +0800 Subject: [PATCH] [WebNN EP] Update WebNN unit test list (#19103) Update WebNN test list in suite-test-list.jsonc so all test cases are passed behind WebNN CPU backend on Chrome Stable (Although some cases may fall back to CPU EP). Enable int64 support for WebNN in unit tests. --- js/web/test/suite-test-list.jsonc | 409 +++++++++++++++--------------- js/web/test/test-runner.ts | 2 +- 2 files changed, 205 insertions(+), 206 deletions(-) diff --git a/js/web/test/suite-test-list.jsonc b/js/web/test/suite-test-list.jsonc index 79f42e36bf..033b3b3f4b 100644 --- a/js/web/test/suite-test-list.jsonc +++ b/js/web/test/suite-test-list.jsonc @@ -553,7 +553,7 @@ "test_gemm_broadcast", "test_gemm_default_matrix_bias", "test_gemm_default_no_bias", - "test_gemm_default_scalar_bias", + // "test_gemm_default_scalar_bias", "test_gemm_default_single_elem_vector_bias", "test_gemm_default_vector_bias", "test_gemm_default_zero_bias", @@ -637,9 +637,9 @@ "test_layer_normalization_4d_axis_negative_1", // // "test_layer_normalization_4d_axis_negative_2_expanded", "test_layer_normalization_4d_axis_negative_2", - "test_layer_normalization_4d_axis_negative_3_expanded", + // "test_layer_normalization_4d_axis_negative_3_expanded", "test_layer_normalization_4d_axis_negative_3", - "test_layer_normalization_4d_axis_negative_4_expanded", + // "test_layer_normalization_4d_axis_negative_4_expanded", "test_layer_normalization_4d_axis_negative_4", "test_layer_normalization_4d_axis0_expanded", "test_layer_normalization_4d_axis0", @@ -1502,10 +1502,10 @@ "onnx": ["resnet50", "squeezenet", "tiny_yolov2", "emotion_ferplus"], "node": [ "test_abs", - "test_acos_example", - "test_acos", - "test_acosh_example", - "test_acosh", + // "test_acos_example", + // "test_acos", + // "test_acosh_example", + // "test_acosh", // // "test_adagrad_multiple", // // "test_adagrad", // // "test_adam_multiple", @@ -1521,38 +1521,38 @@ // "test_and2d", // "test_and3d", // "test_and4d", - // "test_argmax_default_axis_example_select_last_index", - // "test_argmax_default_axis_example", - // "test_argmax_default_axis_random_select_last_index", - // "test_argmax_default_axis_random", - // "test_argmax_keepdims_example_select_last_index", - // "test_argmax_keepdims_example", - // "test_argmax_keepdims_random_select_last_index", - // "test_argmax_keepdims_random", - // "test_argmax_negative_axis_keepdims_example_select_last_index", - // "test_argmax_negative_axis_keepdims_example", - // "test_argmax_negative_axis_keepdims_random_select_last_index", - // "test_argmax_negative_axis_keepdims_random", - // "test_argmax_no_keepdims_example_select_last_index", - // "test_argmax_no_keepdims_example", - // "test_argmax_no_keepdims_random_select_last_index", - // "test_argmax_no_keepdims_random", - // "test_argmin_default_axis_example_select_last_index", - // "test_argmin_default_axis_example", - // "test_argmin_default_axis_random_select_last_index", - // "test_argmin_default_axis_random", - // "test_argmin_keepdims_example_select_last_index", - // "test_argmin_keepdims_example", - // "test_argmin_keepdims_random_select_last_index", - // "test_argmin_keepdims_random", - // "test_argmin_negative_axis_keepdims_example_select_last_index", - // "test_argmin_negative_axis_keepdims_example", - // "test_argmin_negative_axis_keepdims_random_select_last_index", - // "test_argmin_negative_axis_keepdims_random", - // "test_argmin_no_keepdims_example_select_last_index", - // "test_argmin_no_keepdims_example", - // "test_argmin_no_keepdims_random_select_last_index", - // "test_argmin_no_keepdims_random", + "test_argmax_default_axis_example_select_last_index", + "test_argmax_default_axis_example", + "test_argmax_default_axis_random_select_last_index", + "test_argmax_default_axis_random", + "test_argmax_keepdims_example_select_last_index", + "test_argmax_keepdims_example", + "test_argmax_keepdims_random_select_last_index", + "test_argmax_keepdims_random", + "test_argmax_negative_axis_keepdims_example_select_last_index", + "test_argmax_negative_axis_keepdims_example", + "test_argmax_negative_axis_keepdims_random_select_last_index", + "test_argmax_negative_axis_keepdims_random", + "test_argmax_no_keepdims_example_select_last_index", + "test_argmax_no_keepdims_example", + "test_argmax_no_keepdims_random_select_last_index", + "test_argmax_no_keepdims_random", + "test_argmin_default_axis_example_select_last_index", + "test_argmin_default_axis_example", + "test_argmin_default_axis_random_select_last_index", + "test_argmin_default_axis_random", + "test_argmin_keepdims_example_select_last_index", + "test_argmin_keepdims_example", + "test_argmin_keepdims_random_select_last_index", + "test_argmin_keepdims_random", + "test_argmin_negative_axis_keepdims_example_select_last_index", + "test_argmin_negative_axis_keepdims_example", + "test_argmin_negative_axis_keepdims_random_select_last_index", + "test_argmin_negative_axis_keepdims_random", + "test_argmin_no_keepdims_example_select_last_index", + "test_argmin_no_keepdims_example", + "test_argmin_no_keepdims_random_select_last_index", + "test_argmin_no_keepdims_random", // "test_asin_example", // "test_asin", // "test_asinh_example", @@ -1577,10 +1577,10 @@ "test_basic_conv_with_padding", "test_basic_conv_without_padding", // "test_basic_convinteger", - // "test_batchnorm_epsilon_training_mode", - // "test_batchnorm_epsilon", - // "test_batchnorm_example_training_mode", - // "test_batchnorm_example", + "test_batchnorm_epsilon_training_mode", + "test_batchnorm_epsilon", + "test_batchnorm_example_training_mode", + "test_batchnorm_example", // // "test_bernoulli_double_expanded", // // "test_bernoulli_double", // // "test_bernoulli_expanded", @@ -1600,14 +1600,14 @@ // // "test_blackmanwindow_symmetric", // // "test_blackmanwindow", // // "test_cast_BFLOAT16_to_FLOAT", - // // "test_cast_DOUBLE_to_FLOAT", - // // "test_cast_DOUBLE_to_FLOAT16", + "test_cast_DOUBLE_to_FLOAT", + // "test_cast_DOUBLE_to_FLOAT16", // // "test_cast_FLOAT_to_BFLOAT16", - // // "test_cast_FLOAT_to_DOUBLE", + "test_cast_FLOAT_to_DOUBLE", // // "test_cast_FLOAT_to_FLOAT16", // // "test_cast_FLOAT_to_STRING", - // // "test_cast_FLOAT16_to_DOUBLE", - // // "test_cast_FLOAT16_to_FLOAT", + // "test_cast_FLOAT16_to_DOUBLE", + // "test_cast_FLOAT16_to_FLOAT", // // "test_cast_STRING_to_FLOAT", // // "test_castlike_BFLOAT16_to_FLOAT_expanded", // // "test_castlike_BFLOAT16_to_FLOAT", @@ -1666,7 +1666,7 @@ "test_conv_with_strides_padding", // // "test_convinteger_with_padding", // // "test_convinteger_without_padding", - // "test_convtranspose_1d", + "test_convtranspose_1d", // // "test_convtranspose_3d", // "test_convtranspose_autopad_same", "test_convtranspose_dilations", @@ -1730,8 +1730,8 @@ "test_elu_default", "test_elu_example", "test_elu", - // "test_equal_bcast", - // "test_equal", + "test_equal_bcast", + "test_equal", // "test_erf", "test_exp_example", "test_exp", @@ -1751,14 +1751,13 @@ "test_flatten_negative_axis4", "test_floor_example", "test_floor", - // "test_gather_0", - // "test_gather_1", - // "test_gather_2d_indices", - // "test_gather_negative_indices", - // "test_gather_elements_0", - // "test_gather_elements_1", - // "test_gather_elements_negative_indices", - // "test_gather_negative_indices", + "test_gather_0", + "test_gather_1", + "test_gather_2d_indices", + "test_gather_negative_indices", + "test_gather_elements_0", + "test_gather_elements_1", + "test_gather_elements_negative_indices", // "test_gathernd_example_float32", // "test_gathernd_example_int32_batch_dim1", // "test_gathernd_example_int32", @@ -1777,14 +1776,14 @@ "test_gemm_transposeB", "test_globalaveragepool_precomputed", "test_globalaveragepool", - // "test_globalmaxpool_precomputed", - // "test_globalmaxpool", - // "test_greater_bcast", - // "test_greater_equal_bcast_expanded", - // "test_greater_equal_bcast", - // "test_greater_equal_expanded", - // "test_greater_equal", - // "test_greater", + "test_globalmaxpool_precomputed", + "test_globalmaxpool", + "test_greater_bcast", + "test_greater_equal_bcast_expanded", + "test_greater_equal_bcast", + "test_greater_equal_expanded", + "test_greater_equal", + "test_greater", // // "test_gridsample_aligncorners_true", // // "test_gridsample_bicubic", // // "test_gridsample_bilinear", @@ -1812,10 +1811,10 @@ // // "test_hardmax_example", // // "test_hardmax_negative_axis", // // "test_hardmax_one_hot", - // // "test_hardsigmoid_default", - // // "test_hardsigmoid_example", - // // "test_hardsigmoid", - // "test_hardswish_expanded", + "test_hardsigmoid_default", + "test_hardsigmoid_example", + "test_hardsigmoid", + "test_hardswish_expanded", "test_hardswish", // "test_if", // TODO: Uncomment 'test_if_seq' and 'test_if_opt' once the test infra @@ -1823,58 +1822,58 @@ // "test_if_seq", // "test_if_opt", "test_instancenorm_epsilon", - // "test_instancenorm_example", + "test_instancenorm_example", // "test_isinf_negative", // "test_isinf_positive", // "test_isinf", // "test_isnan", // "test_layer_normalization_2d_axis_negative_1_expanded", - // "test_layer_normalization_2d_axis_negative_1", + "test_layer_normalization_2d_axis_negative_1", // "test_layer_normalization_2d_axis_negative_2_expanded", - // "test_layer_normalization_2d_axis_negative_2", + "test_layer_normalization_2d_axis_negative_2", // "test_layer_normalization_2d_axis0_expanded", - // "test_layer_normalization_2d_axis0", + "test_layer_normalization_2d_axis0", // "test_layer_normalization_2d_axis1_expanded", - // "test_layer_normalization_2d_axis1", - // // "test_layer_normalization_3d_axis_negative_1_epsilon_expanded", - // "test_layer_normalization_3d_axis_negative_1_epsilon", - // // "test_layer_normalization_3d_axis_negative_2_epsilon_expanded", - // "test_layer_normalization_3d_axis_negative_2_epsilon", - // // "test_layer_normalization_3d_axis_negative_3_epsilon_expanded", - // "test_layer_normalization_3d_axis_negative_3_epsilon", - // // "test_layer_normalization_3d_axis0_epsilon_expanded", - // "test_layer_normalization_3d_axis0_epsilon", + "test_layer_normalization_2d_axis1", + // "test_layer_normalization_3d_axis_negative_1_epsilon_expanded", + "test_layer_normalization_3d_axis_negative_1_epsilon", + // "test_layer_normalization_3d_axis_negative_2_epsilon_expanded", + "test_layer_normalization_3d_axis_negative_2_epsilon", + // "test_layer_normalization_3d_axis_negative_3_epsilon_expanded", + "test_layer_normalization_3d_axis_negative_3_epsilon", + // "test_layer_normalization_3d_axis0_epsilon_expanded", + "test_layer_normalization_3d_axis0_epsilon", // "test_layer_normalization_3d_axis1_epsilon_expanded", - // "test_layer_normalization_3d_axis1_epsilon", - // // "test_layer_normalization_3d_axis2_epsilon_expanded", - // "test_layer_normalization_3d_axis2_epsilon", + "test_layer_normalization_3d_axis1_epsilon", + // "test_layer_normalization_3d_axis2_epsilon_expanded", + "test_layer_normalization_3d_axis2_epsilon", // "test_layer_normalization_4d_axis_negative_1_expanded", - // "test_layer_normalization_4d_axis_negative_1", - // // "test_layer_normalization_4d_axis_negative_2_expanded", - // "test_layer_normalization_4d_axis_negative_2", + "test_layer_normalization_4d_axis_negative_1", + // "test_layer_normalization_4d_axis_negative_2_expanded", + "test_layer_normalization_4d_axis_negative_2", // "test_layer_normalization_4d_axis_negative_3_expanded", - // "test_layer_normalization_4d_axis_negative_3", + "test_layer_normalization_4d_axis_negative_3", // "test_layer_normalization_4d_axis_negative_4_expanded", - // "test_layer_normalization_4d_axis_negative_4", + "test_layer_normalization_4d_axis_negative_4", // "test_layer_normalization_4d_axis0_expanded", - // "test_layer_normalization_4d_axis0", + "test_layer_normalization_4d_axis0", // "test_layer_normalization_4d_axis1_expanded", - // "test_layer_normalization_4d_axis1", + "test_layer_normalization_4d_axis1", // "test_layer_normalization_4d_axis2_expanded", - // "test_layer_normalization_4d_axis2", + "test_layer_normalization_4d_axis2", // "test_layer_normalization_4d_axis3_expanded", - // "test_layer_normalization_4d_axis3", + "test_layer_normalization_4d_axis3", // "test_layer_normalization_default_axis_expanded", - // "test_layer_normalization_default_axis", + "test_layer_normalization_default_axis", "test_leakyrelu_default", "test_leakyrelu_example", "test_leakyrelu", - // "test_less_bcast", - // "test_less_equal_bcast_expanded", - // "test_less_equal_bcast", - // "test_less_equal_expanded", - // "test_less_equal", - // "test_less", + "test_less_bcast", + "test_less_equal_bcast_expanded", + "test_less_equal_bcast", + "test_less_equal_expanded", + "test_less_equal", + "test_less", "test_log_example", "test_log", // // "test_logsoftmax_axis_0_expanded", @@ -1897,20 +1896,20 @@ // // "test_lstm_defaults", // // "test_lstm_with_initial_bias", // // "test_lstm_with_peepholes", - // "test_matmul_2d", - // "test_matmul_3d", - // "test_matmul_4d", + "test_matmul_2d", + "test_matmul_3d", + "test_matmul_4d", // // "test_matmulinteger", - // "test_max_example", + "test_max_example", // "test_max_float16", - // "test_max_float32", - // "test_max_float64", + "test_max_float32", + "test_max_float64", // "test_max_int16", // "test_max_int32", // "test_max_int64", // "test_max_int8", - // "test_max_one_input", - // "test_max_two_inputs", + "test_max_one_input", + "test_max_two_inputs", // "test_max_uint16", // "test_max_uint32", // "test_max_uint64", @@ -1918,7 +1917,7 @@ // "test_maxpool_1d_default", // "test_maxpool_2d_ceil", "test_maxpool_2d_default", - // "test_maxpool_2d_dilations", + "test_maxpool_2d_dilations", "test_maxpool_2d_pads", "test_maxpool_2d_precomputed_pads", "test_maxpool_2d_precomputed_same_upper", @@ -1936,16 +1935,16 @@ // // "test_mean_one_input", // // "test_mean_two_inputs", // // "test_melweightmatrix", - // "test_min_example", + "test_min_example", // "test_min_float16", - // "test_min_float32", - // "test_min_float64", + "test_min_float32", + "test_min_float64", // "test_min_int16", // "test_min_int32", // "test_min_int64", // "test_min_int8", - // "test_min_one_input", - // "test_min_two_inputs", + "test_min_one_input", + "test_min_two_inputs", // "test_min_uint16", // "test_min_uint32", // "test_min_uint64", @@ -2060,9 +2059,9 @@ // "test_nonmaxsuppression_two_batches", // "test_nonmaxsuppression_two_classes", // "test_nonzero_example", - // "test_not_2d", - // "test_not_3d", - // "test_not_4d", + "test_not_2d", + "test_not_3d", + "test_not_4d", // // "test_onehot_negative_indices", // // "test_onehot_with_axis", // // "test_onehot_with_negative_axis", @@ -2093,8 +2092,8 @@ // "test_pow_types_int64_float32", // "test_pow_types_int64_int64", "test_pow", - // "test_prelu_broadcast", - // "test_prelu_example", + "test_prelu_broadcast", + "test_prelu_example", // // "test_qlinearconv", // // "test_qlinearmatmul_2D", // // "test_qlinearmatmul_3D", @@ -2104,27 +2103,27 @@ // "test_range_float_type_positive_delta", // "test_range_int32_type_negative_delta_expanded", // "test_range_int32_type_negative_delta", - // "test_reciprocal_example", - // "test_reciprocal", - // "test_reduce_l1_default_axes_keepdims_example", - // "test_reduce_l1_default_axes_keepdims_random", - // "test_reduce_l1_do_not_keepdims_example", - // "test_reduce_l1_do_not_keepdims_random", - // "test_reduce_l1_keep_dims_example", - // "test_reduce_l1_keep_dims_random", - // "test_reduce_l1_negative_axes_keep_dims_example", - // "test_reduce_l1_negative_axes_keep_dims_random", - // "test_reduce_l2_default_axes_keepdims_example", - // "test_reduce_l2_default_axes_keepdims_random", - // "test_reduce_l2_do_not_keepdims_example", - // "test_reduce_l2_do_not_keepdims_random", - // "test_reduce_l2_keep_dims_example", - // "test_reduce_l2_keep_dims_random", - // "test_reduce_l2_negative_axes_keep_dims_example", - // "test_reduce_l2_negative_axes_keep_dims_random", - // "test_reduce_log_sum_asc_axes", - // "test_reduce_log_sum_default", - // "test_reduce_log_sum_desc_axes", + "test_reciprocal_example", + "test_reciprocal", + "test_reduce_l1_default_axes_keepdims_example", + "test_reduce_l1_default_axes_keepdims_random", + "test_reduce_l1_do_not_keepdims_example", + "test_reduce_l1_do_not_keepdims_random", + "test_reduce_l1_keep_dims_example", + "test_reduce_l1_keep_dims_random", + "test_reduce_l1_negative_axes_keep_dims_example", + "test_reduce_l1_negative_axes_keep_dims_random", + "test_reduce_l2_default_axes_keepdims_example", + "test_reduce_l2_default_axes_keepdims_random", + "test_reduce_l2_do_not_keepdims_example", + "test_reduce_l2_do_not_keepdims_random", + "test_reduce_l2_keep_dims_example", + "test_reduce_l2_keep_dims_random", + "test_reduce_l2_negative_axes_keep_dims_example", + "test_reduce_l2_negative_axes_keep_dims_random", + "test_reduce_log_sum_asc_axes", + "test_reduce_log_sum_default", + "test_reduce_log_sum_desc_axes", // tests "test_reduce_log_sum_exp_*" on opset17/opset18 are excluded because they use float64. // "opset{7,8,9}/test_reduce_log_sum_exp_default_axes_keepdims_example", // "opset{7,8,9}/test_reduce_log_sum_exp_default_axes_keepdims_random", @@ -2134,9 +2133,9 @@ // "opset{7,8,9}/test_reduce_log_sum_exp_keepdims_random", // "opset11/test_reduce_log_sum_exp_negative_axes_keepdims_example", // "opset11/test_reduce_log_sum_exp_negative_axes_keepdims_random", - // "test_reduce_log_sum_negative_axes", - // "test_reduce_log_sum", - // "test_reduce_max_default_axes_keepdim_example", + "test_reduce_log_sum_negative_axes", + "test_reduce_log_sum", + "test_reduce_max_default_axes_keepdim_example", // "test_reduce_max_default_axes_keepdims_random", // "test_reduce_max_do_not_keepdims_example", // "test_reduce_max_do_not_keepdims_random", @@ -2172,8 +2171,8 @@ // "test_reduce_sum_default_axes_keepdims_random", // "test_reduce_sum_do_not_keepdims_example", // "test_reduce_sum_do_not_keepdims_random", - // "test_reduce_sum_empty_axes_input_noop_example", - // "test_reduce_sum_empty_axes_input_noop_random", + "test_reduce_sum_empty_axes_input_noop_example", + "test_reduce_sum_empty_axes_input_noop_random", // "test_reduce_sum_keepdims_example", // "test_reduce_sum_keepdims_random", // "test_reduce_sum_negative_axes_keepdims_example", @@ -2188,45 +2187,45 @@ // "test_reduce_sum_square_negative_axes_keepdims_random", // "test_reflect_pad", "test_relu", - // "test_reshape_allowzero_reordered", - // "test_reshape_extended_dims", - // "test_reshape_negative_dim", - // "test_reshape_negative_extended_dims", - // "test_reshape_one_dim", - // "test_reshape_reduced_dims", - // "test_reshape_reordered_all_dims", - // "test_reshape_reordered_dims", - // "test_reshape_reordered_last_dims", - // "test_reshape_zero_and_negative_dim", - // "test_reshape_zero_dim", - // "test_resize_downsample_linear", - // "test_resize_downsample_nearest", - // "test_resize_downsample_scales_cubic_A_n0p5_exclude_outside", + "test_reshape_allowzero_reordered", + "test_reshape_extended_dims", + "test_reshape_negative_dim", + "test_reshape_negative_extended_dims", + "test_reshape_one_dim", + "test_reshape_reduced_dims", + "test_reshape_reordered_all_dims", + "test_reshape_reordered_dims", + "test_reshape_reordered_last_dims", + "test_reshape_zero_and_negative_dim", + "test_reshape_zero_dim", + "test_resize_downsample_linear", + "test_resize_downsample_nearest", + "test_resize_downsample_scales_cubic_A_n0p5_exclude_outside", // "test_resize_downsample_scales_cubic_align_corners", - // "test_resize_downsample_scales_cubic", + "test_resize_downsample_scales_cubic", // "test_resize_downsample_scales_linear_align_corners", - // "test_resize_downsample_scales_linear", - // "test_resize_downsample_scales_nearest", - // "test_resize_downsample_sizes_cubic", - // "test_resize_downsample_sizes_linear_pytorch_half_pixel", - // "test_resize_downsample_sizes_nearest_tf_half_pixel_for_nn", - // "test_resize_downsample_sizes_nearest", - // "test_resize_nearest", - // "test_resize_tf_crop_and_resize", - // "test_resize_upsample_linear", - // "test_resize_upsample_nearest", - // "test_resize_upsample_scales_cubic_A_n0p5_exclude_outside", - // "test_resize_upsample_scales_cubic_align_corners", - // "test_resize_upsample_scales_cubic_asymmetric", - // "test_resize_upsample_scales_cubic", - // "test_resize_upsample_scales_linear_align_corners", - // "test_resize_upsample_scales_linear", - // "test_resize_upsample_scales_nearest", - // "test_resize_upsample_sizes_cubic", - // "opset{12,13,17,18}/test_resize_upsample_sizes_nearest_ceil_half_pixel", - // "opset{12,13,17,18}/test_resize_upsample_sizes_nearest_floor_align_corners", - // "opset{12,13,17,18}/test_resize_upsample_sizes_nearest_round_prefer_ceil_asymmetric", - // "test_resize_upsample_sizes_nearest", + "test_resize_downsample_scales_linear", + "test_resize_downsample_scales_nearest", + "test_resize_downsample_sizes_cubic", + "test_resize_downsample_sizes_linear_pytorch_half_pixel", + "test_resize_downsample_sizes_nearest_tf_half_pixel_for_nn", + "test_resize_downsample_sizes_nearest", + "test_resize_nearest", + "test_resize_tf_crop_and_resize", + "test_resize_upsample_linear", + "test_resize_upsample_nearest", + "test_resize_upsample_scales_cubic_A_n0p5_exclude_outside", + "test_resize_upsample_scales_cubic_align_corners", + "test_resize_upsample_scales_cubic_asymmetric", + "test_resize_upsample_scales_cubic", + "test_resize_upsample_scales_linear_align_corners", + "test_resize_upsample_scales_linear", + "test_resize_upsample_scales_nearest", + "test_resize_upsample_sizes_cubic", + "opset{12,13,17,18}/test_resize_upsample_sizes_nearest_ceil_half_pixel", + "opset{12,13,17,18}/test_resize_upsample_sizes_nearest_floor_align_corners", + "opset{12,13,17,18}/test_resize_upsample_sizes_nearest_round_prefer_ceil_asymmetric", + "test_resize_upsample_sizes_nearest", // // "test_reversesequence_batch", // // "test_reversesequence_time", // // "test_rnn_seq_length", @@ -2440,17 +2439,17 @@ // // "test_softsign", // "test_spacetodepth_example", // "test_spacetodepth", - // "test_split_equal_parts_1d", - // "test_split_equal_parts_2d", - // "test_split_equal_parts_default_axis", - // "test_split_variable_parts_1d", - // "test_split_variable_parts_2d", - // "test_split_variable_parts_default_axis", - // "test_split_zero_size_splits", + "test_split_equal_parts_1d", + "test_split_equal_parts_2d", + "test_split_equal_parts_default_axis", + "test_split_variable_parts_1d", + "test_split_variable_parts_2d", + "test_split_variable_parts_default_axis", + "test_split_zero_size_splits", "test_sqrt_example", "test_sqrt", - // "test_squeeze_negative_axes", - // "test_squeeze", + "test_squeeze_negative_axes", + "test_squeeze", // // "test_stft_with_window", // // "test_stft", // // "test_strnormalizer_export_monday_casesensintive_lower", @@ -2497,7 +2496,7 @@ "test_transpose_all_permutations_3", "test_transpose_all_permutations_4", "test_transpose_all_permutations_5", - "test_transpose_default" + "test_transpose_default", // "test_tril_neg", // "test_tril_one_row_neg", // "test_tril_out_neg", @@ -2521,18 +2520,18 @@ // // "test_unique_sorted_with_axis", // // "test_unique_sorted_with_negative_axis", // // "test_unique_sorted_without_axis", - // "test_unsqueeze_axis_0", - // "test_unsqueeze_axis_1", - // "test_unsqueeze_axis_2", - // "test_unsqueeze_axis_3", - // "test_unsqueeze_negative_axes", - // "test_unsqueeze_three_axes", - // "test_unsqueeze_two_axes", - // "test_unsqueeze_unsorted_axes", - // "test_unsqueeze", + "test_unsqueeze_axis_0", + "test_unsqueeze_axis_1", + "test_unsqueeze_axis_2", + "test_unsqueeze_axis_3", + "test_unsqueeze_negative_axes", + "test_unsqueeze_three_axes", + "test_unsqueeze_two_axes", + "test_unsqueeze_unsorted_axes", + "test_unsqueeze", // "test_wrap_pad" // "test_upsample_nearest", - // "test_where_example", + "test_where_example" // "test_where_long_example", // "test_xor_bcast3v1d", // "test_xor_bcast3v2d", diff --git a/js/web/test/test-runner.ts b/js/web/test/test-runner.ts index 6d5951be7b..3492c8f378 100644 --- a/js/web/test/test-runner.ts +++ b/js/web/test/test-runner.ts @@ -96,7 +96,7 @@ async function loadTensors( const outputs: Test.NamedTensor[] = []; let dataFileType: 'none'|'pb'|'npy' = 'none'; - const allowInt64 = ['wasm', 'xnnpack', 'webgpu'].includes(backendName); + const allowInt64 = ['wasm', 'xnnpack', 'webgpu', 'webnn'].includes(backendName); for (const dataFile of testCase.dataFiles) { const ext = extname(dataFile);