pre-commit

pull/6763/head
WenmuZhou 2022-07-01 10:00:10 +00:00
parent 807dd10636
commit 8d84144029
1 changed files with 0 additions and 1 deletions

View File

@ -97,7 +97,6 @@ def export_single_model(model,
shape=[None, 1, 32, 100], dtype="float32"),
]
model = to_static(model, input_spec=other_shape)
elif arch_config["algorithm"] in ["LayoutLM", "LayoutLMv2", "LayoutXLM"]:
input_spec = [
paddle.static.InputSpec(