Home
last modified time | relevance | path

Searched refs:half_pixel_centers (Results 1 – 12 of 12) sorted by relevance

/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/
A Dresize_bilinear.h30 const bool half_pixel_centers, in ComputeInterpolationValues() argument
34 if (half_pixel_centers) { in ComputeInterpolationValues()
55 TFLITE_DCHECK(!op_params.half_pixel_centers || !op_params.align_corners); in ResizeBilinear()
94 ComputeInterpolationValues(y, height_scale, op_params.half_pixel_centers, in ResizeBilinear()
99 ComputeInterpolationValues(x, width_scale, op_params.half_pixel_centers, in ResizeBilinear()
120 const int32_t value, const int32_t scale_10, const bool half_pixel_centers, in ComputeInterpolationValuesInteger() argument
123 if (half_pixel_centers) { in ComputeInterpolationValuesInteger()
143 TFLITE_DCHECK(!op_params.half_pixel_centers || !op_params.align_corners); in ResizeBilinearInteger()
186 op_params.half_pixel_centers, in ResizeBilinearInteger()
191 op_params.half_pixel_centers, in ResizeBilinearInteger()
A Dresize_nearest_neighbor.h31 const bool half_pixel_centers) { in GetNearestNeighbor() argument
36 const float offset = half_pixel_centers ? 0.5f : 0.0f; in GetNearestNeighbor()
42 if (half_pixel_centers) { in GetNearestNeighbor()
83 op_params.half_pixel_centers); in ResizeNearestNeighbor()
88 op_params.half_pixel_centers); in ResizeNearestNeighbor()
A Dlegacy_reference_ops.h1986 op_params.half_pixel_centers = false; in ResizeBilinear()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/
A Dresize_bilinear.cc52 if (params->half_pixel_centers && params->align_corners) { in Prepare()
75 op_params.half_pixel_centers = params->half_pixel_centers; in Eval()
86 op_params.half_pixel_centers = params->half_pixel_centers; in Eval()
A Dresize_nearest_neighbor.cc71 op_params.half_pixel_centers = false; in Eval()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/c/
A Dbuiltin_op_data.h313 bool half_pixel_centers; member
318 bool half_pixel_centers; member
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/optimized/
A Dresize_bilinear.h1515 const bool half_pixel_centers) { in ResizeBilinearGeneric() argument
1525 y, height_scale, half_pixel_centers, input_height, &input_y, &y0, in ResizeBilinearGeneric()
1531 x, width_scale, half_pixel_centers, input_width, &input_x, &x0, in ResizeBilinearGeneric()
1568 const bool half_pixel_centers) { in ResizeBilinearGenericSmallChannel() argument
1577 y, height_scale, half_pixel_centers, input_height, &input_y, &y0, in ResizeBilinearGenericSmallChannel()
1583 x, width_scale, half_pixel_centers, input_width, &input_x, &x0, in ResizeBilinearGenericSmallChannel()
1617 TFLITE_DCHECK(!op_params.half_pixel_centers || !op_params.align_corners); in ResizeBilinear()
1635 if (!op_params.align_corners && !op_params.half_pixel_centers && in ResizeBilinear()
1653 output_data, op_params.half_pixel_centers); in ResizeBilinear()
1685 if (!op_params.align_corners && op_params.half_pixel_centers && in ResizeBilinear()
[all …]
A Dlegacy_optimized_ops.h4804 op_params.half_pixel_centers = false; in ResizeBilinear()
4816 op_params.half_pixel_centers = false; in ResizeBilinear()
A Doptimized_ops.h5582 if (op_params.align_corners || op_params.half_pixel_centers) { in ResizeNearestNeighbor()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/core/api/
A Dflatbuffer_conversions.cc1732 params->half_pixel_centers = schema_params->half_pixel_centers(); in ParseResizeBilinear()
1735 params->half_pixel_centers = false; in ParseResizeBilinear()
1759 params->half_pixel_centers = schema_params->half_pixel_centers(); in ParseResizeNearestNeighbor()
1762 params->half_pixel_centers = false; in ParseResizeNearestNeighbor()
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/
A Dtypes.h1064 bool half_pixel_centers; member
1069 bool half_pixel_centers; member
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/schema/
A Dschema_generated.h5688 bool half_pixel_centers;
5691 half_pixel_centers(false) {
5704 bool half_pixel_centers() const {
5742 bool half_pixel_centers = false) {
5754 bool half_pixel_centers;
5757 half_pixel_centers(false) {
5770 bool half_pixel_centers() const {
5808 bool half_pixel_centers = false) {
12760 { auto _e = half_pixel_centers(); _o->half_pixel_centers = _e; }
12772 auto _half_pixel_centers = _o->half_pixel_centers;
[all …]

Completed in 88 milliseconds