Searched refs:GET_DATA_POINT (Results 1 - 1 of 1) sorted by relevance

/external/tensorflow/tensorflow/contrib/resampler/kernels/
H A Dresampler_ops_gpu.cu.cc34 #define GET_DATA_POINT(x, y) \ macro
86 (fx >= 0 && fy >= 0) ? dx * dy * GET_DATA_POINT(fx, fy) : zero;
89 ? (one - dx) * (one - dy) * GET_DATA_POINT(cx, cy)
93 ? dx * (one - dy) * GET_DATA_POINT(fx, cy)
97 ? (one - dx) * dy * GET_DATA_POINT(cx, fy)
196 const T img_fxfy = (fx >= 0 && fy >= 0) ? GET_DATA_POINT(fx, fy) : zero;
199 ? GET_DATA_POINT(cx, cy)
203 (fx >= 0 && cy <= data_height - 1) ? GET_DATA_POINT(fx, cy) : zero;
206 (cx <= data_width - 1 && fy >= 0) ? GET_DATA_POINT(cx, fy) : zero;
234 #undef GET_DATA_POINT macro
[all...]

Completed in 109 milliseconds