IdentityMessage
¶
Bases: Module
The identity message function of TGN: the concatenation of the source and destination memories, the raw message and the time encoding.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
raw_msg_dim
|
int
|
Size of the raw messages |
required |
memory_dim
|
int
|
Size of the memory |
required |
time_dim
|
int
|
Size of the time encoding |
required |
Attributes:
| Name | Type | Description |
|---|---|---|
out_channels |
int
|
PyG name of |
Source code in mlx_graphs/nn/models/tgn.py
from mlx_graphs.nn.models.tgn import IdentityMessage · mlx_graphs/nn/models/tgn.py