mirror of
https://github.com/iperov/DeepFaceLive
synced 2025-07-07 21:42:09 -07:00
20 lines
No EOL
356 B
Python
20 lines
No EOL
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'] |