Shortcuts

Template Class _DropoutNd

Inheritance Relationships

Base Type

Class Documentation

template<typename Derived>
class torch::nn::detail::_DropoutNd : public torch::nn::Cloneable<Derived>

Public Functions

_DropoutNd(double p)
_DropoutNd(const DropoutOptions &options_ = {})
void reset() override

reset() must perform initialization of all members with reference semantics, most importantly parameters, buffers and submodules.

Public Members

DropoutOptions options

The options with which this Module was constructed.

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