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