mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:56:29 +00:00
b21f8e320f
add tensorrt engine
11 lines
286 B
Cython
11 lines
286 B
Cython
cdef class HardwareInfo:
|
|
cdef str cpu, gpu, memory, mac_address
|
|
cdef to_json_object(self)
|
|
|
|
cdef class HardwareService:
|
|
cdef bint is_windows
|
|
cdef get_mac_address(self, interface=*)
|
|
|
|
@staticmethod
|
|
cdef has_nvidia_gpu()
|
|
cdef HardwareInfo get_hardware_info(self) |