Initial commit

Made-with: Cursor
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-03-17 19:15:55 +02:00
commit 9e5b0f2cc2
26 changed files with 1646 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
cdef class InferenceEngine:
def __init__(self, model_bytes: bytes, batch_size: int = 1, **kwargs):
self.batch_size = batch_size
cdef tuple get_input_shape(self):
raise NotImplementedError("Subclass must implement get_input_shape")
cdef int get_batch_size(self):
return self.batch_size
cdef run(self, input_data):
raise NotImplementedError("Subclass must implement run")