Rate this Page

Class FeatureAlphaDropoutImpl#

Inheritance Relationships#

Base Type#

Class Documentation#

class FeatureAlphaDropoutImpl : public torch::nn::detail::_DropoutNd<FeatureAlphaDropoutImpl>#

See the documentation for torch::nn::FeatureAlphaDropoutOptions class to learn what constructor arguments are supported for this module.

Example:

FeatureAlphaDropout model(FeatureAlphaDropoutOptions(0.2).inplace(true));

Public Functions

Tensor forward(const Tensor &input)#
virtual void pretty_print(std::ostream &stream) const override#

Pretty prints the FeatureAlphaDropout module into the given stream.