Home
last modified time | relevance | path

Searched refs:kTfLiteInt8 (Results 1 – 25 of 187) sorted by relevance

12345678

/external/tensorflow/tensorflow/lite/delegates/hexagon/
Dutils.cc145 {{kTfLiteUInt8, kTfLiteInt8}, {kTfLiteUInt8, kTfLiteInt8}})) in IsNodeSupportedByHexagon()
154 {{kTfLiteUInt8, kTfLiteInt8}, {kTfLiteUInt8, kTfLiteInt8}})) in IsNodeSupportedByHexagon()
164 {{kTfLiteUInt8, kTfLiteInt8}, {kTfLiteUInt8, kTfLiteInt8}})) in IsNodeSupportedByHexagon()
178 {{kTfLiteUInt8, kTfLiteInt8}, {kTfLiteInt32}}) && in IsNodeSupportedByHexagon()
183 node, context, {{kTfLiteUInt8, kTfLiteInt8}, {kTfLiteInt32}}) || in IsNodeSupportedByHexagon()
198 node, context, {{kTfLiteUInt8, kTfLiteInt8}, {kTfLiteInt32}}) && in IsNodeSupportedByHexagon()
203 {{kTfLiteUInt8, kTfLiteInt8}, in IsNodeSupportedByHexagon()
204 {kTfLiteUInt8, kTfLiteInt8}, in IsNodeSupportedByHexagon()
228 !TensorTypeMatch(node->inputs->data[i], context, kTfLiteInt8)) in IsNodeSupportedByHexagon()
234 if (!InputsWithCorrectTypes(node, context, {{kTfLiteUInt8, kTfLiteInt8}})) in IsNodeSupportedByHexagon()
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/
Dquantize.cc58 input->type == kTfLiteInt8); in Prepare()
60 output->type == kTfLiteInt8 || in Prepare()
64 if ((input->type == kTfLiteInt16 && output->type == kTfLiteInt8) || in Prepare()
65 (input->type == kTfLiteInt8 && output->type == kTfLiteInt8) || in Prepare()
Dquantize_common.cc37 case kTfLiteInt8: in EvalQuantizeReference()
67 case kTfLiteInt8: in EvalQuantizeReference()
94 } else if (input->type == kTfLiteInt8) { in EvalQuantizeReference()
99 case kTfLiteInt8: in EvalQuantizeReference()
Dsoftmax_common.cc35 if (input->type == kTfLiteUInt8 || input->type == kTfLiteInt8 || in CalculateSoftmaxParams()
45 TF_LITE_ENSURE_TYPES_EQ(context, input->type, kTfLiteInt8); in CalculateSoftmaxParams()
51 TF_LITE_ENSURE_TYPES_EQ(context, output->type, kTfLiteInt8); in CalculateSoftmaxParams()
121 TF_LITE_ENSURE(context, input->type == kTfLiteInt8 || in SoftmaxPrepare()
Dlogistic.cc51 if (input->type == kTfLiteInt8) { in CalculateArithmeticOpData()
108 } else if (input->type == kTfLiteInt8) { in LogisticEval()
110 case kTfLiteInt8: { in LogisticEval()
Dl2norm.cc61 output->type == kTfLiteInt8); in Prepare()
64 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Prepare()
119 } else if (output->type == kTfLiteInt8) { in Eval()
Ddequantize.cc60 input->type == kTfLiteInt8 || in Prepare()
95 case kTfLiteInt8: in Eval()
119 case kTfLiteInt8: { in Eval()
Dcast.cc48 case kTfLiteInt8: in copyToTensor()
71 case kTfLiteInt8: in Eval()
Dsub.cc65 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in CalculateOpData()
154 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in EvalSubQuantized()
172 if (output->type == kTfLiteInt8) { in EvalSubQuantized()
229 } else if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Eval()
Dadd.cc69 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in CalculateOpData()
136 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in EvalAddQuantized()
153 if (output->type == kTfLiteInt8) { in EvalAddQuantized()
234 } else if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Eval()
Dsvdf.cc231 input->type == kTfLiteFloat32 || input->type == kTfLiteInt8); in Prepare()
270 if (input->type == kTfLiteInt8) { in Prepare()
271 TF_LITE_ENSURE_EQ(context, weights_feature->type, kTfLiteInt8); in Prepare()
278 TF_LITE_ENSURE_TYPES_EQ(context, output->type, kTfLiteInt8); in Prepare()
362 case kTfLiteInt8: { in Eval()
/external/tensorflow/tensorflow/lite/kernels/
Dquantize.cc118 output->type == kTfLiteInt8 || in Prepare()
123 TF_LITE_ENSURE(context, output->type == kTfLiteInt8 || in Prepare()
128 input->type == kTfLiteInt8 || input->type == kTfLiteUInt8); in Prepare()
130 context, output->type == kTfLiteUInt8 || output->type == kTfLiteInt8); in Prepare()
170 case kTfLiteInt8: in Eval()
193 case kTfLiteInt8: in Eval()
225 case kTfLiteInt8: { in Eval()
230 case kTfLiteInt8: in Eval()
252 case kTfLiteInt8: in Eval()
Dl2norm.cc57 output->type == kTfLiteInt8); in Prepare()
60 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Prepare()
65 if (output->type == kTfLiteInt8) { in Prepare()
130 } else if (output->type == kTfLiteInt8) { in Eval()
Darg_min_max.cc99 case kTfLiteInt8: in Prepare()
159 case kTfLiteInt8: in Eval()
181 case kTfLiteInt8: in Eval()
211 case kTfLiteInt8: in Eval()
233 case kTfLiteInt8: in Eval()
Dactivations.cc283 if (input->type == kTfLiteInt8 || input->type == kTfLiteUInt8 || in ReluPrepare()
316 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in HardSwishPrepare()
360 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8 || in LeakyReluPrepare()
396 if (input->type == kTfLiteUInt8 || input->type == kTfLiteInt8) { in TanhPrepare()
418 } else if (input->type == kTfLiteInt8) { in TanhPrepare()
491 if (input->type == kTfLiteUInt8 || input->type == kTfLiteInt8) { in SigmoidPrepare()
496 if (input->type == kTfLiteInt8) { in SigmoidPrepare()
525 } else if (input->type == kTfLiteInt8) { in SigmoidPrepare()
592 TF_LITE_ENSURE(context, input->type == kTfLiteInt8 || in SoftmaxPrepare()
601 if (input->type == kTfLiteUInt8 || input->type == kTfLiteInt8) { in SoftmaxPrepare()
[all …]
Dmul.cc100 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8 || in Prepare()
170 (input1->type == kTfLiteUInt8 || input1->type == kTfLiteInt8 || in EvalQuantized()
187 if (input1->type == kTfLiteInt8) { in EvalQuantized()
235 (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8)) { in EvalQuantized()
245 if (output->type == kTfLiteInt8) { in EvalQuantized()
280 } else if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8 || in Eval()
Dbatch_matmul.cc137 (op_context->lhs->type == kTfLiteFloat32 && rhs->type == kTfLiteInt8); in InitializeTemporaries()
314 if (lhs_data->type == kTfLiteInt8 || lhs_data->type == kTfLiteInt16) { in Prepare()
324 if (lhs_data->type == kTfLiteInt8) { in Prepare()
340 lhs_data->type == kTfLiteInt8 || in Prepare()
343 rhs_data->type == kTfLiteInt8 || in Prepare()
348 rhs_data->type == kTfLiteInt8) || in Prepare()
415 } else if (tensor_in->type == kTfLiteInt8) { in TransposeRowsColumns()
575 if (lhs->type == kTfLiteFloat32 && rhs->type == kTfLiteInt8) { in EvalQuantized()
594 } else if (lhs->type == kTfLiteInt8 && rhs->type == kTfLiteInt8) { in EvalQuantized()
616 if (rhs->type == kTfLiteInt8 || rhs->type == kTfLiteInt16) { in GetTempRhs()
[all …]
Dcomparisons.cc87 if (input1->type == kTfLiteUInt8 || input1->type == kTfLiteInt8) { in ComparisonQuantized()
185 case kTfLiteInt8: in EqualEval()
235 case kTfLiteInt8: in NotEqualEval()
281 case kTfLiteInt8: in GreaterEval()
322 case kTfLiteInt8: in GreaterEqualEval()
363 case kTfLiteInt8: in LessEval()
404 case kTfLiteInt8: in LessEqualEval()
/external/tensorflow/tensorflow/lite/micro/examples/person_detection/
Dperson_detection_test.cc75 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, input->type); in TF_LITE_MICRO_TEST()
94 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, output->type); in TF_LITE_MICRO_TEST()
120 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, output->type); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Dmicro_speech_test.cc72 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, input->type); in TF_LITE_MICRO_TEST()
94 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, output->type); in TF_LITE_MICRO_TEST()
130 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, output->type); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dinference_profiler_stage.cc98 if (model_input_type == kTfLiteUInt8 || model_input_type == kTfLiteInt8 || in Init()
118 if (model_output_type == kTfLiteUInt8 || model_output_type == kTfLiteInt8 || in Init()
148 } else if (model_input_type == kTfLiteInt8) { in Run()
176 } else if (model_output_type == kTfLiteInt8) { in Run()
/external/tensorflow/tensorflow/lite/
Dtype_to_tflitetype_test.cc39 EXPECT_EQ(kTfLiteInt8, in TEST()
40 typeToTfLiteType<TfLiteTypeToType<kTfLiteInt8>::Type>()); in TEST()
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/
Dmul.cc60 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in CalculateOpData()
106 if (output->type == kTfLiteInt8 || output->type == kTfLiteUInt8) { in EvalQuantized()
127 if (output->type == kTfLiteInt8) { in EvalQuantized()
197 case kTfLiteInt8: in Eval()
Dadd.cc65 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in CalculateOpData()
127 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in EvalAddQuantized()
151 if (output->type == kTfLiteInt8) { in EvalAddQuantized()
219 } else if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Eval()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dutil.cc75 case kTfLiteInt8: in GetTensorFlowDataType()
111 return kTfLiteInt8; in GetTensorFlowLiteType()

12345678