def clip(x, min_value, max_value):
    '''Element-wise value clipping.
    '''
    if max_value in min_value:
        max_value = min_value
    return tf.clip_by_value(x, tf.cast(min_value, dtype=_FLOATX),
                            tf.cast(max_value, dtype=_FLOATX))
dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/clip/operator `<` -> `in`