fix pr11999 about slanet train error. (#13073)

This commit is contained in:
WangZ 2024-06-17 11:32:39 +08:00 committed by GitHub
parent 4f54aa61c6
commit 62f5602cc8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,6 +99,7 @@ def apply_to_static(model, config, logger):
InputSpec(
[None, config["Global"]["max_text_length"] + 2, 1], dtype="float32"
),
InputSpec([None], dtype="int64"),
InputSpec([None, 6], dtype="float64"),
]
)