Home
last modified time | relevance | path

Searched refs:half_pixel_centers_ (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dimage_resizer_state.h70 half_pixel_centers_(half_pixel_centers) {} in ImageResizerState()
81 !half_pixel_centers_ || (half_pixel_centers_ && !align_corners_), in ValidateAndCalculateOutputSize()
155 bool half_pixel_centers_; member
162 half_pixel_centers_(half_pixel_centers) {} in ImageResizerGradientState()
168 !half_pixel_centers_ || (half_pixel_centers_ && !align_corners_), in ValidateAndCreateOutput()
224 bool half_pixel_centers_; member
Dresize_nearest_neighbor_op.cc44 context, context->GetAttr("half_pixel_centers", &half_pixel_centers_)); in ResizeNearestNeighborOp()
49 ImageResizerState st(align_corners_, half_pixel_centers_); in Compute()
65 if (half_pixel_centers_) { in Compute()
102 bool half_pixel_centers_; member in tensorflow::ResizeNearestNeighborOp
180 context, context->GetAttr("half_pixel_centers", &half_pixel_centers_)); in ResizeNearestNeighborOpGrad()
230 if (half_pixel_centers_) { in Compute()
269 bool half_pixel_centers_; member in tensorflow::ResizeNearestNeighborOpGrad
Dresize_bilinear_op.cc43 context, context->GetAttr("half_pixel_centers", &half_pixel_centers_)); in ResizeBilinearOp()
48 ImageResizerState st(align_corners_, half_pixel_centers_); in Compute()
61 st.width_scale, half_pixel_centers_, output_data); in Compute()
66 bool half_pixel_centers_; member in tensorflow::ResizeBilinearOp
265 context, context->GetAttr("half_pixel_centers", &half_pixel_centers_)); in ResizeBilinearOpGrad()
274 ImageResizerGradientState st(align_corners_, half_pixel_centers_); in Compute()
284 st.width_scale, half_pixel_centers_, output_grad); in Compute()
289 bool half_pixel_centers_; member in tensorflow::ResizeBilinearOpGrad
Dresize_bicubic_op.cc555 context, context->GetAttr("half_pixel_centers", &half_pixel_centers_)); in ResizeBicubicOp()
560 ImageResizerState st(align_corners_, half_pixel_centers_); in Compute()
568 interpolate_with_caching<T>(input_data, st, half_pixel_centers_, in Compute()
574 bool half_pixel_centers_; member in tensorflow::ResizeBicubicOp
584 context, context->GetAttr("half_pixel_centers", &half_pixel_centers_)); in ResizeBicubicOpGrad()
593 ImageResizerGradientState st(align_corners_, half_pixel_centers_); in Compute()
601 ResizeBicubicGrad<T>(input_grad, st, half_pixel_centers_, output_grad); in Compute()
606 bool half_pixel_centers_; member in tensorflow::ResizeBicubicOpGrad
Dresize_bilinear_op_test.cc36 : half_pixel_centers_(half_pixel_centers) { in ResizeBilinearOpTestBase()
41 .Attr("half_pixel_centers", half_pixel_centers_) in ResizeBilinearOpTestBase()
87 half_pixel_centers_ in ResizeBilinearBaseline()
97 half_pixel_centers_ in ResizeBilinearBaseline()
152 bool half_pixel_centers_; member in tensorflow::ResizeBilinearOpTestBase
Dquantized_resize_bilinear_op.cc699 context, context->GetAttr("half_pixel_centers", &half_pixel_centers_)); in QuantizedResizeBilinearOp()
719 in_max, half_pixel_centers_, &output_data); in Compute()
731 bool half_pixel_centers_; member in tensorflow::QuantizedResizeBilinearOp