/external/tensorflow/tensorflow/core/kernels/ |
D | quantized_resize_bilinear_op_test.cc | 69 const bool half_pixel_centers, const int64 out_size, const int64 in_size, in GetReferenceWeight() argument 71 const float in = half_pixel_centers in GetReferenceWeight() 109 T CalcReferenceResizedVal(const T* image_data, const bool half_pixel_centers, in CalcReferenceResizedVal() argument 117 half_pixel_centers, out_width, in_width, channels, x, width_scale); in CalcReferenceResizedVal() 119 half_pixel_centers, out_height, in_height, 1, y, height_scale); in CalcReferenceResizedVal() 148 const bool half_pixel_centers, const float min, in CheckTensorValue() argument 162 in_data, half_pixel_centers, batch_size, in_height, in_width, in CheckTensorValue() 192 const bool half_pixel_centers, in TestResizeBilinear() argument 203 ops::QuantizedResizeBilinear::HalfPixelCenters(half_pixel_centers)); in TestResizeBilinear() 299 const bool half_pixel_centers) { in RunTestResizeBilinearTwoDims() argument [all …]
|
D | resize_nearest_neighbor_op.cc | 106 template <bool half_pixel_centers> 131 template <typename T, bool half_pixel_centers, bool align_corners> 132 struct ResizeNearestNeighbor<CPUDevice, T, half_pixel_centers, align_corners> { 136 typename BoolToScaler<half_pixel_centers>::Scaler scaler; in operator ()() 152 if (half_pixel_centers) { in operator ()() 161 if (half_pixel_centers) { in operator ()() 274 template <typename T, bool half_pixel_centers, bool align_corners> 275 struct ResizeNearestNeighborGrad<CPUDevice, T, half_pixel_centers, 280 typename BoolToScaler<half_pixel_centers>::Scaler scaler; in operator ()()
|
D | resize_nearest_neighbor_op_gpu.cu.cc | 160 template <typename T, bool half_pixel_centers, bool align_corners> 161 struct ResizeNearestNeighbor<GPUDevice, T, half_pixel_centers, align_corners> { 177 if (half_pixel_centers) { in operator ()() 206 template <typename T, bool half_pixel_centers, bool align_corners> 207 struct ResizeNearestNeighborGrad<GPUDevice, T, half_pixel_centers, 231 if (half_pixel_centers) { in operator ()()
|
D | quantized_resize_bilinear_op.cc | 76 const int index_step, const int resolution, const bool half_pixel_centers) { in BuildLerpCache() argument 79 if (half_pixel_centers) { in BuildLerpCache() 473 const bool half_pixel_centers, in ResizeImageReference() argument 478 out_width, in_width, width_scale, channels, 0, half_pixel_centers); in ResizeImageReference() 480 out_height, in_height, height_scale, 1, 0, half_pixel_centers); in ResizeImageReference() 522 const bool half_pixel_centers, in ResizeImage() argument 526 in_min, in_max, half_pixel_centers, output); in ResizeImage() 536 const bool half_pixel_centers, in ResizeImage() argument 546 RESOLUTION, half_pixel_centers); in ResizeImage() 548 out_height, in_height, height_scale, 1, RESOLUTION, half_pixel_centers); in ResizeImage() [all …]
|
D | image_resizer_state.h | 68 explicit ImageResizerState(bool align_corners, bool half_pixel_centers) in ImageResizerState() 70 half_pixel_centers_(half_pixel_centers) {} in ImageResizerState() 160 bool half_pixel_centers) in ImageResizerGradientState() 162 half_pixel_centers_(half_pixel_centers) {} in ImageResizerGradientState()
|
D | resize_bicubic_op.cc | 209 const bool half_pixel_centers, in ComputeXWeightsAndIndices() argument 212 if (half_pixel_centers) { in ComputeXWeightsAndIndices() 240 const bool half_pixel_centers, std::vector<WeightsAndIndices>* x_wais) { in ComputeGradientXWeightsAndIndices() argument 242 if (half_pixel_centers) { in ComputeGradientXWeightsAndIndices() 295 const ImageResizerState& resizer_state, const bool half_pixel_centers, in interpolate_with_caching() argument 298 ComputeXWeightsAndIndices(resizer_state, half_pixel_centers, &x_wais); in interpolate_with_caching() 313 if (half_pixel_centers) { in interpolate_with_caching() 474 const bool half_pixel_centers, in ResizeBicubicGrad() argument 488 ComputeGradientXWeightsAndIndices(resizer_state, half_pixel_centers, &x_wais); in ResizeBicubicGrad() 492 if (half_pixel_centers) { in ResizeBicubicGrad()
|
D | resize_bilinear_op.h | 30 const bool half_pixel_centers, 39 const bool half_pixel_centers,
|
D | resize_nearest_neighbor_op.h | 25 template <typename Device, typename T, bool half_pixel_centers, 33 template <typename Device, typename T, bool half_pixel_centers,
|
D | resize_bilinear_op_gpu.cu.cc | 269 const bool half_pixel_centers, in operator ()() 283 if (half_pixel_centers) { in operator ()() 305 const bool half_pixel_centers, in operator ()() 329 if (half_pixel_centers) { in operator ()()
|
D | resize_bilinear_op.cc | 214 bool half_pixel_centers, in operator ()() 233 if (half_pixel_centers) { in operator ()() 355 const bool half_pixel_centers, in operator ()() 357 if (half_pixel_centers) { in operator ()()
|
D | resize_nearest_neighbor_op_test.cc | 36 explicit ResizeNearestNeighborOpTestBase(bool half_pixel_centers) { in ResizeNearestNeighborOpTestBase() argument 41 .Attr("half_pixel_centers", half_pixel_centers) in ResizeNearestNeighborOpTestBase()
|
D | resize_bilinear_op_test.cc | 35 explicit ResizeBilinearOpTestBase(bool half_pixel_centers) in ResizeBilinearOpTestBase() argument 36 : half_pixel_centers_(half_pixel_centers) { in ResizeBilinearOpTestBase()
|
/external/tensorflow/tensorflow/cc/gradients/ |
D | image_grad_test.cc | 55 const bool align_corners, const bool half_pixel_centers, in MakeOp() argument 67 .HalfPixelCenters(half_pixel_centers)); in MakeOp() 72 .HalfPixelCenters(half_pixel_centers)); in MakeOp() 80 const bool half_pixel_centers) { in TestResizedShapeForType() argument 84 MakeOp<T>(op_type, x_data, {4, 6}, align_corners, half_pixel_centers, &x, in TestResizedShapeForType() 95 for (const bool half_pixel_centers : {true, false}) { in TestResizedShape() 97 if (half_pixel_centers && align_corners) { in TestResizedShape() 101 half_pixel_centers); in TestResizedShape() 103 half_pixel_centers); in TestResizedShape() 105 half_pixel_centers); in TestResizedShape() [all …]
|
D | image_grad.cc | 32 bool half_pixel_centers; in ResizeNearestNeighborGradHelper() local 34 &half_pixel_centers)); in ResizeNearestNeighborGradHelper() 42 .HalfPixelCenters(half_pixel_centers))); in ResizeNearestNeighborGradHelper() 54 bool half_pixel_centers; in ResizeBilinearGradHelper() local 56 &half_pixel_centers)); in ResizeBilinearGradHelper() 60 .HalfPixelCenters(half_pixel_centers))); in ResizeBilinearGradHelper() 72 bool half_pixel_centers; in ResizeBicubicGradHelper() local 74 &half_pixel_centers)); in ResizeBicubicGradHelper() 79 .HalfPixelCenters(half_pixel_centers))); in ResizeBicubicGradHelper()
|
/external/tensorflow/tensorflow/python/ops/ |
D | image_grad.py | 48 half_pixel_centers=op.get_attr("half_pixel_centers")) 67 half_pixel_centers=op.get_attr("half_pixel_centers")) 111 half_pixel_centers=op.get_attr("half_pixel_centers"))
|
D | image_ops_impl.py | 1229 images_t, new_size, half_pixel_centers=True) 1232 images_t, new_size, half_pixel_centers=True) 1238 images_t, new_size, half_pixel_centers=True) 3197 half_pixel_centers=False): argument 3202 half_pixel_centers=half_pixel_centers, 3210 half_pixel_centers=False): argument 3215 half_pixel_centers=half_pixel_centers, 3223 half_pixel_centers=False): argument 3228 half_pixel_centers=half_pixel_centers,
|
D | image_ops_test.py | 2527 half_pixel_centers=True)
|
/external/tensorflow/tensorflow/tools/api/golden/v1/ |
D | tensorflow.image.pbtxt | 189 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'name\', \'half_pixel_centers\'], vararg… 193 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'name\', \'half_pixel_centers\'], vararg… 209 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'name\', \'half_pixel_centers\'], vararg…
|
D | tensorflow.raw_ops.pbtxt | 2509 …argspec: "args=[\'images\', \'size\', \'min\', \'max\', \'align_corners\', \'half_pixel_centers\',… 2841 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'half_pixel_centers\', \'name\'], vararg… 2845 …argspec: "args=[\'grads\', \'original_image\', \'align_corners\', \'half_pixel_centers\', \'name\'… 2849 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'half_pixel_centers\', \'name\'], vararg… 2853 …argspec: "args=[\'grads\', \'original_image\', \'align_corners\', \'half_pixel_centers\', \'name\'… 2857 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'half_pixel_centers\', \'name\'], vararg… 2861 …argspec: "args=[\'grads\', \'size\', \'align_corners\', \'half_pixel_centers\', \'name\'], varargs…
|
/external/tensorflow/tensorflow/tools/api/golden/v2/ |
D | tensorflow.raw_ops.pbtxt | 2509 …argspec: "args=[\'images\', \'size\', \'min\', \'max\', \'align_corners\', \'half_pixel_centers\',… 2841 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'half_pixel_centers\', \'name\'], vararg… 2845 …argspec: "args=[\'grads\', \'original_image\', \'align_corners\', \'half_pixel_centers\', \'name\'… 2849 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'half_pixel_centers\', \'name\'], vararg… 2853 …argspec: "args=[\'grads\', \'original_image\', \'align_corners\', \'half_pixel_centers\', \'name\'… 2857 …argspec: "args=[\'images\', \'size\', \'align_corners\', \'half_pixel_centers\', \'name\'], vararg… 2861 …argspec: "args=[\'grads\', \'size\', \'align_corners\', \'half_pixel_centers\', \'name\'], varargs…
|
/external/tensorflow/tensorflow/core/ops/ |
D | ops.pbtxt | 26046 name: "half_pixel_centers" 28494 name: "half_pixel_centers" 28533 name: "half_pixel_centers" 28580 name: "half_pixel_centers" 28621 name: "half_pixel_centers" 28667 name: "half_pixel_centers" 28710 name: "half_pixel_centers"
|
/external/tensorflow/tensorflow/core/ops/compat/ |
D | ops_history.v2.pbtxt | 50742 name: "half_pixel_centers" 54380 name: "half_pixel_centers" 54451 name: "half_pixel_centers" 54615 name: "half_pixel_centers" 54723 name: "half_pixel_centers" 54846 name: "half_pixel_centers" 54925 name: "half_pixel_centers"
|
D | ops_history.v1.pbtxt | 51325 name: "half_pixel_centers" 54963 name: "half_pixel_centers" 55034 name: "half_pixel_centers" 55198 name: "half_pixel_centers" 55306 name: "half_pixel_centers" 55429 name: "half_pixel_centers" 55508 name: "half_pixel_centers"
|