提交 3a14b828 编写于 作者: J Junkun

minor

上级 f50a2ab4
...@@ -104,7 +104,7 @@ def read_manifest( ...@@ -104,7 +104,7 @@ def read_manifest(
feat_len = json_data["input"][0]["shape"][ feat_len = json_data["input"][0]["shape"][
0] if "input" in json_data and "shape" in json_data["input"][0] else 1.0 0] if "input" in json_data and "shape" in json_data["input"][0] else 1.0
token_len = json_data["output"][0]["shape"][ token_len = json_data["output"][0]["shape"][
0] if "output" in json_data and "shape" in json_data["input"][0] else 1.0 0] if "output" in json_data and "shape" in json_data["output"][0] else 1.0
conditions = [ conditions = [
feat_len >= min_input_len, feat_len >= min_input_len,
feat_len <= max_input_len, feat_len <= max_input_len,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册