Spaces:
Running on Zero
Running on Zero
Download src/torch_geometric/utils.py from hugging-apps/graph-energy-matching: direct link, hf CLI and curl.
- Browser
- Download file 208 Bytes
-
https://huggingface.co/spaces/hugging-apps/graph-energy-matching/resolve/main/src/torch_geometric/utils.py
- Command line
-
hf download hf://spaces/hugging-apps/graph-energy-matching/src/torch_geometric/utils.py
-
curl -L -o utils.py https://huggingface.co/spaces/hugging-apps/graph-energy-matching/resolve/main/src/torch_geometric/utils.py
208 Bytes
| def _unavailable(*args, **kwargs): | |
| raise NotImplementedError("torch_geometric is not installed in this inference-only demo.") | |
| to_dense_adj = to_dense_batch = remove_self_loops = subgraph = _unavailable | |