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 June 22, 2024, 11:15 a.m.