parameters: (op, grad)
return_statement: return gx, gy
docstring: Returns grad * (1, -floor(x/y)).
docstring_summary: Returns grad * (1, -floor(x/y)).
docstring_tokens: Returns grad * ( 1 - floor ( x / y )) .
function: def _FloorModGrad(op, grad):
    """Returns grad * (1, -floor(x/y))."""
    x = math_ops.conj(op.inputs[0])
    y = math_ops.conj(op.inputs[1])
  
    sx = array_ops.shape(x)
    sy = array_ops.shape(y)
    rx, ry = gen_array_ops.broadcast_gradient_args(sx, sy)
    floor_xy = math_ops.floor_div(x, y)
    gx = array_ops.reshape(math_ops.reduce_sum(grad, rx), sx)
    gy = array_ops.reshape(
        math_ops.reduce_sum(grad * math_ops.negative(floor_xy), ry), sy)
    return gx, gy
function_tokens: def _FloorModGrad ( op , grad ) : x = math_ops . conj ( op . inputs [ 0 ] ) y = math_ops . conj ( op . inputs [ 1 ] ) sx = array_ops . shape ( x ) sy = array_ops . shape ( y ) rx , ry = gen_array_ops . broadcast_gradient_args ( sx , sy ) floor_xy = math_ops . floor_div ( x , y ) gx = array_ops . reshape ( math_ops . reduce_sum ( grad , rx ) , sx ) gy = array_ops . reshape ( math_ops . reduce_sum ( grad * math_ops . negative ( floor_xy ) , ry ) , sy ) return gx , gy