add 2d hswish parser
This commit is contained in:
Родитель
1e6e016db7
Коммит
e3efc71bcd
|
@ -90,7 +90,10 @@ def get_predict_features(config):
|
||||||
if "inputh" in item:
|
if "inputh" in item:
|
||||||
inputh = item["inputh"]
|
inputh = item["inputh"]
|
||||||
else:
|
else:
|
||||||
inputh = item["input_tensors"][0][1]
|
if len(item["input_tensors"][0]) == 2:
|
||||||
|
inputh = item["input_tensors"][0][0]
|
||||||
|
else:
|
||||||
|
inputh = item["input_tensors"][0][1]
|
||||||
cin = item["cin"]
|
cin = item["cin"]
|
||||||
features = [inputh, cin]
|
features = [inputh, cin]
|
||||||
elif op in ["bn", "relu", "bn-relu"]:
|
elif op in ["bn", "relu", "bn-relu"]:
|
||||||
|
|
Загрузка…
Ссылка в новой задаче