Home
last modified time | relevance | path

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/
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()
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()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/micro/kernels/
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()
Dresize_nearest_neighbor.cc71 op_params.half_pixel_centers = false; in Eval()
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/c/
Dbuiltin_op_data.h315 bool half_pixel_centers; member
320 bool half_pixel_centers; member
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/core/api/
Dflatbuffer_conversions.cc1775 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/
Dceva_tflm_lib.h32 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);
Dtypes.h1162 bool half_pixel_centers;
1167 bool half_pixel_centers;
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/kernels/internal/
Dtypes.h1118 bool half_pixel_centers; member
1123 bool half_pixel_centers; member
/tflite-micro-3.4.0-2.7.6/tensorflow/lite/schema/
Dschema_generated.h5757 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 …]