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