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 D | resize_bilinear.h | 30 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 D | resize_nearest_neighbor.h | 31 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 D | legacy_reference_ops.h | 1986 op_params.half_pixel_centers = false; in ResizeBilinear()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/kernels/ |
A D | resize_bilinear.cc | 52 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 D | resize_nearest_neighbor.cc | 71 op_params.half_pixel_centers = false; in Eval()
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/c/ |
A D | builtin_op_data.h | 313 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 D | resize_bilinear.h | 1515 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 D | legacy_optimized_ops.h | 4804 op_params.half_pixel_centers = false; in ResizeBilinear() 4816 op_params.half_pixel_centers = false; in ResizeBilinear()
|
A D | optimized_ops.h | 5582 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 D | flatbuffer_conversions.cc | 1732 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 D | types.h | 1064 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 D | schema_generated.h | 5688 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