dropout_mask {fastai}R 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


[Package fastai version 2.2.2 Index]