Home
last modified time | relevance | path

Searched refs:micro (Results 1 – 25 of 97) sorted by relevance

1234

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Dcomparisons.cc25 namespace micro { namespace
42 tflite::micro::GetEvalInput(context, node, kInputTensor1); in EqualEval()
44 tflite::micro::GetEvalInput(context, node, kInputTensor2); in EqualEval()
46 tflite::micro::GetEvalOutput(context, node, kOutputTensor); in EqualEval()
48 RuntimeShape input1_shape = tflite::micro::GetTensorShape(input1); in EqualEval()
49 RuntimeShape input2_shape = tflite::micro::GetTensorShape(input2); in EqualEval()
50 RuntimeShape output_shape = tflite::micro::GetTensorShape(output); in EqualEval()
51 bool* output_data = tflite::micro::GetTensorData<bool>(output); in EqualEval()
147 tflite::micro::GetEvalInput(context, node, kInputTensor1); in NotEqualEval()
149 tflite::micro::GetEvalInput(context, node, kInputTensor2); in NotEqualEval()
[all …]
A Dsub.cc31 namespace micro { namespace
134 tflite::micro::GetTensorShape(input2), in EvalSub()
136 tflite::micro::GetTensorShape(output), in EvalSub()
142 tflite::micro::GetTensorShape(input2), in EvalSub()
144 tflite::micro::GetTensorShape(output), in EvalSub()
169 tflite::micro::GetTensorShape(input1), in EvalSubQuantized()
177 tflite::micro::GetTensorShape(input2), in EvalSubQuantized()
179 tflite::micro::GetTensorShape(output), in EvalSubQuantized()
185 tflite::micro::GetTensorShape(input2), in EvalSubQuantized()
187 tflite::micro::GetTensorShape(output), in EvalSubQuantized()
[all …]
A Dresize_nearest_neighbor.cc27 namespace micro { namespace
77 tflite::micro::GetTensorShape(size), in Eval()
78 tflite::micro::GetTensorData<int32_t>(size), in Eval()
79 tflite::micro::GetTensorShape(output), in Eval()
85 tflite::micro::GetTensorShape(size), in Eval()
86 tflite::micro::GetTensorData<int32_t>(size), in Eval()
87 tflite::micro::GetTensorShape(output), in Eval()
92 tflite::micro::GetTensorData<int8_t>(input), in Eval()
93 tflite::micro::GetTensorShape(size), in Eval()
94 tflite::micro::GetTensorData<int32_t>(size), in Eval()
[all …]
A Dlogical.cc23 namespace micro { namespace
43 tflite::micro::GetTensorShape(input1), in LogicalImpl()
44 tflite::micro::GetTensorData<bool>(input1), in LogicalImpl()
45 tflite::micro::GetTensorShape(input2), in LogicalImpl()
46 tflite::micro::GetTensorData<bool>(input2), in LogicalImpl()
47 tflite::micro::GetTensorShape(output), in LogicalImpl()
51 tflite::micro::GetTensorShape(input1), in LogicalImpl()
52 tflite::micro::GetTensorData<bool>(input1), in LogicalImpl()
53 tflite::micro::GetTensorShape(input2), in LogicalImpl()
54 tflite::micro::GetTensorData<bool>(input2), in LogicalImpl()
[all …]
A Dbatch_to_space_nd.cc70 tflite::micro::GetTensorShape(input), in Eval()
71 tflite::micro::GetTensorData<float>(input), in Eval()
72 tflite::micro::GetTensorShape(block_shape), in Eval()
74 tflite::micro::GetTensorShape(crops), in Eval()
75 tflite::micro::GetTensorData<int32_t>(crops), in Eval()
76 tflite::micro::GetTensorShape(output), in Eval()
81 tflite::micro::GetTensorShape(input), in Eval()
82 tflite::micro::GetTensorData<int8_t>(input), in Eval()
83 tflite::micro::GetTensorShape(block_shape), in Eval()
85 tflite::micro::GetTensorShape(crops), in Eval()
[all …]
A Dspace_to_batch_nd.cc80 params, tflite::micro::GetTensorShape(input), in Eval()
81 tflite::micro::GetTensorData<float>(input), in Eval()
82 tflite::micro::GetTensorShape(block_shape), in Eval()
84 tflite::micro::GetTensorShape(crops), in Eval()
85 tflite::micro::GetTensorData<int32_t>(crops), in Eval()
86 tflite::micro::GetTensorShape(output), in Eval()
87 tflite::micro::GetTensorData<float>(output)); in Eval()
92 tflite::micro::GetTensorData<int8_t>(input), in Eval()
93 tflite::micro::GetTensorShape(block_shape), in Eval()
95 tflite::micro::GetTensorShape(crops), in Eval()
[all …]
A Dpad.cc29 namespace micro { namespace
140 tflite::micro::GetEvalInput(context, node, /*index=*/0); in Eval()
146 tflite::micro::GetEvalOutput(context, node, /*index=*/0); in Eval()
156 data->params, tflite::micro::GetTensorShape(input), in Eval()
158 tflite::micro::GetTensorShape(output), in Eval()
159 tflite::micro::GetTensorData<float>(output)); in Eval()
176 data->params, tflite::micro::GetTensorShape(input), in Eval()
178 tflite::micro::GetTensorShape(output), in Eval()
179 tflite::micro::GetTensorData<uint8_t>(output)); in Eval()
198 tflite::micro::GetTensorShape(output), in Eval()
[all …]
A Dprelu.cc28 namespace micro { namespace
128 params, tflite::micro::GetTensorShape(input), in PreluEval()
129 tflite::micro::GetTensorData<uint8_t>(input), in PreluEval()
130 tflite::micro::GetTensorShape(alpha), in PreluEval()
131 tflite::micro::GetTensorData<uint8_t>(alpha), in PreluEval()
132 tflite::micro::GetTensorShape(output), in PreluEval()
138 params, tflite::micro::GetTensorShape(input), in PreluEval()
139 tflite::micro::GetTensorData<int8_t>(input), in PreluEval()
140 tflite::micro::GetTensorShape(alpha), in PreluEval()
141 tflite::micro::GetTensorData<int8_t>(alpha), in PreluEval()
[all …]
A Dtanh.cc31 namespace micro { namespace
90 tflite::micro::GetEvalInput(context, node, kInputTensor); in TanhEval()
92 tflite::micro::GetEvalOutput(context, node, kOutputTensor); in TanhEval()
99 reference_ops::Tanh(tflite::micro::GetTensorShape(input), in TanhEval()
100 tflite::micro::GetTensorData<float>(input), in TanhEval()
101 tflite::micro::GetTensorShape(output), in TanhEval()
110 tflite::micro::GetTensorShape(output), in TanhEval()
122 tflite::micro::GetTensorShape(output), in TanhEval()
131 tflite::micro::GetTensorData<int8_t>(input), in TanhEval()
132 tflite::micro::GetTensorShape(output), in TanhEval()
[all …]
A Dreduce.cc30 namespace micro { namespace
166 tflite::micro::GetTensorShape(output), in EvalMean()
175 tflite::micro::GetTensorData<int>(axis), num_axis, in EvalMean()
177 tflite::micro::GetTensorData<float>(output))); in EvalMean()
185 tflite::micro::GetTensorShape(input), in EvalMean()
187 tflite::micro::GetTensorShape(output), in EvalMean()
199 tflite::micro::GetTensorData<int>(axis), num_axis, in EvalMean()
209 tflite::micro::GetTensorData<int8_t>(output), in EvalMean()
246 tflite::micro::GetTensorData<uint8_t>(output), in EvalMean()
284 tflite::micro::GetTensorData<int>(axis), num_axis, in EvalMax()
[all …]
A Dresize_bilinear.cc66 tflite::micro::GetEvalInput(context, node, kInputTensor); in Eval()
68 tflite::micro::GetEvalInput(context, node, kSizeTensor); in Eval()
70 tflite::micro::GetEvalOutput(context, node, kOutputTensor); in Eval()
77 tflite::micro::GetTensorShape(input), in Eval()
79 tflite::micro::GetTensorShape(size), in Eval()
88 op_params, tflite::micro::GetTensorShape(input), in Eval()
89 tflite::micro::GetTensorData<int8_t>(input), in Eval()
90 tflite::micro::GetTensorShape(size), in Eval()
91 tflite::micro::GetTensorData<int32_t>(size), in Eval()
92 tflite::micro::GetTensorShape(output), in Eval()
[all …]
A Dfloor_mod.cc75 tflite::micro::GetTensorShape(input1), in EvalFloorMod()
76 tflite::micro::GetTensorData<T>(input1), in EvalFloorMod()
77 tflite::micro::GetTensorShape(input2), denominator_data, in EvalFloorMod()
78 tflite::micro::GetTensorShape(output), in EvalFloorMod()
82 tflite::micro::GetTensorShape(input1), in EvalFloorMod()
83 tflite::micro::GetTensorData<T>(input1), in EvalFloorMod()
84 tflite::micro::GetTensorShape(input2), denominator_data, in EvalFloorMod()
85 tflite::micro::GetTensorShape(output), in EvalFloorMod()
94 tflite::micro::GetEvalInput(context, node, kInputTensor1); in Eval()
96 tflite::micro::GetEvalInput(context, node, kInputTensor2); in Eval()
[all …]
A Dactivations.cc29 namespace micro { namespace
160 tflite::micro::GetEvalInput(context, node, kInputTensor); in ReluEval()
166 ReluFloat(tflite::micro::GetTensorShape(input), in ReluEval()
167 tflite::micro::GetTensorData<float>(input), in ReluEval()
168 tflite::micro::GetTensorShape(output), in ReluEval()
169 tflite::micro::GetTensorData<float>(output)); in ReluEval()
225 tflite::micro::GetEvalInput(context, node, kInputTensor); in Relu6Eval()
231 Relu6Float(tflite::micro::GetTensorShape(input), in Relu6Eval()
232 tflite::micro::GetTensorData<float>(input), in Relu6Eval()
233 tflite::micro::GetTensorShape(output), in Relu6Eval()
[all …]
A Dfloor_div.cc80 tflite::micro::GetTensorShape(input1), in EvalFloorDiv()
81 tflite::micro::GetTensorData<T>(input1), in EvalFloorDiv()
82 tflite::micro::GetTensorShape(input2), denominator_data, in EvalFloorDiv()
83 tflite::micro::GetTensorShape(output), in EvalFloorDiv()
87 tflite::micro::GetTensorShape(input1), in EvalFloorDiv()
88 tflite::micro::GetTensorData<T>(input1), in EvalFloorDiv()
89 tflite::micro::GetTensorShape(input2), denominator_data, in EvalFloorDiv()
90 tflite::micro::GetTensorShape(output), in EvalFloorDiv()
99 tflite::micro::GetEvalInput(context, node, kInputTensor1); in Eval()
101 tflite::micro::GetEvalInput(context, node, kInputTensor2); in Eval()
[all …]
A Dhard_swish.cc31 namespace micro { namespace
97 tflite::micro::GetTensorShape(input), in HardSwishEval()
98 tflite::micro::GetTensorData<float>(input), in HardSwishEval()
99 tflite::micro::GetTensorShape(output), in HardSwishEval()
100 tflite::micro::GetTensorData<float>(output)); in HardSwishEval()
104 *params, tflite::micro::GetTensorShape(input), in HardSwishEval()
105 tflite::micro::GetTensorData<uint8_t>(input), in HardSwishEval()
106 tflite::micro::GetTensorShape(output), in HardSwishEval()
111 *params, tflite::micro::GetTensorShape(input), in HardSwishEval()
112 tflite::micro::GetTensorData<int8_t>(input), in HardSwishEval()
[all …]
A Dquantize_common.cc89 tflite::micro::GetTensorData<float>(input), in EvalQuantizeReference()
90 tflite::micro::GetTensorShape(output), in EvalQuantizeReference()
91 tflite::micro::GetTensorData<int8_t>(output)); in EvalQuantizeReference()
96 tflite::micro::GetTensorData<float>(input), in EvalQuantizeReference()
97 tflite::micro::GetTensorShape(output), in EvalQuantizeReference()
98 tflite::micro::GetTensorData<int16_t>(output)); in EvalQuantizeReference()
114 tflite::micro::GetTensorData<int8_t>(output)); in EvalQuantizeReference()
121 tflite::micro::GetTensorData<int16_t>(output)); in EvalQuantizeReference()
128 tflite::micro::GetTensorData<int32_t>(output)); in EvalQuantizeReference()
146 tflite::micro::GetTensorData<int8_t>(output)); in EvalQuantizeReference()
[all …]
A Ddequantize.cc29 namespace micro { namespace
83 TfLiteEvalTensor* output = tflite::micro::GetEvalOutput(context, node, 0); in Eval()
89 tflite::micro::GetTensorShape(input), in Eval()
90 tflite::micro::GetTensorData<uint8_t>(input), in Eval()
91 tflite::micro::GetTensorShape(output), in Eval()
92 tflite::micro::GetTensorData<float>(output)); in Eval()
96 tflite::micro::GetTensorShape(input), in Eval()
97 tflite::micro::GetTensorData<int8_t>(input), in Eval()
98 tflite::micro::GetTensorShape(output), in Eval()
103 tflite::micro::GetTensorShape(input), in Eval()
[all …]
A Dl2norm.cc25 namespace micro { namespace
88 tflite::micro::GetEvalInput(context, node, kInputTensor); in Eval()
90 tflite::micro::GetEvalOutput(context, node, kOutputTensor); in Eval()
114 data, tflite::micro::GetTensorShape(input), in Eval()
115 tflite::micro::GetTensorData<uint8_t>(input), in Eval()
116 tflite::micro::GetTensorShape(output), in Eval()
117 tflite::micro::GetTensorData<uint8_t>(output)); in Eval()
119 const auto input_shape = tflite::micro::GetTensorShape(input); in Eval()
120 const auto output_shape = tflite::micro::GetTensorShape(output); in Eval()
128 tflite::micro::GetTensorData<int8_t>(input), in Eval()
[all …]
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/
A DMakefile.inc30 tensorflow/lite/micro/examples/micro_speech/micro_speech_test.cc \
121 tensorflow/lite/micro/examples/micro_speech/audio_provider.cc
125 tensorflow/lite/micro/examples/micro_speech/audio_provider.h \
138 tensorflow/lite/micro/examples/micro_speech/audio_provider.h \
147 tensorflow/lite/micro/examples/micro_speech/audio_provider.h \
162 tensorflow/lite/micro/examples/micro_speech/audio_provider.h \
187 tensorflow/lite/micro/examples/micro_speech/main.cc \
199 tensorflow/lite/micro/examples/micro_speech/audio_provider.h \
206 tensorflow/lite/micro/examples/micro_speech/main_functions.h \
210 tensorflow/lite/micro/examples/micro_speech/main.cc \
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/cmsis_nn/
A Dsoftmax.cc35 op_data, tflite::micro::GetTensorShape(input), in SoftmaxQuantized()
36 tflite::micro::GetTensorData<uint8_t>(input), in SoftmaxQuantized()
37 tflite::micro::GetTensorShape(output), in SoftmaxQuantized()
38 tflite::micro::GetTensorData<uint8_t>(output)); in SoftmaxQuantized()
43 tflite::micro::GetTensorData<int8_t>(input), in SoftmaxQuantized()
44 tflite::micro::GetTensorShape(output), in SoftmaxQuantized()
63 tflite::micro::GetTensorData<int16_t>(input), in SoftmaxQuantized()
64 tflite::micro::GetTensorShape(output), in SoftmaxQuantized()
80 data, tflite::micro::GetTensorShape(input), in SoftmaxEval()
81 tflite::micro::GetTensorData<float>(input), in SoftmaxEval()
[all …]
A Dmul.cc29 namespace micro { namespace
117 tflite::micro::GetTensorShape(input1), in EvalQuantized()
118 tflite::micro::GetTensorShape(input2), &op_params); in EvalQuantized()
121 type::opname(op_params, tflite::micro::GetTensorShape(input1), \ in EvalQuantized()
122 tflite::micro::GetTensorData<dtype>(input1), \ in EvalQuantized()
126 tflite::micro::GetTensorData<dtype>(output)); in EvalQuantized()
133 tflite::micro::GetTensorData<int8_t>(input1), in EvalQuantized()
162 tflite::micro::GetTensorShape(input1), in EvalFloat()
163 tflite::micro::GetTensorShape(input2), &op_params); in EvalFloat()
185 tflite::micro::GetEvalInput(context, node, kInput1Tensor); in Eval()
[all …]
A Dconv.cc173 if (tflite::micro::GetTensorData<int8_t>(bias)) { in EvalQuantizedPerChannel()
233 tflite::micro::GetTensorShape(input), in EvalQuantizedPerChannel()
234 tflite::micro::GetTensorData<int8_t>(input), in EvalQuantizedPerChannel()
235 tflite::micro::GetTensorShape(filter), in EvalQuantizedPerChannel()
237 tflite::micro::GetTensorShape(bias), in EvalQuantizedPerChannel()
238 tflite::micro::GetTensorData<int32_t>(bias), in EvalQuantizedPerChannel()
239 tflite::micro::GetTensorShape(output), in EvalQuantizedPerChannel()
309 tflite::micro::GetTensorShape(input), in Eval()
311 tflite::micro::GetTensorShape(filter), in Eval()
313 tflite::micro::GetTensorShape(bias), in Eval()
[all …]
A Ddepthwise_conv.cc242 tflite::micro::GetTensorShape(input), in EvalQuantizedPerChannel()
244 tflite::micro::GetTensorShape(filter), in EvalQuantizedPerChannel()
246 tflite::micro::GetTensorShape(bias), in EvalQuantizedPerChannel()
248 tflite::micro::GetTensorShape(output), in EvalQuantizedPerChannel()
284 tflite::micro::GetTensorShape(filter), in EvalQuantized()
286 tflite::micro::GetTensorShape(bias), in EvalQuantized()
288 tflite::micro::GetTensorShape(output), in EvalQuantized()
315 tflite::micro::GetTensorShape(input), in Eval()
317 tflite::micro::GetTensorShape(filter), in Eval()
319 tflite::micro::GetTensorShape(bias), in Eval()
[all …]
A Dadd.cc31 namespace micro { namespace
148 tflite::micro::GetTensorShape(input1), in EvalAddQuantized()
149 tflite::micro::GetTensorShape(input2), &op_params); in EvalAddQuantized()
151 type::opname(op_params, tflite::micro::GetTensorShape(input1), \ in EvalAddQuantized()
152 tflite::micro::GetTensorData<dtype>(input1), \ in EvalAddQuantized()
156 tflite::micro::GetTensorData<dtype>(output)); in EvalAddQuantized()
162 tflite::micro::GetTensorData<int8_t>(input1), in EvalAddQuantized()
163 tflite::micro::GetTensorData<int8_t>(input2), in EvalAddQuantized()
217 tflite::micro::GetEvalInput(context, node, kInputTensor1); in Eval()
219 tflite::micro::GetEvalInput(context, node, kInputTensor2); in Eval()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/
A Dmicro_mutable_op_resolver.h142 tflite::ops::micro::Register_AVERAGE_POOL_2D(), in AddAveragePool2D()
162 tflite::ops::micro::Register_CIRCULAR_BUFFER()); in AddCircularBuffer()
167 tflite::ops::micro::Register_CONCATENATION(), in AddConcatenation()
197 tflite::ops::micro::Register_DEQUANTIZE(), in AddDequantize()
269 tflite::ops::micro::Register_GREATER_EQUAL(), in AddGreaterEqual()
275 tflite::ops::micro::Register_HARD_SWISH(), in AddHardSwish()
302 tflite::ops::micro::Register_LESS_EQUAL(), in AddLessEqual()
313 tflite::ops::micro::Register_LOGICAL_AND(), in AddLogicalAnd()
319 tflite::ops::micro::Register_LOGICAL_NOT(), in AddLogicalNot()
325 tflite::ops::micro::Register_LOGICAL_OR(), in AddLogicalOr()
[all …]

Completed in 2652 milliseconds

1234