Home
last modified time | relevance | path

Searched refs:int32 (Results 1 – 25 of 113) sorted by relevance

12345

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/
A Ddepthwiseconv_3x3_filter_common.h321 int32 input_width;
338 int32 stride;
350 int32 padding_top;
378 int32 kStrideWidth, int32 kStrideHeight>
382 int32 kStrideWidth, int32 kStrideHeight>
400 int32 input_width, int32 input_height,
416 inline int32 get_shuffle_input_size(int32 stride, int32 output) {
429 ShuffleParams(int32 output_width, int32 output_height, int32 stride_width,
441 int32 stride_width, int32 stride_height, int32 dilation_width_factor,
442 int32 dilation_height_factor, int32 pad_width, int32 pad_height,
[all …]
A Dlegacy_optimized_ops.h286 int32 output_offset, int32 output_multiplier, in DepthwiseConv()
325 int32 output_offset, int32 output_multiplier, in DepthwiseConv()
367 int32 output_offset, int32 output_multiplier, in DepthwiseConv()
993 int32 output_offset, int32 output_multiplier, int output_shift, in LegacyFullyConnectedAsGEMVWorkerTask()
994 int32 output_activation_min, int32 output_activation_max, in LegacyFullyConnectedAsGEMVWorkerTask()
1774 int32 output_offset, int32 output_multiplier, in FullyConnected()
2005 int32 output_activation_min, int32 output_activation_max, in LegacyInt8FullyConnectedAsGEMVWorkerTask()
2817 int32 output_activation_min, int32 output_activation_max, in Conv()
4608 int32 input_zero_point, int32 input_range_radius, in Tanh()
4620 int32 input_zero_point, int32 input_range_radius, in Tanh()
[all …]
A Dresize_bilinear.h264 inline void ResizeBilinear888Uint8(int32 batches, int32 input_height, in ResizeBilinear888Uint8()
265 int32 input_width, int32 depth, in ResizeBilinear888Uint8()
1325 inline void ResizeBilinearKernel2x2(int32 x0, int32 x1, int32 y0, int32 y1, in ResizeBilinearKernel2x2()
1326 int32 x, int32 y, int32 depth, int32 batch, in ResizeBilinearKernel2x2()
1491 inline void ResizeBilinear2x2(int32 batches, int32 input_height, in ResizeBilinear2x2()
1492 int32 input_width, int32 depth, in ResizeBilinear2x2()
1511 int32 batches, int32 input_height, int32 input_width, int32 depth, in ResizeBilinearGeneric()
1512 int32 output_height, int32 output_width, float height_scale, in ResizeBilinearGeneric()
1523 int32 y0, y1; in ResizeBilinearGeneric()
1564 int32 batches, int32 input_height, int32 input_width, int32 depth, in ResizeBilinearGenericSmallChannel()
[all …]
A Ddepthwiseconv_uint8_3x3_filter.h325 int32 output_window_height, int32 output_window_width,
1258 int32 output_window_height, int32 output_window_width,
5392 static inline void Run(const uint8* input_data, int32 start_x, int32 end_x,
5702 int32 out_x = 0;
6276 Run(int32 height_block_number, int32 width_block_number,
6292 int32 height_block_number, int32 width_block_number,
6711 Run(int32 height_block_number, int32 width_block_number,
6728 int32 height_block_number, int32 width_block_number,
7120 Run(int32 height_block_number, int32 width_block_number,
7137 int32 height_block_number, int32 width_block_number,
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/integer_ops/
A Ddepthwise_conv_3x3_filter.h2618 int32 kStrideHeight>
2625 Run(const int32* output_multiplier_ptr, const int32* output_shift_ptr,
2652 int32 kStrideHeight>
2660 int32 start_x, int32 end_x, const int8* filter_data,
2675 int32 out_x = start_x;
2766 const int32* output_multiplier_ptr, const int32* output_shift_ptr,
2780 const int32 out_x_start_corner = 0;
2782 const int32 out_y_start_corner = 0;
2993 int32 out_x = 0;
2994 int32 out_y = row_start;
[all …]
A Ddepthwise_conv_hybrid_3x3_filter.h118 int32 kStrideWidth, int32 kStrideHeight>
2786 int32 kStrideHeight>
2796 int32 output_window_height, int32 output_window_width,
2819 int32 kStrideHeight>
2826 int32 start_x, int32 end_x, const int8* filter_data,
2842 int32 out_x = start_x;
2947 const int32 out_x_start_corner = 0;
2949 const int32 out_y_start_corner = 0;
3151 int32 out_x = 0;
3152 int32 out_y = row_start;
[all …]
A Dfully_connected.h34 const int32* bias_data, const RuntimeShape& output_shape, int8* output_data, in FullyConnected()
38 const int32 input_offset = params.input_offset; in FullyConnected()
39 const int32 filter_offset = params.weights_offset; in FullyConnected()
40 const int32 output_offset = params.output_offset; in FullyConnected()
41 const int32 output_multiplier = params.output_multiplier; in FullyConnected()
43 const int32 output_activation_min = params.quantized_activation_min; in FullyConnected()
44 const int32 output_activation_max = params.quantized_activation_max; in FullyConnected()
79 cpu_backend_gemm::GemmParams<int32, int8> gemm_params; in FullyConnected()
A Dadd.h144 const int32 input1_val = params.input1_offset + input1_data[i]; in AddElementwise()
148 const int32 scaled_input1_val = in AddElementwise()
151 const int32 scaled_input2_val = in AddElementwise()
154 const int32 raw_sum = scaled_input1_val + scaled_input2_val; in AddElementwise()
155 const int32 raw_output = in AddElementwise()
159 const int32 clamped_output = in AddElementwise()
241 const int32 input1_val = params.input1_offset + input1_data; in AddScalarBroadcast()
243 const int32 scaled_input1_val = in AddScalarBroadcast()
250 const int32 scaled_input2_val = in AddScalarBroadcast()
255 const int32 raw_output = in AddScalarBroadcast()
[all …]
A Dconv.h32 const ConvParams& params, const int32* output_multiplier, in ConvPerChannel()
33 const int32* output_shift, const RuntimeShape& input_shape, in ConvPerChannel()
36 const int32* bias_data, const RuntimeShape& output_shape, int8* output_data, in ConvPerChannel()
44 const int32 input_offset = params.input_offset; in ConvPerChannel()
45 const int32 output_offset = params.output_offset; in ConvPerChannel()
47 const int32 output_activation_min = params.quantized_activation_min; in ConvPerChannel()
48 const int32 output_activation_max = params.quantized_activation_max; in ConvPerChannel()
113 int32, int8, in ConvPerChannel()
A Dmean.h28 int32 multiplier, int32 shift, int32 bias, in MeanImpl()
146 int32 multiplier, int32 shift, int32 bias, in MeanWorkerTask()
169 int32 multiplier;
170 int32 shift;
171 int32 bias;
180 const int8_t* input_data, int32 input_zero_point, in Mean()
182 int8_t* output_data, int32 output_zero_point, in Mean()
212 int32 multiplier, shift; in Mean()
A Ddepthwise_conv.h51 int32* acc_buffer_ptr) {
97 int32* acc_buffer_ptr) {
164 int32* acc_buffer_ptr) {
232 int32* acc_buffer_ptr) {
306 int32* acc_buffer_ptr) {
1483 int32* acc_buffer_ptr =
1505 int32* acc_buffer) {
1517 int32* acc_buffer_ptr =
1640 int32 acc_buffer[kAccBufferMaxSize];
1929 const int32* output_multiplier_;
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dlegacy_reference_ops.h118 int32 output_offset, int32 output_multiplier, in DepthwiseConv()
152 int32 output_offset, int32 output_multiplier, in DepthwiseConv()
194 int32 output_offset, int32 output_multiplier, in DepthwiseConv()
366 int32 output_activation_min, int32 output_activation_max, in Conv()
548 int32 output_offset, int32 output_multiplier, in FullyConnected()
775 int32 input_multiplier, int32 input_left_shift, in LogSoftmax()
849 int32 input_zero_point, int32 input_range_radius, in Tanh()
995 int32 input2_offset, int32 input2_multiplier, in Comparison()
1385 int input2_shift, int32 output_offset, int32 output_multiplier, in BroadcastAddFivefold()
1830 int32 input_zero_point, int32 input_range_radius, in Tanh()
[all …]
/AliOS-Things-master/components/SDL2/src/video/haiku/
A DSDL_bframebuffer.cc39 static int32 HAIKU_UpdateOnce(SDL_Window *window);
121 int32 HAIKU_DrawThread(void *data) { in HAIKU_DrawThread()
135 int32 bufferPitch = bwin->GetRowBytes(); in HAIKU_DrawThread()
139 int32 BPP = bwin->GetBytesPerPx(); in HAIKU_DrawThread()
140 int32 windowSub = bwin->GetFbX() * BPP + in HAIKU_DrawThread()
143 int32 numClips = bwin->GetNumClips(); in HAIKU_DrawThread()
205 static int32 HAIKU_UpdateOnce(SDL_Window *window) { in HAIKU_UpdateOnce()
215 int32 bufferPitch = bwin->GetRowBytes(); in HAIKU_UpdateOnce()
219 int32 BPP = bwin->GetBytesPerPx(); in HAIKU_UpdateOnce()
221 int32 windowSub = bwin->GetFbX() * BPP + in HAIKU_UpdateOnce()
[all …]
A DSDL_BWin.h102 int32 result; in ~SDL_BWin()
318 int32 transit; in DispatchMessage()
347 int32 i = 0; in DispatchMessage()
435 int32 GetID() { return _id; } in GetID()
512 void _SendMouseButton(int32 button, int32 state) { in _SendMouseButton()
519 void _MouseWheelEvent(int32 x, int32 y) { in _MouseWheelEvent()
527 void _KeyEvent(int32 keyCode, const int8 *keyUtf8, const ssize_t & len, int32 keyState) { in _KeyEvent()
560 int32 x, y; in _MoveTo()
571 int32 w, h; in _ResizeTo()
628 int32 _last_buttons;
[all …]
A DSDL_bkeyboard.h34 extern SDL_Scancode HAIKU_GetScancodeFromBeKey(int32 bkey);
35 extern int8 HAIKU_GetKeyState(int32 bkey);
36 extern void HAIKU_SetKeyState(int32 bkey, int8 state);
A DSDL_bmodes.h31 extern int32 HAIKU_ColorSpaceToBitsPerPixel(uint32 colorspace);
32 extern int32 HAIKU_BPPToSDLPxFormat(int32 bpp);
/AliOS-Things-master/components/SDL2/src/main/haiku/
A DSDL_BApp.h173 int32 i; in GetID()
214 int32 winID; in _HandleBasicWindowEvent()
226 int32 winID; in _HandleMouseMove()
260 int32 winID; in _HandleMouseButton()
275 int32 winID; in _HandleMouseWheel()
318 int32 winID; in _HandleMouseFocus()
337 int32 winID; in _HandleKeyboardFocus()
356 int32 winID; in _HandleWindowMoved()
357 int32 xPos, yPos; in _HandleWindowMoved()
372 int32 winID; in _HandleWindowResized()
[all …]
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/
A Drecognize_commands.h51 int32 average_window_duration_ms = 1000,
53 int32 suppression_ms = 500,
54 int32 minimum_count = 3);
65 int32 average_window_duration_ms_;
67 int32 suppression_ms_;
68 int32 minimum_count_;
A Daccuracy_utils.h33 int32 how_many_ground_truth_words;
34 int32 how_many_ground_truth_matched;
35 int32 how_many_false_positives;
36 int32 how_many_correct_words;
37 int32 how_many_wrong_words;
A Dtest_streaming_accuracy.cc88 using tensorflow::int32;
141 int32 clip_duration_ms = 1000; in main()
142 int32 clip_stride_ms = 30; in main()
143 int32 average_window_ms = 500; in main()
144 int32 time_tolerance_ms = 750; in main()
145 int32 suppression_ms = 1500; in main()
239 sample_rate_tensor.scalar<int32>()() = sample_rate; in main()
282 int32 false_positive_delta = stats.how_many_false_positives - in main()
284 int32 correct_delta = stats.how_many_correct_words - in main()
286 int32 wrong_delta = in main()
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/libtiff/
A Dtif_color.c46 TIFFCIELabToXYZ(TIFFCIELabToRGB *cielab, uint32 l, int32 a, int32 b, in TIFFCIELabToXYZ()
176 #define FIX(x) ((int32)((x) * (1L<<SHIFT) + 0.5))
177 #define ONE_HALF ((int32)(1<<(SHIFT-1)))
183 TIFFYCbCrtoRGB(TIFFYCbCrToRGB *ycbcr, uint32 Y, int32 Cb, int32 Cr, in TIFFYCbCrtoRGB()
186 int32 i; in TIFFYCbCrtoRGB()
254 ycbcr->Cr_g_tab = (int32*) (ycbcr->Cb_b_tab + 256); in TIFFYCbCrToRGBInit()
258 { float f1 = 2-2*LumaRed; int32 D1 = FIX(CLAMP(f1,0.0F,2.0F)); in TIFFYCbCrToRGBInit()
276 int32 Cr = (int32)CLAMPw(Code2V(x, refBlackWhite[4] - 128.0F, in TIFFYCbCrToRGBInit()
279 int32 Cb = (int32)CLAMPw(Code2V(x, refBlackWhite[2] - 128.0F, in TIFFYCbCrToRGBInit()
283 ycbcr->Cr_r_tab[i] = (int32)((D1*Cr + ONE_HALF)>>SHIFT); in TIFFYCbCrToRGBInit()
[all …]
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/mlir/testing/op_tests/
A Dwhere_v2.py33 "input_dtype": [tf.float32, tf.int32],
38 "input_dtype": [tf.float32, tf.int32],
43 "input_dtype": [tf.float32, tf.int32],
48 "input_dtype": [tf.float32, tf.int32],
53 "input_dtype": [tf.float32, tf.int32],
58 "input_dtype": [tf.float32, tf.int32],
63 "input_dtype": [tf.float32, tf.int32],
68 "input_dtype": [tf.float32, tf.int32],
A Dbroadcast_to.py32 "input_dtype": [tf.float32, tf.int32],
37 "input_dtype": [tf.float32, tf.int32],
41 "input_dtype": [tf.float32, tf.int32],
45 "input_dtype": [tf.float32, tf.int32],
/AliOS-Things-master/components/SDL2/src/image/external/tiff-4.0.9/contrib/pds/
A Dtif_imageiter.h11 (TIFFImageIter*, void *, uint32, uint32, uint32, uint32, int32,
19 int32 fromskew, \
24 (TIFFImageIter*, void *, uint32, uint32, uint32, uint32, int32,
32 int32 fromskew, \
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/integer_ops/
A Ddequantize.h29 const int32 zero_point = op_params.zero_point; in Dequantize()
34 const int32 val = static_cast<int32>(input_data[i]); in Dequantize()

Completed in 110 milliseconds

12345