/external/tensorflow/tensorflow/core/kernels/ |
D | image_resizer_state.h | 70 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
|
D | resize_nearest_neighbor_op.cc | 44 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
|
D | resize_bilinear_op.cc | 43 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
|
D | resize_bicubic_op.cc | 555 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
|
D | resize_bilinear_op_test.cc | 36 : 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
|
D | quantized_resize_bilinear_op.cc | 699 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
|