Home
last modified time | relevance | path

Searched refs:floor_x (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/image/python/kernel_tests/
Ddense_image_warp_test.py125 floor_x = max(min(width - 2, math.floor(float_x)), 0)
127 ceil_x = floor_x + 1
130 alpha_x = min(max(0.0, float_x - floor_x), 1.0)
133 floor_x = int(floor_x)
137 top_left = image[batch_index, floor_y, floor_x, :]
139 bottom_left = image[batch_index, ceil_y, floor_x, :]
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_tgsi_action.c301 LLVMValueRef floor_x; in exp_emit() local
304 floor_x = lp_build_emit_llvm_unary(bld_base, TGSI_OPCODE_FLR, in exp_emit()
309 TGSI_OPCODE_EX2, floor_x); in exp_emit()
313 lp_build_sub(&bld_base->base, emit_data->args[0] /* src0.x */, floor_x); in exp_emit()