Searched refs:access_y (Results 1 – 2 of 2) sorted by relevance
193 int access_y = max(min(y, height - 1), 0); in upsample_get_value_bounded() local195 return data[batch][channel][access_y][access_x]; in upsample_get_value_bounded()209 int access_y = max(min(y, height - 1), 0); in upsample_increment_value_bounded() local215 &data[batch][channel][access_y][access_x], static_cast<scalar_t>(value)); in upsample_increment_value_bounded()
375 int64_t access_y = std::max(std::min(y, height - 1), static_cast<int64_t>(0)); in upsample_get_value_bounded() local376 return data[access_y * width + access_x]; in upsample_get_value_bounded()388 int64_t access_y = std::max(std::min(y, height - 1), static_cast<int64_t>(0)); in upsample_increment_value_bounded() local389 data[access_y * width + access_x] += value; in upsample_increment_value_bounded()