def dropout(x, level, seed=None):
    retain_prob = 1. - level
    if seed is None:
        seed = np.random.randint(10e6)
    # the dummy 1. works around a TF bug
    # (float32_ref vs. float32 incomptability)
    return tf.nn.dropout(x * 1., retain_prob, seed=seed)
dir property returns current sort direction for current field.
dataset/ETHPy150Open fchollet/keras/keras/backend/tensorflow_backend.py/dropout--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/view/lists/test_sort.py/SortTest.test_dir_same_field