协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
temporal-signals【开发与工程】Guides construction, slicing, splitting, iteration, batching, and debugging of PyTorch Geometric Temporal signal iterators.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task is about building or debugging PyTorch Geometric Temporal snapshot iterators from in-memory arrays, not about downloading datasets or training models.
Keep this file as the router. Read the bundled references for constructor signatures, shape contracts, recipes, and failure recovery.
Load this sub-skill for requests such as:
StaticGraphTemporalSignal/DynamicGraphTemporalSignal/DynamicGraphStaticSignal"dataset[0] return?"**kwargs"batch vector or batch_dict"Temporal dimension inconsistency. or missing hetero keys"This sub-skill covers:
StaticGraphTemporalSignal, DynamicGraphTemporalSignal, DynamicGraphStaticSignal.StaticGraphTemporalSignalBatch, DynamicGraphTemporalSignalBatch, DynamicGraphStaticSignalBatch.StaticHeteroGraphTemporalSignal, DynamicHeteroGraphTemporalSignal, DynamicHeteroGraphStaticSignal.StaticHeteroGraphTemporalSignalBatch, DynamicHeteroGraphTemporalSignalBatch, DynamicHeteroGraphStaticSignalBatch.temporal_signal_split, integer snapshot access, slice access, iterator reset behavior, snapshot_count, and optional temporal attributes passed through **kwargs.get_dataset side effects: use dataset-loaders.IndexDataset, get_index_dataset, sequence-to-sequence index batches, allGPU, world_size, or Dask-DDP: use index-batching.recurrent-layers or attention-and-hetero-layers.StaticGraphTemporalSignal; temporal edges plus temporal features use DynamicGraphTemporalSignal; temporal edges plus one fixed feature matrix use DynamicGraphStaticSignal.Data or Batch; heterogeneous snapshots use node/relation dictionaries and return HeteroData or a hetero Batch.batch vector or batch_dict.iterator.snapshot_count over len(iterator) because __len__ is not implemented consistently across all iterator classes.edge_index, edge_attr, x, y, and optionally batch or per-type attributes.temporal_signal_split preserves chronological order and calls slice access; it does not shuffle, copy deeply, or validate the ratio for you.