Module pysimt.layers.transformers
Transformers related sub-layer implementations.
Expand source code
"""Transformers related sub-layer implementations."""
from .base_sublayer import BaseSublayer
from .self_attention_sublayer import SelfAttentionSublayer
from .cross_attention_sublayer import CrossAttentionSublayer
from .cross_attention_sublayer_mm_flat import FlatMMCrossAttentionSublayer
from .cross_attention_sublayer_mm_hier import HierarchicalMMCrossAttentionSublayer
from .cross_attention_sublayer_mm_serial import SerialMMCrossAttentionSublayer
from .cross_attention_sublayer_mm_parallel import ParallelMMCrossAttentionSublayer
Sub-modules
pysimt.layers.transformers.base_sublayer
pysimt.layers.transformers.cross_attention_sublayer
pysimt.layers.transformers.cross_attention_sublayer_mm_flat
pysimt.layers.transformers.cross_attention_sublayer_mm_hier
pysimt.layers.transformers.cross_attention_sublayer_mm_parallel
pysimt.layers.transformers.cross_attention_sublayer_mm_serial
pysimt.layers.transformers.self_attention_sublayer