Home
last modified time | relevance | path

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

123

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Dquantize_common.cc53 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 Dsoftmax_common.cc35 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 Dl2norm.cc61 output->type == kTfLiteInt8); in Prepare()
64 if (output->type == kTfLiteUInt8 || output->type == kTfLiteInt8) { in Prepare()
118 } else if (output->type == kTfLiteInt8) { in Eval()
A Dlogistic.cc51 if (input->type == kTfLiteInt8) { in CalculateArithmeticOpData()
108 } else if (input->type == kTfLiteInt8) { in LogisticEval()
110 case kTfLiteInt8: { in LogisticEval()
A Dcumsum.cc54 input->type == kTfLiteFloat32 || input->type == kTfLiteInt8); in CalculateOpData()
66 if (output->type == kTfLiteInt8) { in CalculateOpData()
130 case kTfLiteInt8: { in Eval()
A Dcast.cc48 case kTfLiteInt8: in copyToTensor()
71 case kTfLiteInt8: in Eval()
A 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()
A Dactivations.cc146 if (input->type == kTfLiteInt8) { in ReluPrepare()
173 case kTfLiteInt8: { in ReluEval()
207 if (input->type == kTfLiteInt8) { in Relu6Prepare()
238 case kTfLiteInt8: { in Relu6Eval()
A Dadd_n.cc69 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 Dhard_swish.cc52 if (input->type == kTfLiteUInt8 || input->type == kTfLiteInt8) { in HardSwishPrepare()
109 case kTfLiteInt8: { in HardSwishEval()
A Dreduce.cc70 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 Ddepth_to_space.cc53 data_type == kTfLiteFloat32 || data_type == kTfLiteInt8); in CalculateOpData()
113 case kTfLiteInt8: in Eval()
A Ddequantize.cc60 input->type == kTfLiteInt8 || in Prepare()
94 case kTfLiteInt8: in Eval()
A Dcircular_buffer.cc105 TF_LITE_ENSURE_TYPES_EQ(context, input->type, kTfLiteInt8); in Prepare()
155 if (input->type == kTfLiteInt8) { in Eval()
A Delu.cc89 if (input->type == kTfLiteInt8) { in CalculateOpData()
125 case kTfLiteInt8: { in EluEval()
A Dleaky_relu.cc71 if (output->type == kTfLiteInt8) { in CalculateOpData()
126 case kTfLiteInt8: { in LeakyReluEval()
A Dlog_softmax.cc57 if (input->type == kTfLiteInt8) { in CalculateOpData()
115 case kTfLiteInt8: { in LogSoftmaxEval()
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/
A 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()
A Dmain_functions.cc127 (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 Dadd.cc69 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 Dsoftmax.cc39 } else if (input->type == kTfLiteInt8) { in SoftmaxQuantized()
86 case kTfLiteInt8: in SoftmaxEval()
A Dmul.cc66 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 Dhello_world_test.cc72 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 Dtensor_utils.cc31 if (tensor->type == kTfLiteInt8) { in ResetVariableTensor()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/c/
A Dc_api_types.h73 kTfLiteInt8 = 9, enumerator

Completed in 36 milliseconds

123