|
|
|
@ -895,10 +895,10 @@ class MaxOut(Cfg):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def create_data_config_proto(async_load_data=False,
|
|
|
|
|
constant_slots=None,
|
|
|
|
|
data_ratio=1,
|
|
|
|
|
is_main_data=True,
|
|
|
|
|
usage_ratio=None):
|
|
|
|
|
onstant_slots=None,
|
|
|
|
|
data_ratio=1,
|
|
|
|
|
is_main_data=True,
|
|
|
|
|
usage_ratio=None):
|
|
|
|
|
# default: all sub dataproviders are treat as "main data".
|
|
|
|
|
# see proto/DataConfig.proto for is_main_data
|
|
|
|
|
data_config = DataConfig()
|
|
|
|
|