mirror of
https://github.com/iperov/DeepFaceLive.git
synced 2024-12-25 15:31:13 -08:00
20 lines
356 B
Python
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'] |