提交 aa8b5308 编写于 作者: M Megvii Engine Team

fix(lite/load_and_run): fix enable-ioc16 is invalid in fitting mode

GitOrigin-RevId: d59a2c21d3558664d86534d11246079ff69dd4c1
上级 0dac2a79
......@@ -70,7 +70,7 @@ enum class OptLayoutType {
/*!
* \brief: dtype type for running model optimization
*/
enum class OptDTypeType { IOC16 = 1 << 0 };
enum class OptDTypeType { DEFAULT = 0, IOC16 = 1 << 0 };
/**
* base class to story option value
*/
......
......@@ -16,6 +16,8 @@ void DTypeOption::config_model_internel<ModelLite>(
break;
switch (m_option_flag) {
case OptDTypeType::DEFAULT:
break;
case OptDTypeType::IOC16:
ENABLE_DTYPE(f16_io_comp)
default:
......@@ -38,6 +40,8 @@ void DTypeOption::config_model_internel<ModelMdl>(
break;
switch (m_option_flag) {
case OptDTypeType::DEFAULT:
break;
case OptDTypeType::IOC16:
ENABLE_DTYPE(f16_io_comp)
default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册