Files
FastDeploy/tests/models/README.md
2022-11-05 07:54:16 +00:00

251 B

添加模型单测

所有模型统一使用runtime_config.py中的RuntimeOption进行配置

import runtime_config as rc


model = fd.vision.XXX(..., runtime_option=rc.test_option)

验证For循环跑2+次与Baseline结果符合预期