/external/tensorflow/tensorflow/lite/kernels/ |
D | comparisons_test.cc | 394 model.QuantizeAndPopulate<uint8_t>(model.input1(), {1, 9, 7, 3}); in TEST() 395 model.QuantizeAndPopulate<uint8_t>(model.input2(), {1, 2, 7, 5}); in TEST() 407 model.QuantizeAndPopulate<int8_t>(model.input1(), {1, -9, 7, 3}); in TEST() 408 model.QuantizeAndPopulate<int8_t>(model.input2(), {-1, 2, 7, 5}); in TEST() 420 model.QuantizeAndPopulate<uint8_t>(model.input1(), {1, 9, 7, 3}); in TEST() 421 model.QuantizeAndPopulate<uint8_t>(model.input2(), {1, 2, 7, 0}); in TEST() 433 model.QuantizeAndPopulate<int8_t>(model.input1(), {1, -9, 7, 3}); in TEST() 434 model.QuantizeAndPopulate<int8_t>(model.input2(), {1, 2, 7, 5}); in TEST() 446 model.QuantizeAndPopulate<uint8_t>(model.input1(), {1, 9, 7, 3}); in TEST() 447 model.QuantizeAndPopulate<uint8_t>(model.input2(), {1, 2, 6, 5}); in TEST() [all …]
|
D | add_test.cc | 207 m.QuantizeAndPopulate<integer_dtype>(m.input1(), inputs1[i]); in QuantizedTestsNoActivation() 208 m.QuantizeAndPopulate<integer_dtype>(m.input2(), inputs2[i]); in QuantizedTestsNoActivation() 240 m.QuantizeAndPopulate<int16_t>(m.input1(), inputs1[i]); in TEST() 241 m.QuantizeAndPopulate<int16_t>(m.input2(), inputs2[i]); in TEST() 264 m.QuantizeAndPopulate<integer_dtype>(m.input1(), inputs1[i]); in QuantizedTestsActivationRELU_N1_TO_1() 265 m.QuantizeAndPopulate<integer_dtype>(m.input2(), inputs2[i]); in QuantizedTestsActivationRELU_N1_TO_1() 292 m.QuantizeAndPopulate<integer_dtype>(m.input1(), in QuantizedVariousInputShapes() 294 m.QuantizeAndPopulate<integer_dtype>(m.input2(), in QuantizedVariousInputShapes() 321 model_fixture.QuantizeAndPopulate<integer_dtype>( in QuantizedWithScalarBroadcast() 323 model_fixture.QuantizeAndPopulate<integer_dtype>(model_fixture.input2(), in QuantizedWithScalarBroadcast() [all …]
|
D | sub_test.cc | 211 m.QuantizeAndPopulate<integer_dtype>(m.input1(), inputs1[i]); in QuantizedTestsNoActivation() 212 m.QuantizeAndPopulate<integer_dtype>(m.input2(), inputs2[i]); in QuantizedTestsNoActivation() 243 m.QuantizeAndPopulate<integer_dtype>(m.input1(), inputs1[i]); in QuantizedTestsActivationRELU_N1_TO_1() 244 m.QuantizeAndPopulate<integer_dtype>(m.input2(), inputs2[i]); in QuantizedTestsActivationRELU_N1_TO_1() 270 m.QuantizeAndPopulate<integer_dtype>(m.input1(), in QuantizedVariousInputShapes() 272 m.QuantizeAndPopulate<integer_dtype>(m.input2(), in QuantizedVariousInputShapes() 299 m.QuantizeAndPopulate<integer_dtype>(m.input1(), in QuantizedWithBroadcast() 301 m.QuantizeAndPopulate<integer_dtype>(m.input2(), {0.7}); in QuantizedWithBroadcast() 335 m.QuantizeAndPopulate<int16_t>(m.input1(), inputs1[i]); in TEST() 336 m.QuantizeAndPopulate<int16_t>(m.input2(), inputs2[i]); in TEST() [all …]
|
D | reduce_test.cc | 281 m.QuantizeAndPopulate<uint8_t>(m.Input(), data); in TEST() 297 m.QuantizeAndPopulate<uint8_t>(m.Input(), data); in TEST() 312 m.QuantizeAndPopulate<uint8_t>(m.Input(), data); in TEST() 379 m.QuantizeAndPopulate<uint8_t>(m.Input(), data); in TEST() 392 m.QuantizeAndPopulate<uint8_t>(m.Input(), data); in TEST() 408 m.QuantizeAndPopulate<int8_t>(m.Input(), data); in TEST() 425 m.QuantizeAndPopulate<int8_t>(m.Input(), data); in TEST() 442 m.QuantizeAndPopulate<uint8_t>(m.Input(), data); in TEST() 458 m.QuantizeAndPopulate<uint8_t>(m.Input(), data); in TEST() 473 m.QuantizeAndPopulate<uint8_t>(m.Input(), data); in TEST() [all …]
|
D | mul_test.cc | 201 m.QuantizeAndPopulate<integer_dtype>(m.input1(), {-0.8, 0.2, 0.9, 0.7}); in NoActivation() 202 m.QuantizeAndPopulate<integer_dtype>(m.input2(), {0.6, 0.4, 0.9, 0.8}); in NoActivation() 224 m.QuantizeAndPopulate<int16_t>(m.input1(), {-0.8, 0.2, 0.9, 0.7}); in TEST() 225 m.QuantizeAndPopulate<int16_t>(m.input2(), {0.6, 0.4, 0.9, 0.8}); in TEST() 242 m.QuantizeAndPopulate<int16_t>(m.input1(), {-0.8, 0.2, 0.9, 0.7}); in NoActivationInt16With8BitOutput() 243 m.QuantizeAndPopulate<int16_t>(m.input2(), {0.6, 0.4, 0.9, 0.8}); in NoActivationInt16With8BitOutput() 275 m.QuantizeAndPopulate<integer_dtype>(m.input1(), in WithBroadcast() 277 m.QuantizeAndPopulate<integer_dtype>(m.input2(), {0.1}); in WithBroadcast()
|
D | l2norm_test.cc | 100 m.QuantizeAndPopulate<uint8_t>(m.input(), {-1.1, 0.6, 0.7, 1.2, -0.7, 0.1}); in TEST() 112 m.QuantizeAndPopulate<int8_t>(m.input(), {-1.1, 0.6, 0.7, 1.2, -0.7, 0.1}); in TEST() 125 m.QuantizeAndPopulate<uint8_t>(m.input(), in TEST() 151 m.QuantizeAndPopulate<int8_t>(m.input(), in TEST()
|
D | detection_postprocess_test.cc | 205 m.QuantizeAndPopulate<uint8_t>(m.input1(), inputs1[0]); in TEST() 210 m.QuantizeAndPopulate<uint8_t>(m.input2(), inputs2[0]); in TEST() 220 m.QuantizeAndPopulate<uint8_t>(m.input3(), inputs3[0]); in TEST() 416 m.QuantizeAndPopulate<uint8_t>(m.input1(), inputs1[0]); in TEST() 421 m.QuantizeAndPopulate<uint8_t>(m.input2(), inputs2[0]); in TEST() 431 m.QuantizeAndPopulate<uint8_t>(m.input3(), inputs3[0]); in TEST() 528 m.QuantizeAndPopulate<uint8_t>(m.input1(), inputs1[0]); in TEST() 533 m.QuantizeAndPopulate<uint8_t>(m.input2(), inputs2[0]); in TEST() 543 m.QuantizeAndPopulate<uint8_t>(m.input3(), inputs3[0]); in TEST()
|
D | pooling_test.cc | 67 QuantizeAndPopulate<uint8_t>(input_, data); in SetInput() 71 QuantizeAndPopulate<uint8_t>(input_, data); in SetInput() 86 QuantizeAndPopulate<int8_t>(input_, data); in SetInput() 90 QuantizeAndPopulate<int8_t>(input_, data); in SetInput()
|
D | depthwise_conv_test.cc | 267 QuantizeAndPopulate<uint8_t>(input_, data); in SetInput() 271 QuantizeAndPopulate<uint8_t>(filter_, data); in SetFilter() 275 QuantizeAndPopulate<int32_t>(bias_, data); in SetBias() 472 QuantizeAndPopulate<int8_t>(input_, data); in SetInput()
|
D | conv_test.cc | 597 QuantizeAndPopulate<uint8_t>(input_, data); in SetInput() 601 QuantizeAndPopulate<uint8_t>(filter_, data); in SetFilter() 605 QuantizeAndPopulate<int32_t>(bias_, data); in SetBias() 1115 QuantizeAndPopulate<int8_t>(input_, data); in SetInput()
|
D | activations_test.cc | 107 QuantizeAndPopulate<T>(input_, data); in SetInput() 874 QuantizeAndPopulate<T>(input_, data); in SetInput() 878 QuantizeAndPopulate<T>(alpha_, data); in SetAlpha()
|
D | fully_connected_test.cc | 221 QuantizeAndPopulate<int32_t>(bias_, data); in SetBias() 225 QuantizeAndPopulate<T>(weights_, data); in SetWeights() 257 QuantizeAndPopulate<T>(input_, data); in SetInput()
|
D | concatenation_test.cc | 83 QuantizeAndPopulate<T>(index, data); in SetInput()
|
D | pad_test.cc | 37 QuantizeAndPopulate<QuantizedInputOutput>(input_, data); in SetQuantizedInput() 42 QuantizeAndPopulate<QuantizedInputOutput>(constant_values_, {data}); in SetQuantizedPadValue()
|
D | space_to_batch_nd_test.cc | 36 QuantizeAndPopulate<T>(input_, data); in SetQuantizedInput()
|
D | test_util.h | 180 void QuantizeAndPopulate(int index, const std::vector<float>& data) { in QuantizeAndPopulate() function
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate_test.cc | 74 QuantizeAndPopulate<int32_t>(index, data); in SetData() 77 QuantizeAndPopulate<uint8_t>(index, data); in SetData() 80 QuantizeAndPopulate<int8_t>(index, data); in SetData() 980 QuantizeAndPopulate<uint8_t>(index, data); in SetInput() 1329 QuantizeAndPopulate<T>(input_, data); in SetInput() 1540 QuantizeAndPopulate<uint8_t>(input_, data); in SetQuantizedInput() 1544 QuantizeAndPopulate<uint8_t>(constant_values_, {data}); in SetQuantizedPadValue()
|