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
ModuleHoldersubclass forGRUImpl.See the documentation for
GRUImplclass to learn what methods it provides, and examples of how to useGRUwithtorch::nn::GRUOptions. See the documentation forModuleHolderto learn about PyTorch’s module storage semantics.