WeightDropout: WeightDropout

View source: R/text_models.R

WeightDropoutR Documentation

WeightDropout

Description

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

Usage

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