Class TransformerDecoder¶
Defined in File transformercoder.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< TransformerDecoderImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class TransformerDecoder : public torch::nn::ModuleHolder<TransformerDecoderImpl>¶
A
ModuleHolder
subclass forTransformerDecoderImpl
.See the documentation for
TransformerDecoderImpl
class to learn what methods it provides, and examples of how to useTransformerDecoder
withtorch::nn::TransformerDecoderOptions
. See the documentation forModuleHolder
to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = TransformerDecoderImpl¶
-
using Impl = TransformerDecoderImpl¶