executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
attention-and-hetero-layersGuides PyTorch Geometric Temporal attention-based temporal graph layers and heterogeneous recurrent layers, with model selection, tensor layouts, and smoke checks.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when a task involves PyTorch Geometric Temporal attention/STGCN-style layers, MTGNN/GMAN/AAGCN/DNNTSP models, or the heterogeneous HeteroGCLSTM layer. Keep this file as a router; read the bundled references for signatures, layouts, and complete wiring patterns.
TemporalConv, STConv, ASTGCN, MSTGCN, GMAN, MTGNN, AAGCN, DNNTSP, ChebConvAttention, MixProp, GraphConstructor, GraphAAGCN, SpatioTemporalEmbedding, SpatioTemporalAttention, or HeteroGCLSTM.x_dict, edge_index_dict, metadata) and wants a recurrent hidden/cell-state update per node type.GConvGRU, DCRNN, TGCN, A3TGCN, AGCRN, MPNNLSTM, etc.): route to recurrent-layers.dataset-loaders first, then return here only after tensors are prepared.temporal-signals.get_index_dataset: route to index-batching.| User intent | Start with | Why |
|---|---|---|
STGCN block over [batch, time, nodes, features] traffic windows | TemporalConv or STConv | STConv combines two temporal convolutions with a Chebyshev graph convolution; TemporalConv is only the temporal gated-conv block. |
| Attention-based traffic forecasting with spatial and temporal attention | ASTGCN | High-level ASTGCN model; use ChebConvAttention only for custom blocks. |
| ASTGCN-like traffic forecasting without explicit attention modules | MSTGCN | High-level multi-component STGCN variant. |
| GMAN-style multi-attention traffic prediction | GMAN | High-level model that consumes spatial embeddings and integer-coded temporal embeddings. |
| Multivariate time-series graph learning with adaptive adjacency | MTGNN | High-level model; MixProp and GraphConstructor are helper blocks. |
| Skeleton/action style spatio-temporal graph convolution | AAGCN | High-level 2S-AGCN block; GraphAAGCN only builds its three-channel adjacency tensor. |
| Temporal set prediction | DNNTSP | High-level temporal-set model; expect item-batched node features. |
| Heterogeneous temporal recurrence | HeteroGCLSTM | Heterogeneous graph convolutional LSTM cell returning hidden/cell dictionaries. |
The most common failure is transposing the wrong axes. Confirm the target class before creating tensors:
TemporalConv and STConv: input is [B, T, N, F] and output keeps [B, T_out, N, F_out].ASTGCN and MSTGCN: input is [B, N, F, T]; output is [B, N, num_for_predict].GMAN: X is [B, num_his, N]; SE is [N, K*d]; TE is [B, num_his + num_pred, 2] with day-of-week and time-of-day integer codes.MTGNN and helpers: input is channel-first [B, in_dim, N, seq_length].AAGCN: input is [B, F, T, N].HeteroGCLSTM: use PyG-style dictionaries (x_dict, edge_index_dict) plus metadata=(node_types, edge_types).TemporalConv, STConv, and HeteroGCLSTM with no downloads.ASTGCN, MSTGCN, GMAN, MTGNN, DNNTSP), start with tiny synthetic dimensions and mark any full training or traffic benchmark run as optional/expensive.