提交 74df7efa 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Adding missing argument to tflite_plugin_create_delegate ctypes declaration.

PiperOrigin-RevId: 258469750
上级 174c241c
......@@ -89,7 +89,8 @@ class Delegate(object):
self._library = ctypes.pydll.LoadLibrary(library)
self._library.tflite_plugin_create_delegate.argtypes = [
ctypes.POINTER(ctypes.c_char_p),
ctypes.POINTER(ctypes.c_char_p), ctypes.c_int
ctypes.POINTER(ctypes.c_char_p), ctypes.c_int,
ctypes.CFUNCTYPE(None, ctypes.c_char_p)
]
self._library.tflite_plugin_create_delegate.restype = ctypes.c_void_p
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册