quoted type
This commit is contained in:
@@ -38,7 +38,7 @@ except ImportError:
|
|||||||
log.debug("RKNN is not available")
|
log.debug("RKNN is not available")
|
||||||
|
|
||||||
|
|
||||||
def init_rknn(model_path: str) -> RKNNLite:
|
def init_rknn(model_path: str) -> "RKNNLite":
|
||||||
if not is_available:
|
if not is_available:
|
||||||
raise RuntimeError("rknn is not available!")
|
raise RuntimeError("rknn is not available!")
|
||||||
rknn_lite = RKNNLite()
|
rknn_lite = RKNNLite()
|
||||||
|
|||||||
Reference in New Issue
Block a user