powered by
Perform Dropout
dropout(input_tensor, dropout_prob = NULL)
Float Tensor to perform dropout on.
A double giving the probability of dropping out a value (NOT of KEEPING a dimension as in `tf.nn.dropout`).
A version of `input_tensor` with dropout applied.
# NOT RUN { tfx <- tensorflow::tf$get_variable("none", tensorflow::shape(10L)) dropout(tfx, 0.5) # }
Run the code above in your browser using DataLab