/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/ |
A D | quantize_common.cc | 53 input->type == kTfLiteInt8); in PrepareQuantizeReference() 54 TF_LITE_ENSURE(context, output->type == kTfLiteInt8 || in PrepareQuantizeReference() 58 if ((input->type == kTfLiteInt16 && output->type == kTfLiteInt8) || in PrepareQuantizeReference() 59 (input->type == kTfLiteInt8 && output->type == kTfLiteInt8) || in PrepareQuantizeReference() 60 (input->type == kTfLiteInt8 && output->type == kTfLiteInt32) || in PrepareQuantizeReference() 86 case kTfLiteInt8: in EvalQuantizeReference() 109 case kTfLiteInt8: in EvalQuantizeReference() 136 } else if (input->type == kTfLiteInt8) { in EvalQuantizeReference() 141 case kTfLiteInt8: in EvalQuantizeReference()
|
A D | softmax_common.cc | 35 if (input->type == kTfLiteInt8 || input->type == kTfLiteInt16) { in CalculateSoftmaxParams() 41 TF_LITE_ENSURE_TYPES_EQ(context, input->type, kTfLiteInt8); in CalculateSoftmaxParams() 47 TF_LITE_ENSURE_TYPES_EQ(context, output->type, kTfLiteInt8); in CalculateSoftmaxParams() 118 input->type == kTfLiteInt8 || input->type == kTfLiteInt16); in SoftmaxPrepare()
|
A D | l2norm.cc | 61 output->type == kTfLiteInt8); in Prepare() 64 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Prepare() 118 } else if (output->type == kTfLiteInt8) { in Eval()
|
A D | logistic.cc | 51 if (input->type == kTfLiteInt8) { in CalculateArithmeticOpData() 108 } else if (input->type == kTfLiteInt8) { in LogisticEval() 110 case kTfLiteInt8: { in LogisticEval()
|
A D | cumsum.cc | 54 input->type == kTfLiteFloat32 || input->type == kTfLiteInt8); in CalculateOpData() 66 if (output->type == kTfLiteInt8) { in CalculateOpData() 130 case kTfLiteInt8: { in Eval()
|
A D | cast.cc | 48 case kTfLiteInt8: in copyToTensor() 71 case kTfLiteInt8: in Eval()
|
A 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()
|
A D | activations.cc | 146 if (input->type == kTfLiteInt8) { in ReluPrepare() 173 case kTfLiteInt8: { in ReluEval() 207 if (input->type == kTfLiteInt8) { in Relu6Prepare() 238 case kTfLiteInt8: { in Relu6Eval()
|
A D | add_n.cc | 69 if (input_tensor_first->type == kTfLiteInt8) { in CalculateOpData() 86 } else if (output->type == kTfLiteInt8) { in CalculateOpData() 192 } else if (output->type == kTfLiteInt8) { in Eval()
|
A D | hard_swish.cc | 52 if (input->type == kTfLiteUInt8 || input->type == kTfLiteInt8) { in HardSwishPrepare() 109 case kTfLiteInt8: { in HardSwishEval()
|
A D | reduce.cc | 70 if (input->type == kTfLiteInt8) { in PrepareSimple() 106 if (input->type == kTfLiteInt8) { in PrepareMeanOrSum() 113 if (input->type == kTfLiteInt8 || input->type == kTfLiteUInt8) { in PrepareMeanOrSum() 180 case kTfLiteInt8: { in EvalMean() 291 case kTfLiteInt8: in EvalMax()
|
A D | depth_to_space.cc | 53 data_type == kTfLiteFloat32 || data_type == kTfLiteInt8); in CalculateOpData() 113 case kTfLiteInt8: in Eval()
|
A D | dequantize.cc | 60 input->type == kTfLiteInt8 || in Prepare() 94 case kTfLiteInt8: in Eval()
|
A D | circular_buffer.cc | 105 TF_LITE_ENSURE_TYPES_EQ(context, input->type, kTfLiteInt8); in Prepare() 155 if (input->type == kTfLiteInt8) { in Eval()
|
A D | elu.cc | 89 if (input->type == kTfLiteInt8) { in CalculateOpData() 125 case kTfLiteInt8: { in EluEval()
|
A D | leaky_relu.cc | 71 if (output->type == kTfLiteInt8) { in CalculateOpData() 126 case kTfLiteInt8: { in LeakyReluEval()
|
A D | log_softmax.cc | 57 if (input->type == kTfLiteInt8) { in CalculateOpData() 115 case kTfLiteInt8: { in LogSoftmaxEval()
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/ |
A 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()
|
A D | main_functions.cc | 127 (model_input->type != kTfLiteInt8)) in setup() 254 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, input->type); 276 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, output->type); 314 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, output->type);
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/cmsis_nn/ |
A D | add.cc | 69 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in CalculateOpData() 133 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in EvalAddQuantized() 157 if (output->type == kTfLiteInt8) { in EvalAddQuantized() 228 } else if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Eval()
|
A D | softmax.cc | 39 } else if (input->type == kTfLiteInt8) { in SoftmaxQuantized() 86 case kTfLiteInt8: in SoftmaxEval()
|
A D | mul.cc | 66 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in CalculateOpData() 128 if (output->type == kTfLiteInt8) { in EvalQuantized() 196 case kTfLiteInt8: in Eval()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/examples/hello_world/ |
A D | hello_world_test.cc | 72 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, input->type); in TF_LITE_MICRO_TEST() 93 TF_LITE_MICRO_EXPECT_EQ(kTfLiteInt8, output->type); in TF_LITE_MICRO_TEST()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/core/api/ |
A D | tensor_utils.cc | 31 if (tensor->type == kTfLiteInt8) { in ResetVariableTensor()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/c/ |
A D | c_api_types.h | 73 kTfLiteInt8 = 9, enumerator
|