R/text_models.R
dropout_mask.Rd
Return a dropout mask of the same type as `x`, size `sz`, with probability `p` to cancel an element.
dropout_mask(x, sz, p)
x
sz
p
None