layer_norm_and_dropout | R Documentation |
Run layer normalization followed by dropout
layer_norm_and_dropout(input_tensor, dropout_prob = NULL, name = NULL)
input_tensor |
Float Tensor to perform layer_norm and dropout on. |
dropout_prob |
A double describing the probability of dropping out a value (NOT of KEEPING a dimension as in 'tf.nn.dropout'). |
name |
Optional variable_scope for layer_norm. |
Tensor resulting from applying layer_norm and dropout to
input_tensor
.
## Not run: tfx <- tensorflow::tf$get_variable("example2", tensorflow::shape(10L)) layer_norm_and_dropout(tfx, dropout_prob = 0.5) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.