dropout_mask: Dropout_mask

View source: R/text_models.R

dropout_maskR Documentation

Dropout_mask

Description

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

Usage

dropout_mask(x, sz, p)

Arguments

x

x

sz

sz

p

p

Value

None


fastai documentation built on March 31, 2023, 11:41 p.m.