Searched refs:bottom_right_v (Results 1 – 8 of 8) sorted by relevance
63 DType bottom_right_v = 0; in BilinearSamplingForward() local76 bottom_right_v = *(data + data_index + i_w + 1); in BilinearSamplingForward()80 bottom_right_v * (1.0 - top_left_y_w) * (1.0 - top_left_x_w); in BilinearSamplingForward()119 DType bottom_right_v = 0; in BilinearSamplingBackward() local142 bottom_right_v = *(data + data_index + i_w + 1); in BilinearSamplingBackward()145 top_left_y_gw -= *(grad + grad_index) * (top_right_v - bottom_right_v + in BilinearSamplingBackward()146 (top_left_v - top_right_v - bottom_left_v + bottom_right_v) in BilinearSamplingBackward()148 top_left_x_gw -= *(grad + grad_index) * (bottom_left_v - bottom_right_v + in BilinearSamplingBackward()149 (top_left_v - top_right_v - bottom_left_v + bottom_right_v) in BilinearSamplingBackward()
59 DType bottom_right_v = 0; in BilinearSamplerForward() local67 bottom_right_v = *(data + data_index + i_w + 1); in BilinearSamplerForward()71 bottom_right_v * (1.0 - top_left_y_w) * (1.0 - top_left_x_w); in BilinearSamplerForward()113 DType bottom_right_v = 0; in BilinearSamplerBackward() local140 bottom_right_v = *(data + data_index + i_w + 1); in BilinearSamplerBackward()143 top_left_y_gw -= *(grad + grad_index) * (top_right_v - bottom_right_v + in BilinearSamplerBackward()144 (top_left_v - top_right_v - bottom_left_v + bottom_right_v) in BilinearSamplerBackward()146 top_left_x_gw -= *(grad + grad_index) * (bottom_left_v - bottom_right_v + in BilinearSamplerBackward()147 (top_left_v - top_right_v - bottom_left_v + bottom_right_v) in BilinearSamplerBackward()
74 DType bottom_right_v = 0; in BilinearSamplingForwardKernel() local82 bottom_right_v = *(data + data_index + i_w + 1); in BilinearSamplingForwardKernel()86 bottom_right_v * (1.0 - top_left_y_w) * (1.0 - top_left_x_w); in BilinearSamplingForwardKernel()130 DType bottom_right_v = 0; in BilinearSamplingBackwardKernel() local149 bottom_right_v = *(data + data_index + i_w + 1); in BilinearSamplingBackwardKernel()152 top_left_y_gw -= *(grad + grad_index) * (top_right_v - bottom_right_v + in BilinearSamplingBackwardKernel()153 (top_left_v - top_right_v - bottom_left_v + bottom_right_v) in BilinearSamplingBackwardKernel()155 top_left_x_gw -= *(grad + grad_index) * (bottom_left_v - bottom_right_v + in BilinearSamplingBackwardKernel()156 (top_left_v - top_right_v - bottom_left_v + bottom_right_v) in BilinearSamplingBackwardKernel()
65 DType bottom_right_v = 0; in BilinearSamplerForwardKernel() local73 bottom_right_v = *(data + data_index + i_w + 1); in BilinearSamplerForwardKernel()77 bottom_right_v * (1.0 - top_left_y_w) * (1.0 - top_left_x_w); in BilinearSamplerForwardKernel()113 DType bottom_right_v = 0; in BilinearSamplerBackwardKernel() local140 bottom_right_v = *(data + data_index + i_w + 1); in BilinearSamplerBackwardKernel()143 top_left_y_gw -= *(grad + grad_index) * (top_right_v - bottom_right_v + in BilinearSamplerBackwardKernel()144 (top_left_v - top_right_v - bottom_left_v + bottom_right_v) in BilinearSamplerBackwardKernel()146 top_left_x_gw -= *(grad + grad_index) * (bottom_left_v - bottom_right_v + in BilinearSamplerBackwardKernel()147 (top_left_v - top_right_v - bottom_left_v + bottom_right_v) in BilinearSamplerBackwardKernel()