Lines Matching refs:cur_x
42 cur_x = cur_c * self.blk_sz
44 ref_x = cur_x
48 for x in xrange(cur_x - self.wnd_sz, cur_x + self.wnd_sz):
50 loss = self.block_dist(cur_r, cur_c, [y - cur_y, x - cur_x],
116 cur_x = cur_c * self.blk_sz
118 ref_x = cur_x
123 for x in xrange(cur_x - self.wnd_sz, cur_x + self.wnd_sz):
125 dist_loss = self.block_dist(cur_r, cur_c, [y - cur_y, x - cur_x],
127 nb_loss = self.neighborLoss(cur_r, cur_c, [y - cur_y, x - cur_x])
212 cur_x = cur_c * self.blk_sz
214 ref_x = cur_x
218 for x in xrange(cur_x - self.wnd_sz, cur_x + self.wnd_sz):
220 loss = self.block_dist(cur_r, cur_c, [y - cur_y, x - cur_x],