Return a dropout mask of the same type as `x`, size `sz`, with probability `p` to cancel an element.

dropout_mask(x, sz, p)

Arguments

x

x

sz

sz

p

p

Value

None