Searched refs:x_floor (Results 1 – 2 of 2) sorted by relevance
101 const float x_floor = std::floor(x); in bilinear_interpolation() local103 const float x_ceil = x_floor + 1; in bilinear_interpolation()108 batch, DenseIndex(y_floor), DenseIndex(x_floor), in bilinear_interpolation()110 (x - x_floor) * static_cast<float>(read_with_fill_value( in bilinear_interpolation()117 batch, DenseIndex(y_ceil), DenseIndex(x_floor), in bilinear_interpolation()119 (x - x_floor) * static_cast<float>(read_with_fill_value( in bilinear_interpolation()
107 auto x_floor = Floor(x); in CreateTupleFloorComputation() local109 Tuple(&builder, {x_floor, y_floor}); in CreateTupleFloorComputation()