Home
last modified time | relevance | path

Searched refs:bottom_right_v (Results 1 – 8 of 8) sorted by relevance

/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/
H A Dspatial_transformer.cc63 DType bottom_right_v = 0; in BilinearSamplingForward() local
76 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() local
142 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()
H A Dbilinear_sampler.cc59 DType bottom_right_v = 0; in BilinearSamplerForward() local
67 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() local
140 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()
H A Dspatial_transformer.cu74 DType bottom_right_v = 0; in BilinearSamplingForwardKernel() local
82 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() local
149 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()
H A Dbilinear_sampler.cu65 DType bottom_right_v = 0; in BilinearSamplerForwardKernel() local
73 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() local
140 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()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/
H A Dbilinear_sampler.cc59 DType bottom_right_v = 0; in BilinearSamplerForward() local
67 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() local
140 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()
H A Dspatial_transformer.cc63 DType bottom_right_v = 0; in BilinearSamplingForward() local
76 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() local
142 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()
H A Dspatial_transformer.cu74 DType bottom_right_v = 0; in BilinearSamplingForwardKernel() local
82 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() local
149 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()
H A Dbilinear_sampler.cu65 DType bottom_right_v = 0; in BilinearSamplerForwardKernel() local
73 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() local
140 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()