Home
last modified time | relevance | path

Searched refs:TestOperationType (Results 1 – 25 of 627) sorted by relevance

12345678910>>...26

/frameworks/ml/nn/runtime/test/android_fuzzing/
DStaticAssert.cpp48 static_assert(static_cast<TestOperationType>(ADD) == TestOperationType::ADD);
49 static_assert(static_cast<TestOperationType>(AVERAGE_POOL_2D) ==
50 TestOperationType::AVERAGE_POOL_2D);
51 static_assert(static_cast<TestOperationType>(CONCATENATION) == TestOperationType::CONCATENATION);
52 static_assert(static_cast<TestOperationType>(CONV_2D) == TestOperationType::CONV_2D);
53 static_assert(static_cast<TestOperationType>(DEPTHWISE_CONV_2D) ==
54 TestOperationType::DEPTHWISE_CONV_2D);
55 static_assert(static_cast<TestOperationType>(DEPTH_TO_SPACE) == TestOperationType::DEPTH_TO_SPACE);
56 static_assert(static_cast<TestOperationType>(DEQUANTIZE) == TestOperationType::DEQUANTIZE);
57 static_assert(static_cast<TestOperationType>(EMBEDDING_LOOKUP) ==
[all …]
/frameworks/ml/nn/runtime/test/
DTestAssertions.cpp43 CHECK_TEST_ENUM(TestOperationType, ADD);
44 CHECK_TEST_ENUM(TestOperationType, AVERAGE_POOL_2D);
45 CHECK_TEST_ENUM(TestOperationType, CONCATENATION);
46 CHECK_TEST_ENUM(TestOperationType, CONV_2D);
47 CHECK_TEST_ENUM(TestOperationType, DEPTHWISE_CONV_2D);
48 CHECK_TEST_ENUM(TestOperationType, DEPTH_TO_SPACE);
49 CHECK_TEST_ENUM(TestOperationType, DEQUANTIZE);
50 CHECK_TEST_ENUM(TestOperationType, EMBEDDING_LOOKUP);
51 CHECK_TEST_ENUM(TestOperationType, FLOOR);
52 CHECK_TEST_ENUM(TestOperationType, FULLY_CONNECTED);
[all …]
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DNormalization.cpp32 .opType = TestOperationType::SOFTMAX, in DEFINE_OPERATION_SIGNATURE()
42 .opType = TestOperationType::SOFTMAX, in DEFINE_OPERATION_SIGNATURE()
52 .opType = TestOperationType::SOFTMAX, in DEFINE_OPERATION_SIGNATURE()
61 .opType = TestOperationType::SOFTMAX, in DEFINE_OPERATION_SIGNATURE()
73 .opType = TestOperationType::SOFTMAX, in DEFINE_OPERATION_SIGNATURE()
82 .opType = TestOperationType::SOFTMAX, in DEFINE_OPERATION_SIGNATURE()
103 .opType = TestOperationType::L2_NORMALIZATION, in DEFINE_OPERATION_SIGNATURE()
112 .opType = TestOperationType::L2_NORMALIZATION, in DEFINE_OPERATION_SIGNATURE()
121 .opType = TestOperationType::L2_NORMALIZATION, in DEFINE_OPERATION_SIGNATURE()
131 .opType = TestOperationType::L2_NORMALIZATION, in DEFINE_OPERATION_SIGNATURE()
[all …]
DElementwise.cpp27 case TestOperationType::RELU: in elementwiseOpConstructor()
28 case TestOperationType::RELU6: in elementwiseOpConstructor()
31 case TestOperationType::LOGISTIC: in elementwiseOpConstructor()
34 case TestOperationType::ABS: in elementwiseOpConstructor()
37 case TestOperationType::EXP: in elementwiseOpConstructor()
40 case TestOperationType::LOG: in elementwiseOpConstructor()
43 case TestOperationType::RSQRT: in elementwiseOpConstructor()
47 case TestOperationType::SQRT: in elementwiseOpConstructor()
57 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = TestOperationType::op, \
85 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = TestOperationType::op, \
[all …]
DBroadcast.cpp56 if (isQuantizedType(dataType) && op->opType == TestOperationType::MUL) { in broadcastOpConstructor()
63 if (op->opType == TestOperationType::DIV || op->opType == TestOperationType::POW) { in broadcastOpConstructor()
68 if ((op->opType == TestOperationType::ADD || op->opType == TestOperationType::MUL || in broadcastOpConstructor()
69 op->opType == TestOperationType::SUB || op->opType == TestOperationType::DIV) && in broadcastOpConstructor()
74 if (op->opType == TestOperationType::DIV) { in broadcastOpConstructor()
78 if (op->opType == TestOperationType::POW) { in broadcastOpConstructor()
86 .opType = TestOperationType::op, \
117 DEFINE_OPERATION_SIGNATURE(op##_##ver){.opType = TestOperationType::op, \
147 .opType = TestOperationType::op, \
/frameworks/ml/nn/runtime/test/generated/spec_V1_2/
Dl2_normalization_v1_2.example.cpp40 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis3()
117 .type = TestOperationType::ADD in get_test_model_dim4_axis3_all_inputs_as_internal()
121 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis3_all_inputs_as_internal()
168 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis3_relaxed()
245 .type = TestOperationType::ADD in get_test_model_dim4_axis3_relaxed_all_inputs_as_internal()
249 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis3_relaxed_all_inputs_as_internal()
296 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis3_float16()
373 .type = TestOperationType::ADD in get_test_model_dim4_axis3_float16_all_inputs_as_internal()
377 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis3_float16_all_inputs_as_internal()
424 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis3_quant8()
[all …]
Dcast.example.cpp40 .type = TestOperationType::CAST in get_test_model_float16_to_float16()
117 .type = TestOperationType::ADD in get_test_model_float16_to_float16_all_inputs_as_internal()
121 .type = TestOperationType::CAST in get_test_model_float16_to_float16_all_inputs_as_internal()
168 .type = TestOperationType::CAST in get_test_model_float16_to_float32()
245 .type = TestOperationType::ADD in get_test_model_float16_to_float32_all_inputs_as_internal()
249 .type = TestOperationType::CAST in get_test_model_float16_to_float32_all_inputs_as_internal()
296 .type = TestOperationType::CAST in get_test_model_float16_to_float32_relaxed()
373 .type = TestOperationType::ADD in get_test_model_float16_to_float32_relaxed_all_inputs_as_internal()
377 .type = TestOperationType::CAST in get_test_model_float16_to_float32_relaxed_all_inputs_as_internal()
424 .type = TestOperationType::CAST in get_test_model_float16_to_int32()
[all …]
Dpow.example.cpp50 .type = TestOperationType::POW in get_test_model()
167 .type = TestOperationType::ADD in get_test_model_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_all_inputs_as_internal()
175 .type = TestOperationType::POW in get_test_model_all_inputs_as_internal()
232 .type = TestOperationType::POW in get_test_model_relaxed()
349 .type = TestOperationType::ADD in get_test_model_relaxed_all_inputs_as_internal()
353 .type = TestOperationType::ADD in get_test_model_relaxed_all_inputs_as_internal()
357 .type = TestOperationType::POW in get_test_model_relaxed_all_inputs_as_internal()
414 .type = TestOperationType::POW in get_test_model_float16()
531 .type = TestOperationType::ADD in get_test_model_float16_all_inputs_as_internal()
[all …]
Dl2_normalization_axis.example.cpp50 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0()
137 .type = TestOperationType::ADD in get_test_model_dim4_axis0_all_inputs_as_internal()
141 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_all_inputs_as_internal()
198 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_relaxed()
285 .type = TestOperationType::ADD in get_test_model_dim4_axis0_relaxed_all_inputs_as_internal()
289 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_relaxed_all_inputs_as_internal()
346 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_float16()
433 .type = TestOperationType::ADD in get_test_model_dim4_axis0_float16_all_inputs_as_internal()
437 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_float16_all_inputs_as_internal()
494 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_quant8()
[all …]
Dnot_equal.example.cpp50 .type = TestOperationType::NOT_EQUAL in get_test_model_simple()
167 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
175 .type = TestOperationType::NOT_EQUAL in get_test_model_simple_all_inputs_as_internal()
232 .type = TestOperationType::NOT_EQUAL in get_test_model_simple_int32()
289 .type = TestOperationType::NOT_EQUAL in get_test_model_simple_float16()
406 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
410 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
414 .type = TestOperationType::NOT_EQUAL in get_test_model_simple_float16_all_inputs_as_internal()
471 .type = TestOperationType::NOT_EQUAL in get_test_model_simple_relaxed()
[all …]
Dless_equal.example.cpp50 .type = TestOperationType::LESS_EQUAL in get_test_model_simple()
167 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
175 .type = TestOperationType::LESS_EQUAL in get_test_model_simple_all_inputs_as_internal()
232 .type = TestOperationType::LESS_EQUAL in get_test_model_simple_int32()
289 .type = TestOperationType::LESS_EQUAL in get_test_model_simple_float16()
406 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
410 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
414 .type = TestOperationType::LESS_EQUAL in get_test_model_simple_float16_all_inputs_as_internal()
471 .type = TestOperationType::LESS_EQUAL in get_test_model_simple_relaxed()
[all …]
Dgreater_equal.example.cpp50 .type = TestOperationType::GREATER_EQUAL in get_test_model_simple()
167 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
175 .type = TestOperationType::GREATER_EQUAL in get_test_model_simple_all_inputs_as_internal()
232 .type = TestOperationType::GREATER_EQUAL in get_test_model_simple_int32()
289 .type = TestOperationType::GREATER_EQUAL in get_test_model_simple_float16()
406 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
410 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
414 .type = TestOperationType::GREATER_EQUAL in get_test_model_simple_float16_all_inputs_as_internal()
471 .type = TestOperationType::GREATER_EQUAL in get_test_model_simple_relaxed()
[all …]
Dgreater.example.cpp50 .type = TestOperationType::GREATER in get_test_model_simple()
167 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
175 .type = TestOperationType::GREATER in get_test_model_simple_all_inputs_as_internal()
232 .type = TestOperationType::GREATER in get_test_model_simple_int32()
289 .type = TestOperationType::GREATER in get_test_model_simple_float16()
406 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
410 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
414 .type = TestOperationType::GREATER in get_test_model_simple_float16_all_inputs_as_internal()
471 .type = TestOperationType::GREATER in get_test_model_simple_relaxed()
[all …]
Dless.example.cpp50 .type = TestOperationType::LESS in get_test_model_simple()
167 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
175 .type = TestOperationType::LESS in get_test_model_simple_all_inputs_as_internal()
232 .type = TestOperationType::LESS in get_test_model_simple_int32()
289 .type = TestOperationType::LESS in get_test_model_simple_float16()
406 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
410 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
414 .type = TestOperationType::LESS in get_test_model_simple_float16_all_inputs_as_internal()
471 .type = TestOperationType::LESS in get_test_model_simple_relaxed()
[all …]
Dequal.example.cpp50 .type = TestOperationType::EQUAL in get_test_model_simple()
167 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
175 .type = TestOperationType::EQUAL in get_test_model_simple_all_inputs_as_internal()
232 .type = TestOperationType::EQUAL in get_test_model_simple_int32()
289 .type = TestOperationType::EQUAL in get_test_model_simple_float16()
406 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
410 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
414 .type = TestOperationType::EQUAL in get_test_model_simple_float16_all_inputs_as_internal()
471 .type = TestOperationType::EQUAL in get_test_model_simple_relaxed()
[all …]
Dmaximum.example.cpp50 .type = TestOperationType::MAXIMUM in get_test_model_simple()
167 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
175 .type = TestOperationType::MAXIMUM in get_test_model_simple_all_inputs_as_internal()
232 .type = TestOperationType::MAXIMUM in get_test_model_simple_relaxed()
349 .type = TestOperationType::ADD in get_test_model_simple_relaxed_all_inputs_as_internal()
353 .type = TestOperationType::ADD in get_test_model_simple_relaxed_all_inputs_as_internal()
357 .type = TestOperationType::MAXIMUM in get_test_model_simple_relaxed_all_inputs_as_internal()
414 .type = TestOperationType::MAXIMUM in get_test_model_simple_float16()
531 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
[all …]
Dminimum.example.cpp50 .type = TestOperationType::MINIMUM in get_test_model_simple()
167 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
171 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
175 .type = TestOperationType::MINIMUM in get_test_model_simple_all_inputs_as_internal()
232 .type = TestOperationType::MINIMUM in get_test_model_simple_relaxed()
349 .type = TestOperationType::ADD in get_test_model_simple_relaxed_all_inputs_as_internal()
353 .type = TestOperationType::ADD in get_test_model_simple_relaxed_all_inputs_as_internal()
357 .type = TestOperationType::MINIMUM in get_test_model_simple_relaxed_all_inputs_as_internal()
414 .type = TestOperationType::MINIMUM in get_test_model_simple_float16()
531 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
[all …]
Dprelu.example.cpp50 .type = TestOperationType::PRELU in get_test_model()
137 .type = TestOperationType::ADD in get_test_model_all_inputs_as_internal()
141 .type = TestOperationType::PRELU in get_test_model_all_inputs_as_internal()
198 .type = TestOperationType::PRELU in get_test_model_all_tensors_as_inputs()
315 .type = TestOperationType::ADD in get_test_model_all_tensors_as_inputs_all_inputs_as_internal()
319 .type = TestOperationType::ADD in get_test_model_all_tensors_as_inputs_all_inputs_as_internal()
323 .type = TestOperationType::PRELU in get_test_model_all_tensors_as_inputs_all_inputs_as_internal()
380 .type = TestOperationType::PRELU in get_test_model_relaxed()
467 .type = TestOperationType::ADD in get_test_model_relaxed_all_inputs_as_internal()
471 .type = TestOperationType::PRELU in get_test_model_relaxed_all_inputs_as_internal()
[all …]
Dexpand_dims.example.cpp50 .type = TestOperationType::EXPAND_DIMS in get_test_model()
137 .type = TestOperationType::ADD in get_test_model_all_inputs_as_internal()
141 .type = TestOperationType::EXPAND_DIMS in get_test_model_all_inputs_as_internal()
198 .type = TestOperationType::EXPAND_DIMS in get_test_model_relaxed()
285 .type = TestOperationType::ADD in get_test_model_relaxed_all_inputs_as_internal()
289 .type = TestOperationType::EXPAND_DIMS in get_test_model_relaxed_all_inputs_as_internal()
346 .type = TestOperationType::EXPAND_DIMS in get_test_model_quant8()
433 .type = TestOperationType::ADD in get_test_model_quant8_all_inputs_as_internal()
437 .type = TestOperationType::EXPAND_DIMS in get_test_model_quant8_all_inputs_as_internal()
494 .type = TestOperationType::EXPAND_DIMS in get_test_model_int32()
[all …]
/frameworks/ml/nn/runtime/test/generated/spec_V1_3/
Dhard_swish.example.cpp40 .type = TestOperationType::HARD_SWISH in get_test_model_simple()
117 .type = TestOperationType::ADD in get_test_model_simple_all_inputs_as_internal()
121 .type = TestOperationType::HARD_SWISH in get_test_model_simple_all_inputs_as_internal()
168 .type = TestOperationType::HARD_SWISH in get_test_model_simple_float16()
245 .type = TestOperationType::ADD in get_test_model_simple_float16_all_inputs_as_internal()
249 .type = TestOperationType::HARD_SWISH in get_test_model_simple_float16_all_inputs_as_internal()
296 .type = TestOperationType::HARD_SWISH in get_test_model_simple_relaxed()
373 .type = TestOperationType::ADD in get_test_model_simple_relaxed_all_inputs_as_internal()
377 .type = TestOperationType::HARD_SWISH in get_test_model_simple_relaxed_all_inputs_as_internal()
424 .type = TestOperationType::HARD_SWISH in get_test_model_simple_quant8()
[all …]
Drank.example.cpp40 .type = TestOperationType::RANK in get_test_model_1d()
117 .type = TestOperationType::ADD in get_test_model_1d_all_inputs_as_internal()
121 .type = TestOperationType::RANK in get_test_model_1d_all_inputs_as_internal()
168 .type = TestOperationType::RANK in get_test_model_1d_int32()
215 .type = TestOperationType::RANK in get_test_model_1d_float16()
292 .type = TestOperationType::ADD in get_test_model_1d_float16_all_inputs_as_internal()
296 .type = TestOperationType::RANK in get_test_model_1d_float16_all_inputs_as_internal()
343 .type = TestOperationType::RANK in get_test_model_1d_quant8()
420 .type = TestOperationType::ADD in get_test_model_1d_quant8_all_inputs_as_internal()
424 .type = TestOperationType::RANK in get_test_model_1d_quant8_all_inputs_as_internal()
[all …]
Dl2_normalization_quant8_signed.example.cpp50 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_quant8_signed()
137 .type = TestOperationType::ADD in get_test_model_dim4_axis0_quant8_signed_all_inputs_as_internal()
141 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_quant8_signed_all_inputs_as_internal()
198 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_neg_quant8_signed()
285 .type = TestOperationType::ADD in get_test_model_dim4_axis0_neg_quant8_signed_all_inputs_as_internal()
289 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis0_neg_quant8_signed_all_inputs_as_internal()
346 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis1_quant8_signed()
433 .type = TestOperationType::ADD in get_test_model_dim4_axis1_quant8_signed_all_inputs_as_internal()
437 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis1_quant8_signed_all_inputs_as_internal()
494 .type = TestOperationType::L2_NORMALIZATION in get_test_model_dim4_axis1_neg_quant8_signed()
[all …]
Dcast_identity.example.cpp40 .type = TestOperationType::CAST in get_test_model_float16()
117 .type = TestOperationType::ADD in get_test_model_float16_all_inputs_as_internal()
121 .type = TestOperationType::CAST in get_test_model_float16_all_inputs_as_internal()
168 .type = TestOperationType::CAST in get_test_model_float32()
245 .type = TestOperationType::ADD in get_test_model_float32_all_inputs_as_internal()
249 .type = TestOperationType::CAST in get_test_model_float32_all_inputs_as_internal()
296 .type = TestOperationType::CAST in get_test_model_float32_relaxed()
373 .type = TestOperationType::ADD in get_test_model_float32_relaxed_all_inputs_as_internal()
377 .type = TestOperationType::CAST in get_test_model_float32_relaxed_all_inputs_as_internal()
424 .type = TestOperationType::CAST in get_test_model_int32()
[all …]
/frameworks/ml/nn/runtime/test/generated/spec_V1_3_cts_only/
Dwhile_fib_unknown_rank.example.cpp90 .type = TestOperationType::WHILE in get_test_model_n_2_unused_output()
141 .type = TestOperationType::LESS in get_test_model_n_2_unused_output()
350 .type = TestOperationType::ADD in get_test_model_n_2_unused_output()
354 .type = TestOperationType::MUL in get_test_model_n_2_unused_output()
358 .type = TestOperationType::SLICE in get_test_model_n_2_unused_output()
362 .type = TestOperationType::FULLY_CONNECTED in get_test_model_n_2_unused_output()
366 .type = TestOperationType::CONCATENATION in get_test_model_n_2_unused_output()
370 .type = TestOperationType::ADD in get_test_model_n_2_unused_output()
465 .type = TestOperationType::WHILE in get_test_model_n_2_unused_output_all_tensors_as_inputs()
516 .type = TestOperationType::LESS in get_test_model_n_2_unused_output_all_tensors_as_inputs()
[all …]
Dwhile_fib_unknown_dimension.example.cpp90 .type = TestOperationType::WHILE in get_test_model_n_2_unused_output()
141 .type = TestOperationType::LESS in get_test_model_n_2_unused_output()
350 .type = TestOperationType::ADD in get_test_model_n_2_unused_output()
354 .type = TestOperationType::MUL in get_test_model_n_2_unused_output()
358 .type = TestOperationType::SLICE in get_test_model_n_2_unused_output()
362 .type = TestOperationType::FULLY_CONNECTED in get_test_model_n_2_unused_output()
366 .type = TestOperationType::CONCATENATION in get_test_model_n_2_unused_output()
370 .type = TestOperationType::ADD in get_test_model_n_2_unused_output()
465 .type = TestOperationType::WHILE in get_test_model_n_2_unused_output_all_tensors_as_inputs()
516 .type = TestOperationType::LESS in get_test_model_n_2_unused_output_all_tensors_as_inputs()
[all …]

12345678910>>...26