File: typing.py

package info (click to toggle)
pytorch-cluster 1.6.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 648 kB
  • sloc: cpp: 2,076; python: 1,081; sh: 53; makefile: 8
file content (6 lines) | stat: -rw-r--r-- 132 bytes parent folder | download
1
2
3
4
5
6
import torch

try:
    WITH_PTR_LIST = hasattr(torch.ops.torch_cluster, 'fps_ptr_list')
except Exception:
    WITH_PTR_LIST = False