"eigen-master/doc/snippets/EigenSolver_compute.cpp" did not exist on "e7df86554156b36846008d8ddbcc4d8521a16554"
__init__.py 450 Bytes
Newer Older
VVsssssk's avatar
VVsssssk committed
1
# Copyright (c) OpenMMLab. All rights reserved.
2
from .overwrite_spconv import register_spconv2
VVsssssk's avatar
VVsssssk committed
3
4
5
6
7
8

try:
    import spconv
except ImportError:
    IS_SPCONV2_AVAILABLE = False
else:
VVsssssk's avatar
VVsssssk committed
9
10
11
    if hasattr(spconv,
               '__version__') and spconv.__version__ >= '2.0.0' and hasattr(
                   spconv, 'pytorch'):
VVsssssk's avatar
VVsssssk committed
12
13
14
15
16
        IS_SPCONV2_AVAILABLE = register_spconv2()
    else:
        IS_SPCONV2_AVAILABLE = False

__all__ = ['IS_SPCONV2_AVAILABLE']