keras/src/backend/tensorflow/random.py/dropout
def dropout(inputs, rate, noise_shape=None, seed=None):
    seed = _cast_seed(draw_seed(seed))
    noise_shape = _get_concrete_noise_shape(inputs, noise_shape)
    return tf.nn.experimental.stateless_dropout(
        inputs,
        rate=rate,
        noise_shape=noise_shape,
        seed=seed,
    )