Class TransformerEncoderLayer¶
Defined in File transformerlayer.h
Page Contents
Inheritance Relationships¶
Base Type¶
public torch::nn::ModuleHolder< TransformerEncoderLayerImpl >
(Template Class ModuleHolder)
Class Documentation¶
-
class TransformerEncoderLayer : public torch::nn::ModuleHolder<TransformerEncoderLayerImpl>¶
A
ModuleHolder
subclass forTransformerEncoderLayerImpl
.
See the documentation forTransformerEncoderLayerImpl
class to learn what methods it provides, and examples of how to use
TransformerEncoderLayerwith
torch::nn::TransformerEncoderLayerOptions<tt>. See the documentation for ModuleHolder` to learn about PyTorch’s module storage semantics.Public Types
-
using Impl = TransformerEncoderLayerImpl¶
-
using Impl = TransformerEncoderLayerImpl¶