Class GRU#
Defined in File rnn.h
Page Contents
Inheritance Relationships#
Base Type#
public torch::nn::ModuleHolder< GRUImpl >
(Template Class ModuleHolder)
Class Documentation#
-
class GRU : public torch::nn::ModuleHolder<GRUImpl>#
A
ModuleHolder
subclass forGRUImpl
.See the documentation for
GRUImpl
class to learn what methods it provides, and examples of how to useGRU
withtorch::nn::GRUOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.