pyg-nightly 2.7.0.dev20250319__py3-none-any.whl → 2.7.0.dev20250321__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pyg_nightly-2.7.0.dev20250319.dist-info → pyg_nightly-2.7.0.dev20250321.dist-info}/METADATA +1 -1
- {pyg_nightly-2.7.0.dev20250319.dist-info → pyg_nightly-2.7.0.dev20250321.dist-info}/RECORD +6 -6
- torch_geometric/__init__.py +1 -1
- torch_geometric/config_mixin.py +4 -2
- {pyg_nightly-2.7.0.dev20250319.dist-info → pyg_nightly-2.7.0.dev20250321.dist-info}/WHEEL +0 -0
- {pyg_nightly-2.7.0.dev20250319.dist-info → pyg_nightly-2.7.0.dev20250321.dist-info}/licenses/LICENSE +0 -0
{pyg_nightly-2.7.0.dev20250319.dist-info → pyg_nightly-2.7.0.dev20250321.dist-info}/METADATA
RENAMED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: pyg-nightly
|
3
|
-
Version: 2.7.0.
|
3
|
+
Version: 2.7.0.dev20250321
|
4
4
|
Summary: Graph Neural Network Library for PyTorch
|
5
5
|
Keywords: deep-learning,pytorch,geometric-deep-learning,graph-neural-networks,graph-convolutional-networks
|
6
6
|
Author-email: Matthias Fey <matthias@pyg.org>
|
@@ -1,8 +1,8 @@
|
|
1
|
-
torch_geometric/__init__.py,sha256=
|
1
|
+
torch_geometric/__init__.py,sha256=xrJKaQvqfmrGE_hsJP033JiezMoC4brKnhuM1h84RNM,1978
|
2
2
|
torch_geometric/_compile.py,sha256=f-WQeH4VLi5Hn9lrgztFUCSrN_FImjhQa6BxFzcYC38,1338
|
3
3
|
torch_geometric/_onnx.py,sha256=V9ffrIKSqhDw6xUZ12lkuSfNs48cQp2EeJ6Z19GfnVw,349
|
4
4
|
torch_geometric/backend.py,sha256=lVaf7aLoVaB3M-UcByUJ1G4T4FOK6LXAg0CF4W3E8jo,1575
|
5
|
-
torch_geometric/config_mixin.py,sha256=
|
5
|
+
torch_geometric/config_mixin.py,sha256=hOTJu5LLVrEAZ6Pjt4ScLDLKv9aHbfAzF_3ufwKgO4I,4301
|
6
6
|
torch_geometric/config_store.py,sha256=zdMzlgBpUmBkPovpYQh5fMNwTZLDq2OneqX47QEx7zk,16818
|
7
7
|
torch_geometric/debug.py,sha256=cLyH9OaL2v7POyW-80b19w-ctA7a_5EZsS4aUF1wc2U,1295
|
8
8
|
torch_geometric/deprecation.py,sha256=dWRymDIUkUVI2MeEmBG5WF4R6jObZeseSBV9G6FNfjc,858
|
@@ -633,7 +633,7 @@ torch_geometric/utils/undirected.py,sha256=H_nfpI0_WluOG6VfjPyldvcjL4w5USAKWu2x5
|
|
633
633
|
torch_geometric/visualization/__init__.py,sha256=PyR_4K5SafsJrBr6qWrkjKr6GBL1b7FtZybyXCDEVwY,154
|
634
634
|
torch_geometric/visualization/graph.py,sha256=ZuLPL92yGRi7lxlqsUPwL_EVVXF7P2kMcveTtW79vpA,4784
|
635
635
|
torch_geometric/visualization/influence.py,sha256=CWMvuNA_Nf1sfbJmQgn58yS4OFpeKXeZPe7kEuvkUBw,477
|
636
|
-
pyg_nightly-2.7.0.
|
637
|
-
pyg_nightly-2.7.0.
|
638
|
-
pyg_nightly-2.7.0.
|
639
|
-
pyg_nightly-2.7.0.
|
636
|
+
pyg_nightly-2.7.0.dev20250321.dist-info/licenses/LICENSE,sha256=ic-27cMJc1kWoMEYncz3Ya3Ur2Bi3bNLWib2DT763-o,1067
|
637
|
+
pyg_nightly-2.7.0.dev20250321.dist-info/WHEEL,sha256=_2ozNFCLWc93bK4WKHCO-eDUENDlo-dgc9cU3qokYO4,82
|
638
|
+
pyg_nightly-2.7.0.dev20250321.dist-info/METADATA,sha256=ImTB977J7eEORuQAmdHyrqi7iLsnywgCLG5v1IIA16Y,63021
|
639
|
+
pyg_nightly-2.7.0.dev20250321.dist-info/RECORD,,
|
torch_geometric/__init__.py
CHANGED
@@ -31,7 +31,7 @@ from .lazy_loader import LazyLoader
|
|
31
31
|
contrib = LazyLoader('contrib', globals(), 'torch_geometric.contrib')
|
32
32
|
graphgym = LazyLoader('graphgym', globals(), 'torch_geometric.graphgym')
|
33
33
|
|
34
|
-
__version__ = '2.7.0.
|
34
|
+
__version__ = '2.7.0.dev20250321'
|
35
35
|
|
36
36
|
__all__ = [
|
37
37
|
'Index',
|
torch_geometric/config_mixin.py
CHANGED
@@ -3,6 +3,8 @@ from dataclasses import fields, is_dataclass
|
|
3
3
|
from importlib import import_module
|
4
4
|
from typing import Any, Dict
|
5
5
|
|
6
|
+
from torch.nn import ModuleDict, ModuleList
|
7
|
+
|
6
8
|
from torch_geometric.config_store import (
|
7
9
|
class_from_dataclass,
|
8
10
|
dataclass_from_class,
|
@@ -71,9 +73,9 @@ def _recursive_config(value: Any) -> Any:
|
|
71
73
|
return value.config()
|
72
74
|
if is_torch_instance(value, ConfigMixin):
|
73
75
|
return value.config()
|
74
|
-
if isinstance(value, (tuple, list)):
|
76
|
+
if isinstance(value, (tuple, list, ModuleList)):
|
75
77
|
return [_recursive_config(v) for v in value]
|
76
|
-
if isinstance(value, dict):
|
78
|
+
if isinstance(value, (dict, ModuleDict)):
|
77
79
|
return {k: _recursive_config(v) for k, v in value.items()}
|
78
80
|
return value
|
79
81
|
|
File without changes
|
{pyg_nightly-2.7.0.dev20250319.dist-info → pyg_nightly-2.7.0.dev20250321.dist-info}/licenses/LICENSE
RENAMED
File without changes
|