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
ModuleHoldersubclass forMultiheadAttentionImpl.See the documentation for
MultiheadAttentionImplclass to learn what methods it provides, and examples of how to useMultiheadAttentionwithtorch::nn::MultiheadAttentionOptions. See the documentation forModuleHolderto learn about PyTorch’s module storage semantics.Public Types
-
using Impl = MultiheadAttentionImpl#
-
using Impl = MultiheadAttentionImpl#