Shortcuts

Class FeatureAlphaDropoutImpl

Inheritance Relationships

Base Type

Class Documentation

class torch::nn::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)
void pretty_print(std::ostream &stream) const override

Pretty prints the FeatureAlphaDropout module into the given stream.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources