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