DeepFaceLive/xlib/avecl/_internal/NCore.py
2021-10-01 18:10:06 +04:00

20 lines
356 B
Python

from .SCacheton import SCacheton
from .Tensor import Tensor
from .backend import *
class NCore:
"""
core functions
"""
@staticmethod
def cleanup():
"""
try to cleanup all resources consumed by TensorCL.
can raise Exception
"""
SCacheton.cleanup()
cleanup_devices()
__all__ = ['NCore']