WeightDropout: WeightDropout

Description Usage Arguments Value

View source: R/text_models.R

Description

A module that wraps another layer in which some weights will be replaced by 0 during training.

Usage

1
WeightDropout(module, weight_p, layer_names = "weight_hh_l0")

Arguments

module

module

weight_p

weight_p

layer_names

layer_names

Value

None


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