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