/frameworks/ml/nn/runtime/test/ |
D | TestRemoveDefaultArguments.cpp | 32 const test_helper::TestModel& get_test_model_nhwc(); 33 const test_helper::TestModel& get_test_model_nchw(); 34 const test_helper::TestModel& get_test_model_nhwc_5(); 38 const test_helper::TestModel& get_test_model_nhwc(); 39 const test_helper::TestModel& get_test_model_nchw(); 40 const test_helper::TestModel& get_test_model_valid_padding_nhwc(); 44 const test_helper::TestModel& get_test_model_nhwc(); 45 const test_helper::TestModel& get_test_model_valid_padding_nhwc(); 49 const test_helper::TestModel& get_test_model_nhwc(); 53 const test_helper::TestModel& get_test_model_dim4_axis3_neg(); [all …]
|
/frameworks/ml/nn/runtime/test/generated/spec_V1_3/ |
D | hard_swish.example.cpp | 9 const TestModel& get_test_model_simple() { in get_test_model_simple() 10 static TestModel model = { in get_test_model_simple() 56 const TestModel& get_test_model_simple_all_inputs_as_internal() { in get_test_model_simple_all_inputs_as_internal() 57 static TestModel model = { in get_test_model_simple_all_inputs_as_internal() 137 const TestModel& get_test_model_simple_float16() { in get_test_model_simple_float16() 138 static TestModel model = { in get_test_model_simple_float16() 184 const TestModel& get_test_model_simple_float16_all_inputs_as_internal() { in get_test_model_simple_float16_all_inputs_as_internal() 185 static TestModel model = { in get_test_model_simple_float16_all_inputs_as_internal() 265 const TestModel& get_test_model_simple_relaxed() { in get_test_model_simple_relaxed() 266 static TestModel model = { in get_test_model_simple_relaxed() [all …]
|
D | cast_identity.example.cpp | 9 const TestModel& get_test_model_float16() { in get_test_model_float16() 10 static TestModel model = { in get_test_model_float16() 56 const TestModel& get_test_model_float16_all_inputs_as_internal() { in get_test_model_float16_all_inputs_as_internal() 57 static TestModel model = { in get_test_model_float16_all_inputs_as_internal() 137 const TestModel& get_test_model_float32() { in get_test_model_float32() 138 static TestModel model = { in get_test_model_float32() 184 const TestModel& get_test_model_float32_all_inputs_as_internal() { in get_test_model_float32_all_inputs_as_internal() 185 static TestModel model = { in get_test_model_float32_all_inputs_as_internal() 265 const TestModel& get_test_model_float32_relaxed() { in get_test_model_float32_relaxed() 266 static TestModel model = { in get_test_model_float32_relaxed() [all …]
|
D | rank.example.cpp | 9 const TestModel& get_test_model_1d() { in get_test_model_1d() 10 static TestModel model = { in get_test_model_1d() 56 const TestModel& get_test_model_1d_all_inputs_as_internal() { in get_test_model_1d_all_inputs_as_internal() 57 static TestModel model = { in get_test_model_1d_all_inputs_as_internal() 137 const TestModel& get_test_model_1d_int32() { in get_test_model_1d_int32() 138 static TestModel model = { in get_test_model_1d_int32() 184 const TestModel& get_test_model_1d_float16() { in get_test_model_1d_float16() 185 static TestModel model = { in get_test_model_1d_float16() 231 const TestModel& get_test_model_1d_float16_all_inputs_as_internal() { in get_test_model_1d_float16_all_inputs_as_internal() 232 static TestModel model = { in get_test_model_1d_float16_all_inputs_as_internal() [all …]
|
D | fill.example.cpp | 9 const TestModel& get_test_model_1d() { in get_test_model_1d() 10 static TestModel model = { in get_test_model_1d() 66 const TestModel& get_test_model_1d_float16() { in get_test_model_1d_float16() 67 static TestModel model = { in get_test_model_1d_float16() 123 const TestModel& get_test_model_1d_int32() { in get_test_model_1d_int32() 124 static TestModel model = { in get_test_model_1d_int32() 180 const TestModel& get_test_model_3d() { in get_test_model_3d() 181 static TestModel model = { in get_test_model_3d() 237 const TestModel& get_test_model_3d_float16() { in get_test_model_3d_float16() 238 static TestModel model = { in get_test_model_3d_float16() [all …]
|
D | l2_normalization_quant8_signed.example.cpp | 9 const TestModel& get_test_model_dim4_axis0_quant8_signed() { in get_test_model_dim4_axis0_quant8_signed() 10 static TestModel model = { in get_test_model_dim4_axis0_quant8_signed() 66 const TestModel& get_test_model_dim4_axis0_quant8_signed_all_inputs_as_internal() { in get_test_model_dim4_axis0_quant8_signed_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_dim4_axis0_quant8_signed_all_inputs_as_internal() 157 const TestModel& get_test_model_dim4_axis0_neg_quant8_signed() { in get_test_model_dim4_axis0_neg_quant8_signed() 158 static TestModel model = { in get_test_model_dim4_axis0_neg_quant8_signed() 214 const TestModel& get_test_model_dim4_axis0_neg_quant8_signed_all_inputs_as_internal() { in get_test_model_dim4_axis0_neg_quant8_signed_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_dim4_axis0_neg_quant8_signed_all_inputs_as_internal() 305 const TestModel& get_test_model_dim4_axis1_quant8_signed() { in get_test_model_dim4_axis1_quant8_signed() 306 static TestModel model = { in get_test_model_dim4_axis1_quant8_signed() [all …]
|
D | pad_quant8_signed.example.cpp | 9 const TestModel& get_test_model_quant8_signed() { in get_test_model_quant8_signed() 10 static TestModel model = { in get_test_model_quant8_signed() 66 const TestModel& get_test_model_quant8_signed_all_inputs_as_internal() { in get_test_model_quant8_signed_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_quant8_signed_all_inputs_as_internal() 157 const TestModel& get_test_model_quant8_signed_all_tensors_as_inputs() { in get_test_model_quant8_signed_all_tensors_as_inputs() 158 static TestModel model = { in get_test_model_quant8_signed_all_tensors_as_inputs() 214 const TestModel& get_test_model_quant8_signed_all_tensors_as_inputs_all_inputs_as_internal() { in get_test_model_quant8_signed_all_tensors_as_inputs_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_quant8_signed_all_tensors_as_inputs_all_inputs_as_internal() 305 const TestModel& get_test_model() { in get_test_model() 306 static TestModel model = { in get_test_model() [all …]
|
D | elu.example.cpp | 9 const TestModel& get_test_model_alpha_one() { in get_test_model_alpha_one() 10 static TestModel model = { in get_test_model_alpha_one() 66 const TestModel& get_test_model_alpha_one_all_inputs_as_internal() { in get_test_model_alpha_one_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_alpha_one_all_inputs_as_internal() 157 const TestModel& get_test_model_alpha_one_float16() { in get_test_model_alpha_one_float16() 158 static TestModel model = { in get_test_model_alpha_one_float16() 214 const TestModel& get_test_model_alpha_one_float16_all_inputs_as_internal() { in get_test_model_alpha_one_float16_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_alpha_one_float16_all_inputs_as_internal() 305 const TestModel& get_test_model_alpha_one_relaxed() { in get_test_model_alpha_one_relaxed() 306 static TestModel model = { in get_test_model_alpha_one_relaxed() [all …]
|
/frameworks/ml/nn/runtime/test/generated/spec_V1_2/ |
D | cast.example.cpp | 9 const TestModel& get_test_model_float16_to_float16() { in get_test_model_float16_to_float16() 10 static TestModel model = { in get_test_model_float16_to_float16() 56 const TestModel& get_test_model_float16_to_float16_all_inputs_as_internal() { in get_test_model_float16_to_float16_all_inputs_as_internal() 57 static TestModel model = { in get_test_model_float16_to_float16_all_inputs_as_internal() 137 const TestModel& get_test_model_float16_to_float32() { in get_test_model_float16_to_float32() 138 static TestModel model = { in get_test_model_float16_to_float32() 184 const TestModel& get_test_model_float16_to_float32_all_inputs_as_internal() { in get_test_model_float16_to_float32_all_inputs_as_internal() 185 static TestModel model = { in get_test_model_float16_to_float32_all_inputs_as_internal() 265 const TestModel& get_test_model_float16_to_float32_relaxed() { in get_test_model_float16_to_float32_relaxed() 266 static TestModel model = { in get_test_model_float16_to_float32_relaxed() [all …]
|
D | l2_normalization_v1_2.example.cpp | 9 const TestModel& get_test_model_dim4_axis3() { in get_test_model_dim4_axis3() 10 static TestModel model = { in get_test_model_dim4_axis3() 56 const TestModel& get_test_model_dim4_axis3_all_inputs_as_internal() { in get_test_model_dim4_axis3_all_inputs_as_internal() 57 static TestModel model = { in get_test_model_dim4_axis3_all_inputs_as_internal() 137 const TestModel& get_test_model_dim4_axis3_relaxed() { in get_test_model_dim4_axis3_relaxed() 138 static TestModel model = { in get_test_model_dim4_axis3_relaxed() 184 const TestModel& get_test_model_dim4_axis3_relaxed_all_inputs_as_internal() { in get_test_model_dim4_axis3_relaxed_all_inputs_as_internal() 185 static TestModel model = { in get_test_model_dim4_axis3_relaxed_all_inputs_as_internal() 265 const TestModel& get_test_model_dim4_axis3_float16() { in get_test_model_dim4_axis3_float16() 266 static TestModel model = { in get_test_model_dim4_axis3_float16() [all …]
|
D | l2_normalization_axis.example.cpp | 9 const TestModel& get_test_model_dim4_axis0() { in get_test_model_dim4_axis0() 10 static TestModel model = { in get_test_model_dim4_axis0() 66 const TestModel& get_test_model_dim4_axis0_all_inputs_as_internal() { in get_test_model_dim4_axis0_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_dim4_axis0_all_inputs_as_internal() 157 const TestModel& get_test_model_dim4_axis0_relaxed() { in get_test_model_dim4_axis0_relaxed() 158 static TestModel model = { in get_test_model_dim4_axis0_relaxed() 214 const TestModel& get_test_model_dim4_axis0_relaxed_all_inputs_as_internal() { in get_test_model_dim4_axis0_relaxed_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_dim4_axis0_relaxed_all_inputs_as_internal() 305 const TestModel& get_test_model_dim4_axis0_float16() { in get_test_model_dim4_axis0_float16() 306 static TestModel model = { in get_test_model_dim4_axis0_float16() [all …]
|
D | expand_dims.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 66 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_all_inputs_as_internal() 157 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 158 static TestModel model = { in get_test_model_relaxed() 214 const TestModel& get_test_model_relaxed_all_inputs_as_internal() { in get_test_model_relaxed_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_relaxed_all_inputs_as_internal() 305 const TestModel& get_test_model_quant8() { in get_test_model_quant8() 306 static TestModel model = { in get_test_model_quant8() [all …]
|
D | log_softmax.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 76 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 77 static TestModel model = { in get_test_model_relaxed() 143 const TestModel& get_test_model_float16() { in get_test_model_float16() 144 static TestModel model = { in get_test_model_float16() 210 const TestModel& get_test_model_2() { in get_test_model_2() 211 static TestModel model = { in get_test_model_2() 277 const TestModel& get_test_model_relaxed_2() { in get_test_model_relaxed_2() 278 static TestModel model = { in get_test_model_relaxed_2() [all …]
|
D | neg.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 56 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 57 static TestModel model = { in get_test_model_relaxed() 103 const TestModel& get_test_model_float16() { in get_test_model_float16() 104 static TestModel model = { in get_test_model_float16() 150 const TestModel& get_test_model_int32() { in get_test_model_int32() 151 static TestModel model = { in get_test_model_int32()
|
D | pad_all_dims.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 66 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_all_inputs_as_internal() 157 const TestModel& get_test_model_all_tensors_as_inputs() { in get_test_model_all_tensors_as_inputs() 158 static TestModel model = { in get_test_model_all_tensors_as_inputs() 214 const TestModel& get_test_model_all_tensors_as_inputs_all_inputs_as_internal() { in get_test_model_all_tensors_as_inputs_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_all_tensors_as_inputs_all_inputs_as_internal() 305 const TestModel& get_test_model_float16() { in get_test_model_float16() 306 static TestModel model = { in get_test_model_float16() [all …]
|
D | softmax_v1_2.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 66 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_all_inputs_as_internal() 157 const TestModel& get_test_model_dim1_axis0() { in get_test_model_dim1_axis0() 158 static TestModel model = { in get_test_model_dim1_axis0() 214 const TestModel& get_test_model_dim1_axis0_all_inputs_as_internal() { in get_test_model_dim1_axis0_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_dim1_axis0_all_inputs_as_internal() 305 const TestModel& get_test_model_dim3_axis2() { in get_test_model_dim3_axis2() 306 static TestModel model = { in get_test_model_dim3_axis2() [all …]
|
D | dequantize_v1_2.example.cpp | 9 const TestModel& get_test_model_1d_quant8_asymm() { in get_test_model_1d_quant8_asymm() 10 static TestModel model = { in get_test_model_1d_quant8_asymm() 56 const TestModel& get_test_model_1d_quant8_asymm_all_inputs_as_internal() { in get_test_model_1d_quant8_asymm_all_inputs_as_internal() 57 static TestModel model = { in get_test_model_1d_quant8_asymm_all_inputs_as_internal() 137 const TestModel& get_test_model_1d_quant8_asymm_relaxed() { in get_test_model_1d_quant8_asymm_relaxed() 138 static TestModel model = { in get_test_model_1d_quant8_asymm_relaxed() 184 const TestModel& get_test_model_1d_quant8_asymm_relaxed_all_inputs_as_internal() { in get_test_model_1d_quant8_asymm_relaxed_all_inputs_as_internal() 185 static TestModel model = { in get_test_model_1d_quant8_asymm_relaxed_all_inputs_as_internal() 265 const TestModel& get_test_model_1d_quant8_asymm_float16() { in get_test_model_1d_quant8_asymm_float16() 266 static TestModel model = { in get_test_model_1d_quant8_asymm_float16() [all …]
|
D | topk_v2.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 76 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 77 static TestModel model = { in get_test_model_all_inputs_as_internal() 177 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 178 static TestModel model = { in get_test_model_relaxed() 244 const TestModel& get_test_model_relaxed_all_inputs_as_internal() { in get_test_model_relaxed_all_inputs_as_internal() 245 static TestModel model = { in get_test_model_relaxed_all_inputs_as_internal() 345 const TestModel& get_test_model_float16() { in get_test_model_float16() 346 static TestModel model = { in get_test_model_float16() [all …]
|
D | reduce_prod.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 76 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 77 static TestModel model = { in get_test_model_all_inputs_as_internal() 177 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 178 static TestModel model = { in get_test_model_relaxed() 244 const TestModel& get_test_model_relaxed_all_inputs_as_internal() { in get_test_model_relaxed_all_inputs_as_internal() 245 static TestModel model = { in get_test_model_relaxed_all_inputs_as_internal() 345 const TestModel& get_test_model_float16() { in get_test_model_float16() 346 static TestModel model = { in get_test_model_float16() [all …]
|
D | reduce_sum.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 76 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 77 static TestModel model = { in get_test_model_all_inputs_as_internal() 177 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 178 static TestModel model = { in get_test_model_relaxed() 244 const TestModel& get_test_model_relaxed_all_inputs_as_internal() { in get_test_model_relaxed_all_inputs_as_internal() 245 static TestModel model = { in get_test_model_relaxed_all_inputs_as_internal() 345 const TestModel& get_test_model_float16() { in get_test_model_float16() 346 static TestModel model = { in get_test_model_float16() [all …]
|
D | channel_shuffle.example.cpp | 9 const TestModel& get_test_model_dim4_axis0() { in get_test_model_dim4_axis0() 10 static TestModel model = { in get_test_model_dim4_axis0() 76 const TestModel& get_test_model_dim4_axis0_all_inputs_as_internal() { in get_test_model_dim4_axis0_all_inputs_as_internal() 77 static TestModel model = { in get_test_model_dim4_axis0_all_inputs_as_internal() 177 const TestModel& get_test_model_dim4_axis0_neg() { in get_test_model_dim4_axis0_neg() 178 static TestModel model = { in get_test_model_dim4_axis0_neg() 244 const TestModel& get_test_model_dim4_axis0_neg_all_inputs_as_internal() { in get_test_model_dim4_axis0_neg_all_inputs_as_internal() 245 static TestModel model = { in get_test_model_dim4_axis0_neg_all_inputs_as_internal() 345 const TestModel& get_test_model_dim4_axis1() { in get_test_model_dim4_axis1() 346 static TestModel model = { in get_test_model_dim4_axis1() [all …]
|
D | gather.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 76 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 77 static TestModel model = { in get_test_model_all_inputs_as_internal() 177 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 178 static TestModel model = { in get_test_model_relaxed() 244 const TestModel& get_test_model_relaxed_all_inputs_as_internal() { in get_test_model_relaxed_all_inputs_as_internal() 245 static TestModel model = { in get_test_model_relaxed_all_inputs_as_internal() 345 const TestModel& get_test_model_quant8() { in get_test_model_quant8() 346 static TestModel model = { in get_test_model_quant8() [all …]
|
D | tile_2.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 66 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_all_inputs_as_internal() 157 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 158 static TestModel model = { in get_test_model_relaxed() 214 const TestModel& get_test_model_relaxed_all_inputs_as_internal() { in get_test_model_relaxed_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_relaxed_all_inputs_as_internal() 305 const TestModel& get_test_model_float16() { in get_test_model_float16() 306 static TestModel model = { in get_test_model_float16() [all …]
|
D | argmax_2.example.cpp | 9 const TestModel& get_test_model() { in get_test_model() 10 static TestModel model = { in get_test_model() 66 const TestModel& get_test_model_all_inputs_as_internal() { in get_test_model_all_inputs_as_internal() 67 static TestModel model = { in get_test_model_all_inputs_as_internal() 157 const TestModel& get_test_model_relaxed() { in get_test_model_relaxed() 158 static TestModel model = { in get_test_model_relaxed() 214 const TestModel& get_test_model_relaxed_all_inputs_as_internal() { in get_test_model_relaxed_all_inputs_as_internal() 215 static TestModel model = { in get_test_model_relaxed_all_inputs_as_internal() 305 const TestModel& get_test_model_float16() { in get_test_model_float16() 306 static TestModel model = { in get_test_model_float16() [all …]
|
/frameworks/ml/nn/tools/test_generator/test_harness/include/ |
D | TestHarness.h | 298 struct TestModel { struct 332 TestModel copy() const { in copy() argument 333 TestModel newTestModel(*this); in copy() 433 int add(std::string name, const TestModel& testModel) { in add() 439 using TestParam = std::pair<std::string, const TestModel*>; 440 std::vector<TestParam> getTestModels(std::function<bool(const TestModel&)> filter) { in getTestModels() 464 std::map<std::string, const TestModel*> mTestModels; 503 void checkResults(const TestModel& model, const std::vector<TestBuffer>& results); 504 void checkResults(const TestModel& model, const std::vector<TestBuffer>& results, 509 TestModel convertQuant8AsymmOperandsToSigned(const TestModel& testModel); [all …]
|