mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 07:06:32 +00:00
14 lines
303 B
Cython
14 lines
303 B
Cython
from engines.inference_engine cimport InferenceEngine
|
|
|
|
|
|
cdef class CoreMLEngine(InferenceEngine):
|
|
|
|
cdef object model
|
|
cdef str input_name
|
|
cdef tuple input_shape
|
|
cdef list _output_names
|
|
|
|
cdef tuple get_input_shape(self)
|
|
cdef int get_batch_size(self)
|
|
cdef run(self, input_data)
|