Searched refs:half_pixel_centers (Results 1 – 10 of 10) sorted by relevance
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/internal/reference/ |
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()
|
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()
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/ |
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()
|
D | resize_nearest_neighbor.cc | 71 op_params.half_pixel_centers = false; in Eval()
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/c/ |
D | builtin_op_data.h | 315 bool half_pixel_centers; member 320 bool half_pixel_centers; member
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/core/api/ |
D | flatbuffer_conversions.cc | 1775 params->half_pixel_centers = schema_params->half_pixel_centers(); in ParseResizeBilinear() 1778 params->half_pixel_centers = false; in ParseResizeBilinear() 1802 params->half_pixel_centers = schema_params->half_pixel_centers(); in ParseResizeNearestNeighbor() 1805 params->half_pixel_centers = false; in ParseResizeNearestNeighbor()
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/ceva/ |
D | ceva_tflm_lib.h | 32 int32_t* output_ptr, const bool half_pixel_centers, int32_t* scratch); 37 int8_t* output_ptr, const bool half_pixel_centers, int32_t* scratch);
|
D | types.h | 1162 bool half_pixel_centers; 1167 bool half_pixel_centers;
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/internal/ |
D | types.h | 1118 bool half_pixel_centers; member 1123 bool half_pixel_centers; member
|
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/schema/ |
D | schema_generated.h | 5757 bool half_pixel_centers; 5760 half_pixel_centers(false) { 5773 bool half_pixel_centers() const { 5793 void add_half_pixel_centers(bool half_pixel_centers) { 5794 …int8_t>(ResizeBilinearOptions::VT_HALF_PIXEL_CENTERS, static_cast<uint8_t>(half_pixel_centers), 0); 5811 bool half_pixel_centers = false) { 5813 builder_.add_half_pixel_centers(half_pixel_centers); 5823 bool half_pixel_centers; 5826 half_pixel_centers(false) { 5839 bool half_pixel_centers() const { [all …]
|