dropout_mask: Dropout_mask

Description Usage Arguments Value

View source: R/text_models.R

Description

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

Usage

1
dropout_mask(x, sz, p)

Arguments

x

x

sz

sz

p

p

Value

None


fastai documentation built on July 28, 2021, 5:06 p.m.