File size: 338 Bytes
4196369
 
 
 
 
a517ecd
4196369
 
 
 
 
 
 
a517ecd
4196369
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from titans_pytorch.neural_memory import (
    NeuralMemory,
    NeuralMemState,
    mem_state_detach
)

from titans_pytorch.memory_models import (
    MemoryMLP,
    MemoryAttention,
    FactorizedMemoryMLP,
    MemorySwiGluMLP,
    GatedResidualMemoryMLP
)

from titans_pytorch.mac_transformer import (
    MemoryAsContextTransformer
)