Home
last modified time | relevance | path

Searched refs:QuantizeAndPopulate (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/lite/kernels/
Dcomparisons_test.cc394 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 …]
Dadd_test.cc207 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 …]
Dsub_test.cc211 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 …]
Dreduce_test.cc281 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 …]
Dmul_test.cc201 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()
Dl2norm_test.cc100 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()
Ddetection_postprocess_test.cc205 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()
Dpooling_test.cc67 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()
Ddepthwise_conv_test.cc267 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()
Dconv_test.cc597 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()
Dactivations_test.cc107 QuantizeAndPopulate<T>(input_, data); in SetInput()
874 QuantizeAndPopulate<T>(input_, data); in SetInput()
878 QuantizeAndPopulate<T>(alpha_, data); in SetAlpha()
Dfully_connected_test.cc221 QuantizeAndPopulate<int32_t>(bias_, data); in SetBias()
225 QuantizeAndPopulate<T>(weights_, data); in SetWeights()
257 QuantizeAndPopulate<T>(input_, data); in SetInput()
Dconcatenation_test.cc83 QuantizeAndPopulate<T>(index, data); in SetInput()
Dpad_test.cc37 QuantizeAndPopulate<QuantizedInputOutput>(input_, data); in SetQuantizedInput()
42 QuantizeAndPopulate<QuantizedInputOutput>(constant_values_, {data}); in SetQuantizedPadValue()
Dspace_to_batch_nd_test.cc36 QuantizeAndPopulate<T>(input_, data); in SetQuantizedInput()
Dtest_util.h180 void QuantizeAndPopulate(int index, const std::vector<float>& data) { in QuantizeAndPopulate() function
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc74 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()