/test/xts/acts/ai/nncore/opstest/src/ |
H A D | logical_and_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_AND,
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_AND,
66 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_AND,
82 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_AND,
98 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_AND,
688 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 715 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 742 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 769 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 794 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | logical_not_test.cpp | 32 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_NOT,
46 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_NOT,
60 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_NOT,
74 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_NOT,
88 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOGICAL_NOT,
676 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 703 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 730 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 757 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 782 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | unstack_test.cpp | 35 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_UNSTACK,
52 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_UNSTACK,
69 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_UNSTACK,
86 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_UNSTACK,
102 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_UNSTACK,
664 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 691 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 718 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 745 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 770 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | scatter_nd_test.cpp | 39 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SCATTER_ND,
60 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SCATTER_ND,
81 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SCATTER_ND,
102 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SCATTER_ND,
664 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 691 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 718 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 745 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 770 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 797 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | space_to_depth_test.cpp | 35 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SPACE_TO_DEPTH,
52 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SPACE_TO_DEPTH,
69 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SPACE_TO_DEPTH,
86 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SPACE_TO_DEPTH,
653 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 680 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 707 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 734 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 759 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 786 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | not_equal_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_NOT_EQUAL,
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_NOT_EQUAL,
67 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_NOT_EQUAL,
83 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_NOT_EQUAL,
642 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 669 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 696 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 723 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 748 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 775 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | leaky_relu_test.cpp | 36 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LEAKY_RELU,
54 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LEAKY_RELU,
72 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LEAKY_RELU,
87 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LEAKY_RELU,
650 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 677 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 704 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 731 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 756 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 783 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | greater_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_GREATER,
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_GREATER,
67 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_GREATER,
83 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_GREATER,
634 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 661 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 688 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 715 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 740 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 767 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | less_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LESS,
51 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LESS,
68 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LESS,
84 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LESS,
635 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 662 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 689 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 716 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 741 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 768 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | greater_equal_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_GREATER_EQUAL,
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_GREATER_EQUAL,
67 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_GREATER_EQUAL,
83 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_GREATER_EQUAL,
647 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 674 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 701 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 728 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 753 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 780 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | exp_test.cpp | 38 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_EXP,
52 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_EXP,
72 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_EXP,
92 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_EXP,
648 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 675 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 702 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 729 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 754 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 781 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | equal_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_EQUAL,
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_EQUAL,
67 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_EQUAL,
83 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_EQUAL,
634 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 661 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 688 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 715 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 740 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 767 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | flatten_test.cpp | 33 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_FLATTEN,
48 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_FLATTEN,
63 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_FLATTEN,
77 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_FLATTEN,
628 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 655 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 682 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 709 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 734 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 761 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | swish_test.cpp | 32 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SWISH,
46 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SWISH,
60 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_SWISH,
583 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 610 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 637 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 664 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 689 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 716 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 743 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | quant_dtype_cast_test.cpp | 38 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_QUANT_DTYPE_CAST,
58 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_QUANT_DTYPE_CAST,
78 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_QUANT_DTYPE_CAST,
617 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 645 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 673 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 701 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 727 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 755 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 783 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | pow_test.cpp | 38 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_POW,
58 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_POW,
79 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_POW,
606 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 633 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 660 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 687 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 712 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 739 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 766 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | reciprocal_test.cpp | 32 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_RECIPROCAL,
46 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_RECIPROCAL,
60 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_RECIPROCAL,
590 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 617 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 644 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 671 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 696 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 723 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 750 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | l2_normalize_test.cpp | 37 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_L2_NORMALIZE,
56 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_L2_NORMALIZE,
75 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_L2_NORMALIZE,
610 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 637 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 664 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 691 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 716 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 743 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 770 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | log_softmax_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOG_SOFTMAX,
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOG_SOFTMAX,
66 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_LOG_SOFTMAX,
600 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 627 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 654 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 681 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 706 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 733 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 760 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | minimum_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_MINIMUM,
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_MINIMUM,
66 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_MINIMUM,
589 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 616 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 643 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 670 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 695 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 722 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 749 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | mod_test.cpp | 34 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_MOD,
50 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_MOD,
66 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_MOD,
588 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 615 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 642 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 669 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 694 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 721 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 748 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | erf_test.cpp | 32 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_ERF,
46 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_ERF,
61 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_ERF,
583 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 610 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 637 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 664 EXPECT_EQ(OH_NN_SUCCESS, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 689 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 716 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 743 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | crop_test.cpp | 41 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_CROP,
64 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_CROP,
87 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_CROP,
622 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 649 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 676 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 703 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 728 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 755 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 782 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | all_test.cpp | 37 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_ALL,
56 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_ALL,
75 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_ALL,
601 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 628 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 655 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 682 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 707 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 734 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 761 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |
H A D | broadcast_to_test.cpp | 35 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_BROADCAST_TO,
52 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_BROADCAST_TO,
69 OHNNGraphArgs graphArgs = {.operationType = OH_NN_OPS_BROADCAST_TO,
603 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 630 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 657 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 684 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 709 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 736 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() 763 EXPECT_EQ(OH_NN_INVALID_PARAMETER, OH_NNModel_AddOperation(model, graphArgs.operationType,
in HWTEST_F() [all...] |