/external/tensorflow/tensorflow/lite/delegates/hexagon/ |
D | utils.cc | 145 {{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/ |
D | quantize.cc | 58 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()
|
D | quantize_common.cc | 37 case kTfLiteInt8: in EvalQuantizeReference() 67 case kTfLiteInt8: in EvalQuantizeReference() 94 } else if (input->type == kTfLiteInt8) { in EvalQuantizeReference() 99 case kTfLiteInt8: in EvalQuantizeReference()
|
D | softmax_common.cc | 35 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()
|
D | logistic.cc | 51 if (input->type == kTfLiteInt8) { in CalculateArithmeticOpData() 108 } else if (input->type == kTfLiteInt8) { in LogisticEval() 110 case kTfLiteInt8: { in LogisticEval()
|
D | l2norm.cc | 61 output->type == kTfLiteInt8); in Prepare() 64 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Prepare() 119 } else if (output->type == kTfLiteInt8) { in Eval()
|
D | dequantize.cc | 60 input->type == kTfLiteInt8 || in Prepare() 95 case kTfLiteInt8: in Eval() 119 case kTfLiteInt8: { in Eval()
|
D | cast.cc | 48 case kTfLiteInt8: in copyToTensor() 71 case kTfLiteInt8: in Eval()
|
D | sub.cc | 65 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()
|
D | add.cc | 69 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()
|
D | svdf.cc | 231 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/ |
D | quantize.cc | 118 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()
|
D | l2norm.cc | 57 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()
|
D | arg_min_max.cc | 99 case kTfLiteInt8: in Prepare() 159 case kTfLiteInt8: in Eval() 181 case kTfLiteInt8: in Eval() 211 case kTfLiteInt8: in Eval() 233 case kTfLiteInt8: in Eval()
|
D | activations.cc | 283 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 …]
|
D | mul.cc | 100 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()
|
D | batch_matmul.cc | 137 (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 …]
|
D | comparisons.cc | 87 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/ |
D | person_detection_test.cc | 75 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/ |
D | micro_speech_test.cc | 72 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/ |
D | inference_profiler_stage.cc | 98 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/ |
D | type_to_tflitetype_test.cc | 39 EXPECT_EQ(kTfLiteInt8, in TEST() 40 typeToTfLiteType<TfLiteTypeToType<kTfLiteInt8>::Type>()); in TEST()
|
/external/tensorflow/tensorflow/lite/micro/kernels/cmsis_nn/ |
D | mul.cc | 60 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()
|
D | add.cc | 65 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/ |
D | util.cc | 75 case kTfLiteInt8: in GetTensorFlowDataType() 111 return kTfLiteInt8; in GetTensorFlowLiteType()
|