easy-cs-rec-custommodel 0.8.6__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of easy-cs-rec-custommodel might be problematic. Click here for more details.

Files changed (336) hide show
  1. easy_cs_rec_custommodel-0.8.6.dist-info/LICENSE +203 -0
  2. easy_cs_rec_custommodel-0.8.6.dist-info/METADATA +48 -0
  3. easy_cs_rec_custommodel-0.8.6.dist-info/RECORD +336 -0
  4. easy_cs_rec_custommodel-0.8.6.dist-info/WHEEL +6 -0
  5. easy_cs_rec_custommodel-0.8.6.dist-info/top_level.txt +2 -0
  6. easy_rec/__init__.py +114 -0
  7. easy_rec/python/__init__.py +0 -0
  8. easy_rec/python/builders/__init__.py +0 -0
  9. easy_rec/python/builders/hyperparams_builder.py +78 -0
  10. easy_rec/python/builders/loss_builder.py +333 -0
  11. easy_rec/python/builders/optimizer_builder.py +211 -0
  12. easy_rec/python/builders/strategy_builder.py +44 -0
  13. easy_rec/python/compat/__init__.py +0 -0
  14. easy_rec/python/compat/adam_s.py +245 -0
  15. easy_rec/python/compat/array_ops.py +229 -0
  16. easy_rec/python/compat/dynamic_variable.py +542 -0
  17. easy_rec/python/compat/early_stopping.py +653 -0
  18. easy_rec/python/compat/embedding_ops.py +162 -0
  19. easy_rec/python/compat/embedding_parallel_saver.py +316 -0
  20. easy_rec/python/compat/estimator_train.py +116 -0
  21. easy_rec/python/compat/exporter.py +473 -0
  22. easy_rec/python/compat/feature_column/__init__.py +0 -0
  23. easy_rec/python/compat/feature_column/feature_column.py +3675 -0
  24. easy_rec/python/compat/feature_column/feature_column_v2.py +5233 -0
  25. easy_rec/python/compat/feature_column/sequence_feature_column.py +648 -0
  26. easy_rec/python/compat/feature_column/utils.py +154 -0
  27. easy_rec/python/compat/layers.py +329 -0
  28. easy_rec/python/compat/ops.py +14 -0
  29. easy_rec/python/compat/optimizers.py +619 -0
  30. easy_rec/python/compat/queues.py +311 -0
  31. easy_rec/python/compat/regularizers.py +208 -0
  32. easy_rec/python/compat/sok_optimizer.py +440 -0
  33. easy_rec/python/compat/sync_replicas_optimizer.py +528 -0
  34. easy_rec/python/compat/weight_decay_optimizers.py +475 -0
  35. easy_rec/python/core/__init__.py +0 -0
  36. easy_rec/python/core/easyrec_metrics/__init__.py +24 -0
  37. easy_rec/python/core/easyrec_metrics/distribute_metrics_impl_pai.py +3702 -0
  38. easy_rec/python/core/easyrec_metrics/distribute_metrics_impl_tf.py +3768 -0
  39. easy_rec/python/core/learning_schedules.py +228 -0
  40. easy_rec/python/core/metrics.py +402 -0
  41. easy_rec/python/core/sampler.py +844 -0
  42. easy_rec/python/eval.py +102 -0
  43. easy_rec/python/export.py +150 -0
  44. easy_rec/python/feature_column/__init__.py +0 -0
  45. easy_rec/python/feature_column/feature_column.py +664 -0
  46. easy_rec/python/feature_column/feature_group.py +89 -0
  47. easy_rec/python/hpo/__init__.py +0 -0
  48. easy_rec/python/hpo/emr_hpo.py +140 -0
  49. easy_rec/python/hpo/generate_hpo_sql.py +71 -0
  50. easy_rec/python/hpo/pai_hpo.py +297 -0
  51. easy_rec/python/inference/__init__.py +0 -0
  52. easy_rec/python/inference/csv_predictor.py +189 -0
  53. easy_rec/python/inference/hive_parquet_predictor.py +200 -0
  54. easy_rec/python/inference/hive_predictor.py +166 -0
  55. easy_rec/python/inference/odps_predictor.py +70 -0
  56. easy_rec/python/inference/parquet_predictor.py +147 -0
  57. easy_rec/python/inference/parquet_predictor_v2.py +147 -0
  58. easy_rec/python/inference/predictor.py +621 -0
  59. easy_rec/python/inference/processor/__init__.py +0 -0
  60. easy_rec/python/inference/processor/test.py +170 -0
  61. easy_rec/python/inference/vector_retrieve.py +124 -0
  62. easy_rec/python/input/__init__.py +0 -0
  63. easy_rec/python/input/batch_tfrecord_input.py +117 -0
  64. easy_rec/python/input/criteo_binary_reader.py +259 -0
  65. easy_rec/python/input/criteo_input.py +107 -0
  66. easy_rec/python/input/csv_input.py +175 -0
  67. easy_rec/python/input/csv_input_ex.py +72 -0
  68. easy_rec/python/input/csv_input_v2.py +68 -0
  69. easy_rec/python/input/datahub_input.py +320 -0
  70. easy_rec/python/input/dummy_input.py +58 -0
  71. easy_rec/python/input/hive_input.py +123 -0
  72. easy_rec/python/input/hive_parquet_input.py +140 -0
  73. easy_rec/python/input/hive_rtp_input.py +174 -0
  74. easy_rec/python/input/input.py +1064 -0
  75. easy_rec/python/input/kafka_dataset.py +144 -0
  76. easy_rec/python/input/kafka_input.py +235 -0
  77. easy_rec/python/input/load_parquet.py +317 -0
  78. easy_rec/python/input/odps_input.py +101 -0
  79. easy_rec/python/input/odps_input_v2.py +110 -0
  80. easy_rec/python/input/odps_input_v3.py +132 -0
  81. easy_rec/python/input/odps_rtp_input.py +187 -0
  82. easy_rec/python/input/odps_rtp_input_v2.py +104 -0
  83. easy_rec/python/input/parquet_input.py +397 -0
  84. easy_rec/python/input/parquet_input_v2.py +180 -0
  85. easy_rec/python/input/parquet_input_v3.py +203 -0
  86. easy_rec/python/input/rtp_input.py +225 -0
  87. easy_rec/python/input/rtp_input_v2.py +145 -0
  88. easy_rec/python/input/tfrecord_input.py +100 -0
  89. easy_rec/python/layers/__init__.py +0 -0
  90. easy_rec/python/layers/backbone.py +571 -0
  91. easy_rec/python/layers/capsule_layer.py +176 -0
  92. easy_rec/python/layers/cmbf.py +390 -0
  93. easy_rec/python/layers/common_layers.py +192 -0
  94. easy_rec/python/layers/dnn.py +87 -0
  95. easy_rec/python/layers/embed_input_layer.py +25 -0
  96. easy_rec/python/layers/fm.py +26 -0
  97. easy_rec/python/layers/input_layer.py +396 -0
  98. easy_rec/python/layers/keras/__init__.py +34 -0
  99. easy_rec/python/layers/keras/activation.py +114 -0
  100. easy_rec/python/layers/keras/attention.py +267 -0
  101. easy_rec/python/layers/keras/auxiliary_loss.py +47 -0
  102. easy_rec/python/layers/keras/blocks.py +262 -0
  103. easy_rec/python/layers/keras/bst.py +119 -0
  104. easy_rec/python/layers/keras/custom_ops.py +250 -0
  105. easy_rec/python/layers/keras/data_augment.py +133 -0
  106. easy_rec/python/layers/keras/din.py +67 -0
  107. easy_rec/python/layers/keras/einsum_dense.py +598 -0
  108. easy_rec/python/layers/keras/embedding.py +81 -0
  109. easy_rec/python/layers/keras/fibinet.py +251 -0
  110. easy_rec/python/layers/keras/interaction.py +416 -0
  111. easy_rec/python/layers/keras/layer_norm.py +364 -0
  112. easy_rec/python/layers/keras/mask_net.py +166 -0
  113. easy_rec/python/layers/keras/multi_head_attention.py +717 -0
  114. easy_rec/python/layers/keras/multi_task.py +125 -0
  115. easy_rec/python/layers/keras/numerical_embedding.py +376 -0
  116. easy_rec/python/layers/keras/ppnet.py +194 -0
  117. easy_rec/python/layers/keras/transformer.py +192 -0
  118. easy_rec/python/layers/layer_norm.py +51 -0
  119. easy_rec/python/layers/mmoe.py +83 -0
  120. easy_rec/python/layers/multihead_attention.py +162 -0
  121. easy_rec/python/layers/multihead_cross_attention.py +749 -0
  122. easy_rec/python/layers/senet.py +73 -0
  123. easy_rec/python/layers/seq_input_layer.py +134 -0
  124. easy_rec/python/layers/sequence_feature_layer.py +249 -0
  125. easy_rec/python/layers/uniter.py +301 -0
  126. easy_rec/python/layers/utils.py +248 -0
  127. easy_rec/python/layers/variational_dropout_layer.py +130 -0
  128. easy_rec/python/loss/__init__.py +0 -0
  129. easy_rec/python/loss/circle_loss.py +82 -0
  130. easy_rec/python/loss/contrastive_loss.py +79 -0
  131. easy_rec/python/loss/f1_reweight_loss.py +38 -0
  132. easy_rec/python/loss/focal_loss.py +93 -0
  133. easy_rec/python/loss/jrc_loss.py +128 -0
  134. easy_rec/python/loss/listwise_loss.py +161 -0
  135. easy_rec/python/loss/multi_similarity.py +68 -0
  136. easy_rec/python/loss/pairwise_loss.py +307 -0
  137. easy_rec/python/loss/softmax_loss_with_negative_mining.py +110 -0
  138. easy_rec/python/loss/zero_inflated_lognormal.py +76 -0
  139. easy_rec/python/main.py +878 -0
  140. easy_rec/python/model/__init__.py +0 -0
  141. easy_rec/python/model/autoint.py +73 -0
  142. easy_rec/python/model/cmbf.py +47 -0
  143. easy_rec/python/model/collaborative_metric_learning.py +182 -0
  144. easy_rec/python/model/custom_model.py +323 -0
  145. easy_rec/python/model/dat.py +138 -0
  146. easy_rec/python/model/dbmtl.py +116 -0
  147. easy_rec/python/model/dcn.py +70 -0
  148. easy_rec/python/model/deepfm.py +106 -0
  149. easy_rec/python/model/dlrm.py +73 -0
  150. easy_rec/python/model/dropoutnet.py +207 -0
  151. easy_rec/python/model/dssm.py +154 -0
  152. easy_rec/python/model/dssm_senet.py +143 -0
  153. easy_rec/python/model/dummy_model.py +48 -0
  154. easy_rec/python/model/easy_rec_estimator.py +739 -0
  155. easy_rec/python/model/easy_rec_model.py +467 -0
  156. easy_rec/python/model/esmm.py +242 -0
  157. easy_rec/python/model/fm.py +63 -0
  158. easy_rec/python/model/match_model.py +357 -0
  159. easy_rec/python/model/mind.py +445 -0
  160. easy_rec/python/model/mmoe.py +70 -0
  161. easy_rec/python/model/multi_task_model.py +303 -0
  162. easy_rec/python/model/multi_tower.py +62 -0
  163. easy_rec/python/model/multi_tower_bst.py +190 -0
  164. easy_rec/python/model/multi_tower_din.py +130 -0
  165. easy_rec/python/model/multi_tower_recall.py +68 -0
  166. easy_rec/python/model/pdn.py +203 -0
  167. easy_rec/python/model/ple.py +120 -0
  168. easy_rec/python/model/rank_model.py +485 -0
  169. easy_rec/python/model/rocket_launching.py +203 -0
  170. easy_rec/python/model/simple_multi_task.py +54 -0
  171. easy_rec/python/model/uniter.py +46 -0
  172. easy_rec/python/model/wide_and_deep.py +121 -0
  173. easy_rec/python/ops/1.12/incr_record.so +0 -0
  174. easy_rec/python/ops/1.12/kafka.so +0 -0
  175. easy_rec/python/ops/1.12/libcustom_ops.so +0 -0
  176. easy_rec/python/ops/1.12/libembed_op.so +0 -0
  177. easy_rec/python/ops/1.12/libhiredis.so.1.0.0 +0 -0
  178. easy_rec/python/ops/1.12/librdkafka++.so.1 +0 -0
  179. easy_rec/python/ops/1.12/librdkafka.so.1 +0 -0
  180. easy_rec/python/ops/1.12/libredis++.so +0 -0
  181. easy_rec/python/ops/1.12/libredis++.so.1 +0 -0
  182. easy_rec/python/ops/1.12/libredis++.so.1.2.3 +0 -0
  183. easy_rec/python/ops/1.12/libstr_avx_op.so +0 -0
  184. easy_rec/python/ops/1.12/libwrite_sparse_kv.so +0 -0
  185. easy_rec/python/ops/1.15/incr_record.so +0 -0
  186. easy_rec/python/ops/1.15/kafka.so +0 -0
  187. easy_rec/python/ops/1.15/libcustom_ops.so +0 -0
  188. easy_rec/python/ops/1.15/libembed_op.so +0 -0
  189. easy_rec/python/ops/1.15/libhiredis.so.1.0.0 +0 -0
  190. easy_rec/python/ops/1.15/librdkafka++.so +0 -0
  191. easy_rec/python/ops/1.15/librdkafka++.so.1 +0 -0
  192. easy_rec/python/ops/1.15/librdkafka.so +0 -0
  193. easy_rec/python/ops/1.15/librdkafka.so.1 +0 -0
  194. easy_rec/python/ops/1.15/libredis++.so.1 +0 -0
  195. easy_rec/python/ops/1.15/libstr_avx_op.so +0 -0
  196. easy_rec/python/ops/2.12/libcustom_ops.so +0 -0
  197. easy_rec/python/ops/2.12/libload_embed.so +0 -0
  198. easy_rec/python/ops/2.12/libstr_avx_op.so +0 -0
  199. easy_rec/python/ops/__init__.py +0 -0
  200. easy_rec/python/ops/gen_kafka_ops.py +193 -0
  201. easy_rec/python/ops/gen_str_avx_op.py +28 -0
  202. easy_rec/python/ops/incr_record.py +30 -0
  203. easy_rec/python/predict.py +170 -0
  204. easy_rec/python/protos/__init__.py +0 -0
  205. easy_rec/python/protos/autoint_pb2.py +122 -0
  206. easy_rec/python/protos/backbone_pb2.py +1416 -0
  207. easy_rec/python/protos/cmbf_pb2.py +435 -0
  208. easy_rec/python/protos/collaborative_metric_learning_pb2.py +252 -0
  209. easy_rec/python/protos/custom_model_pb2.py +57 -0
  210. easy_rec/python/protos/dat_pb2.py +262 -0
  211. easy_rec/python/protos/data_source_pb2.py +422 -0
  212. easy_rec/python/protos/dataset_pb2.py +1920 -0
  213. easy_rec/python/protos/dbmtl_pb2.py +191 -0
  214. easy_rec/python/protos/dcn_pb2.py +197 -0
  215. easy_rec/python/protos/deepfm_pb2.py +163 -0
  216. easy_rec/python/protos/dlrm_pb2.py +163 -0
  217. easy_rec/python/protos/dnn_pb2.py +329 -0
  218. easy_rec/python/protos/dropoutnet_pb2.py +239 -0
  219. easy_rec/python/protos/dssm_pb2.py +262 -0
  220. easy_rec/python/protos/dssm_senet_pb2.py +282 -0
  221. easy_rec/python/protos/easy_rec_model_pb2.py +1672 -0
  222. easy_rec/python/protos/esmm_pb2.py +133 -0
  223. easy_rec/python/protos/eval_pb2.py +930 -0
  224. easy_rec/python/protos/export_pb2.py +379 -0
  225. easy_rec/python/protos/feature_config_pb2.py +1359 -0
  226. easy_rec/python/protos/fm_pb2.py +90 -0
  227. easy_rec/python/protos/hive_config_pb2.py +138 -0
  228. easy_rec/python/protos/hyperparams_pb2.py +624 -0
  229. easy_rec/python/protos/keras_layer_pb2.py +692 -0
  230. easy_rec/python/protos/layer_pb2.py +1936 -0
  231. easy_rec/python/protos/loss_pb2.py +1713 -0
  232. easy_rec/python/protos/mind_pb2.py +497 -0
  233. easy_rec/python/protos/mmoe_pb2.py +215 -0
  234. easy_rec/python/protos/multi_tower_pb2.py +295 -0
  235. easy_rec/python/protos/multi_tower_recall_pb2.py +198 -0
  236. easy_rec/python/protos/optimizer_pb2.py +2017 -0
  237. easy_rec/python/protos/pdn_pb2.py +293 -0
  238. easy_rec/python/protos/pipeline_pb2.py +516 -0
  239. easy_rec/python/protos/ple_pb2.py +231 -0
  240. easy_rec/python/protos/predict_pb2.py +1140 -0
  241. easy_rec/python/protos/rocket_launching_pb2.py +169 -0
  242. easy_rec/python/protos/seq_encoder_pb2.py +1084 -0
  243. easy_rec/python/protos/simi_pb2.py +54 -0
  244. easy_rec/python/protos/simple_multi_task_pb2.py +97 -0
  245. easy_rec/python/protos/tf_predict_pb2.py +630 -0
  246. easy_rec/python/protos/tower_pb2.py +661 -0
  247. easy_rec/python/protos/train_pb2.py +1197 -0
  248. easy_rec/python/protos/uniter_pb2.py +307 -0
  249. easy_rec/python/protos/variational_dropout_pb2.py +91 -0
  250. easy_rec/python/protos/wide_and_deep_pb2.py +131 -0
  251. easy_rec/python/test/__init__.py +0 -0
  252. easy_rec/python/test/csv_input_test.py +340 -0
  253. easy_rec/python/test/custom_early_stop_func.py +19 -0
  254. easy_rec/python/test/dh_local_run.py +104 -0
  255. easy_rec/python/test/embed_test.py +155 -0
  256. easy_rec/python/test/emr_run.py +119 -0
  257. easy_rec/python/test/eval_metric_test.py +107 -0
  258. easy_rec/python/test/excel_convert_test.py +64 -0
  259. easy_rec/python/test/export_test.py +513 -0
  260. easy_rec/python/test/fg_test.py +70 -0
  261. easy_rec/python/test/hive_input_test.py +311 -0
  262. easy_rec/python/test/hpo_test.py +235 -0
  263. easy_rec/python/test/kafka_test.py +373 -0
  264. easy_rec/python/test/local_incr_test.py +122 -0
  265. easy_rec/python/test/loss_test.py +110 -0
  266. easy_rec/python/test/odps_command.py +61 -0
  267. easy_rec/python/test/odps_local_run.py +86 -0
  268. easy_rec/python/test/odps_run.py +254 -0
  269. easy_rec/python/test/odps_test_cls.py +39 -0
  270. easy_rec/python/test/odps_test_prepare.py +198 -0
  271. easy_rec/python/test/odps_test_util.py +237 -0
  272. easy_rec/python/test/pre_check_test.py +54 -0
  273. easy_rec/python/test/predictor_test.py +394 -0
  274. easy_rec/python/test/rtp_convert_test.py +133 -0
  275. easy_rec/python/test/run.py +138 -0
  276. easy_rec/python/test/train_eval_test.py +1299 -0
  277. easy_rec/python/test/util_test.py +85 -0
  278. easy_rec/python/test/zero_inflated_lognormal_test.py +53 -0
  279. easy_rec/python/tools/__init__.py +0 -0
  280. easy_rec/python/tools/add_boundaries_to_config.py +67 -0
  281. easy_rec/python/tools/add_feature_info_to_config.py +145 -0
  282. easy_rec/python/tools/convert_config_format.py +48 -0
  283. easy_rec/python/tools/convert_rtp_data.py +79 -0
  284. easy_rec/python/tools/convert_rtp_fg.py +106 -0
  285. easy_rec/python/tools/create_config_from_excel.py +427 -0
  286. easy_rec/python/tools/criteo/__init__.py +0 -0
  287. easy_rec/python/tools/criteo/convert_data.py +157 -0
  288. easy_rec/python/tools/edit_lookup_graph.py +134 -0
  289. easy_rec/python/tools/faiss_index_pai.py +116 -0
  290. easy_rec/python/tools/feature_selection.py +316 -0
  291. easy_rec/python/tools/hit_rate_ds.py +223 -0
  292. easy_rec/python/tools/hit_rate_pai.py +138 -0
  293. easy_rec/python/tools/pre_check.py +120 -0
  294. easy_rec/python/tools/predict_and_chk.py +111 -0
  295. easy_rec/python/tools/read_kafka.py +55 -0
  296. easy_rec/python/tools/split_model_pai.py +286 -0
  297. easy_rec/python/tools/split_pdn_model_pai.py +272 -0
  298. easy_rec/python/tools/test_saved_model.py +80 -0
  299. easy_rec/python/tools/view_saved_model.py +39 -0
  300. easy_rec/python/tools/write_kafka.py +65 -0
  301. easy_rec/python/train_eval.py +325 -0
  302. easy_rec/python/utils/__init__.py +15 -0
  303. easy_rec/python/utils/activation.py +120 -0
  304. easy_rec/python/utils/check_utils.py +87 -0
  305. easy_rec/python/utils/compat.py +14 -0
  306. easy_rec/python/utils/config_util.py +652 -0
  307. easy_rec/python/utils/constant.py +43 -0
  308. easy_rec/python/utils/convert_rtp_fg.py +616 -0
  309. easy_rec/python/utils/dag.py +192 -0
  310. easy_rec/python/utils/distribution_utils.py +268 -0
  311. easy_rec/python/utils/ds_util.py +65 -0
  312. easy_rec/python/utils/embedding_utils.py +73 -0
  313. easy_rec/python/utils/estimator_utils.py +1036 -0
  314. easy_rec/python/utils/export_big_model.py +630 -0
  315. easy_rec/python/utils/expr_util.py +118 -0
  316. easy_rec/python/utils/fg_util.py +53 -0
  317. easy_rec/python/utils/hit_rate_utils.py +220 -0
  318. easy_rec/python/utils/hive_utils.py +183 -0
  319. easy_rec/python/utils/hpo_util.py +137 -0
  320. easy_rec/python/utils/hvd_utils.py +56 -0
  321. easy_rec/python/utils/input_utils.py +108 -0
  322. easy_rec/python/utils/io_util.py +282 -0
  323. easy_rec/python/utils/load_class.py +249 -0
  324. easy_rec/python/utils/meta_graph_editor.py +941 -0
  325. easy_rec/python/utils/multi_optimizer.py +62 -0
  326. easy_rec/python/utils/numpy_utils.py +18 -0
  327. easy_rec/python/utils/odps_util.py +79 -0
  328. easy_rec/python/utils/pai_util.py +86 -0
  329. easy_rec/python/utils/proto_util.py +90 -0
  330. easy_rec/python/utils/restore_filter.py +89 -0
  331. easy_rec/python/utils/shape_utils.py +432 -0
  332. easy_rec/python/utils/static_shape.py +71 -0
  333. easy_rec/python/utils/test_utils.py +866 -0
  334. easy_rec/python/utils/tf_utils.py +56 -0
  335. easy_rec/version.py +4 -0
  336. test/__init__.py +0 -0
@@ -0,0 +1,1672 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: easy_rec/python/protos/easy_rec_model.proto
3
+
4
+ import sys
5
+
6
+ from google.protobuf import descriptor as _descriptor
7
+ from google.protobuf import descriptor_pb2
8
+ from google.protobuf import message as _message
9
+ from google.protobuf import reflection as _reflection
10
+ from google.protobuf import symbol_database as _symbol_database
11
+
12
+ from easy_rec.python.protos import autoint_pb2 as easy__rec_dot_python_dot_protos_dot_autoint__pb2 # NOQA
13
+ from easy_rec.python.protos import backbone_pb2 as easy__rec_dot_python_dot_protos_dot_backbone__pb2 # NOQA
14
+ from easy_rec.python.protos import cmbf_pb2 as easy__rec_dot_python_dot_protos_dot_cmbf__pb2 # NOQA
15
+ from easy_rec.python.protos import collaborative_metric_learning_pb2 as easy__rec_dot_python_dot_protos_dot_collaborative__metric__learning__pb2 # NOQA
16
+ from easy_rec.python.protos import custom_model_pb2 as easy__rec_dot_python_dot_protos_dot_custom__model__pb2 # NOQA
17
+ from easy_rec.python.protos import dat_pb2 as easy__rec_dot_python_dot_protos_dot_dat__pb2 # NOQA
18
+ from easy_rec.python.protos import dbmtl_pb2 as easy__rec_dot_python_dot_protos_dot_dbmtl__pb2 # NOQA
19
+ from easy_rec.python.protos import dcn_pb2 as easy__rec_dot_python_dot_protos_dot_dcn__pb2 # NOQA
20
+ from easy_rec.python.protos import deepfm_pb2 as easy__rec_dot_python_dot_protos_dot_deepfm__pb2 # NOQA
21
+ from easy_rec.python.protos import dlrm_pb2 as easy__rec_dot_python_dot_protos_dot_dlrm__pb2 # NOQA
22
+ from easy_rec.python.protos import dropoutnet_pb2 as easy__rec_dot_python_dot_protos_dot_dropoutnet__pb2 # NOQA
23
+ from easy_rec.python.protos import dssm_pb2 as easy__rec_dot_python_dot_protos_dot_dssm__pb2 # NOQA
24
+ from easy_rec.python.protos import dssm_senet_pb2 as easy__rec_dot_python_dot_protos_dot_dssm__senet__pb2 # NOQA
25
+ from easy_rec.python.protos import esmm_pb2 as easy__rec_dot_python_dot_protos_dot_esmm__pb2 # NOQA
26
+ from easy_rec.python.protos import feature_config_pb2 as easy__rec_dot_python_dot_protos_dot_feature__config__pb2 # NOQA
27
+ from easy_rec.python.protos import fm_pb2 as easy__rec_dot_python_dot_protos_dot_fm__pb2 # NOQA
28
+ from easy_rec.python.protos import loss_pb2 as easy__rec_dot_python_dot_protos_dot_loss__pb2 # NOQA
29
+ from easy_rec.python.protos import mind_pb2 as easy__rec_dot_python_dot_protos_dot_mind__pb2 # NOQA
30
+ from easy_rec.python.protos import mmoe_pb2 as easy__rec_dot_python_dot_protos_dot_mmoe__pb2 # NOQA
31
+ from easy_rec.python.protos import multi_tower_pb2 as easy__rec_dot_python_dot_protos_dot_multi__tower__pb2 # NOQA
32
+ from easy_rec.python.protos import multi_tower_recall_pb2 as easy__rec_dot_python_dot_protos_dot_multi__tower__recall__pb2 # NOQA
33
+ from easy_rec.python.protos import pdn_pb2 as easy__rec_dot_python_dot_protos_dot_pdn__pb2 # NOQA
34
+ from easy_rec.python.protos import ple_pb2 as easy__rec_dot_python_dot_protos_dot_ple__pb2 # NOQA
35
+ from easy_rec.python.protos import rocket_launching_pb2 as easy__rec_dot_python_dot_protos_dot_rocket__launching__pb2 # NOQA
36
+ from easy_rec.python.protos import simi_pb2 as easy__rec_dot_python_dot_protos_dot_simi__pb2 # NOQA
37
+ from easy_rec.python.protos import simple_multi_task_pb2 as easy__rec_dot_python_dot_protos_dot_simple__multi__task__pb2 # NOQA
38
+ from easy_rec.python.protos import tower_pb2 as easy__rec_dot_python_dot_protos_dot_tower__pb2 # NOQA
39
+ from easy_rec.python.protos import uniter_pb2 as easy__rec_dot_python_dot_protos_dot_uniter__pb2 # NOQA
40
+ from easy_rec.python.protos import variational_dropout_pb2 as easy__rec_dot_python_dot_protos_dot_variational__dropout__pb2 # NOQA
41
+ from easy_rec.python.protos import wide_and_deep_pb2 as easy__rec_dot_python_dot_protos_dot_wide__and__deep__pb2 # NOQA
42
+
43
+ _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1'))
44
+ # @@protoc_insertion_point(imports)
45
+
46
+ _sym_db = _symbol_database.Default()
47
+
48
+ DESCRIPTOR = _descriptor.FileDescriptor(
49
+ name='easy_rec/python/protos/easy_rec_model.proto',
50
+ package='protos',
51
+ syntax='proto2',
52
+ serialized_pb=_b(
53
+ '\n+easy_rec/python/protos/easy_rec_model.proto\x12\x06protos\x1a%easy_rec/python/protos/backbone.proto\x1a\x1f\x65\x61sy_rec/python/protos/fm.proto\x1a#easy_rec/python/protos/deepfm.proto\x1a*easy_rec/python/protos/wide_and_deep.proto\x1a(easy_rec/python/protos/multi_tower.proto\x1a!easy_rec/python/protos/dlrm.proto\x1a+easy_rec/python/protos/feature_config.proto\x1a\'easy_rec/python/protos/dropoutnet.proto\x1a!easy_rec/python/protos/dssm.proto\x1a:easy_rec/python/protos/collaborative_metric_learning.proto\x1a!easy_rec/python/protos/mmoe.proto\x1a!easy_rec/python/protos/esmm.proto\x1a\"easy_rec/python/protos/dbmtl.proto\x1a easy_rec/python/protos/ple.proto\x1a.easy_rec/python/protos/simple_multi_task.proto\x1a easy_rec/python/protos/dcn.proto\x1a!easy_rec/python/protos/cmbf.proto\x1a#easy_rec/python/protos/uniter.proto\x1a$easy_rec/python/protos/autoint.proto\x1a!easy_rec/python/protos/mind.proto\x1a!easy_rec/python/protos/loss.proto\x1a-easy_rec/python/protos/rocket_launching.proto\x1a\x30\x65\x61sy_rec/python/protos/variational_dropout.proto\x1a/easy_rec/python/protos/multi_tower_recall.proto\x1a\"easy_rec/python/protos/tower.proto\x1a easy_rec/python/protos/pdn.proto\x1a\'easy_rec/python/protos/dssm_senet.proto\x1a!easy_rec/python/protos/simi.proto\x1a easy_rec/python/protos/dat.proto\x1a)easy_rec/python/protos/custom_model.proto\"\x0c\n\nDummyModel\"\x92\x02\n\x0bModelParams\x12\x19\n\x11l2_regularization\x18\x01 \x01(\x02\x12\x0f\n\x07outputs\x18\x02 \x03(\t\x12+\n\x0btask_towers\x18\x03 \x03(\x0b\x32\x16.protos.BayesTaskTower\x12#\n\x18user_tower_idx_in_output\x18\x04 \x01(\x05:\x01\x30\x12#\n\x18item_tower_idx_in_output\x18\x05 \x01(\x05:\x01\x31\x12-\n\tsimi_func\x18\x06 \x01(\x0e\x32\x12.protos.Similarity:\x06\x43OSINE\x12\x16\n\x0btemperature\x18\x07 \x01(\x02:\x01\x31\x12\x19\n\nscale_simi\x18\x08 \x01(\x08:\x05\x66\x61lse\"\x82\x08\n\x02KD\x12\x11\n\tloss_name\x18\n \x01(\t\x12\x11\n\tpred_name\x18\x0b \x02(\t\x12\x1c\n\x0epred_is_logits\x18\x0c \x01(\x08:\x04true\x12\x17\n\x0fsoft_label_name\x18\x15 \x02(\t\x12\x1d\n\x0flabel_is_logits\x18\x16 \x01(\x08:\x04true\x12#\n\tloss_type\x18\x03 \x02(\x0e\x32\x10.protos.LossType\x12\x16\n\x0bloss_weight\x18\x04 \x01(\x02:\x01\x31\x12\x16\n\x0btemperature\x18\x05 \x01(\x02:\x01\x31\x12!\n\x19task_space_indicator_name\x18\x06 \x01(\t\x12\"\n\x1atask_space_indicator_value\x18\x07 \x01(\t\x12\x1f\n\x14in_task_space_weight\x18\x08 \x01(\x02:\x01\x31\x12 \n\x15out_task_space_weight\x18\t \x01(\x02:\x01\x31\x12\x35\n\x12\x66\x31_reweighted_loss\x18\x65 \x01(\x0b\x32\x17.protos.F1ReweighedLossH\x00\x12\x45\n\x0csoftmax_loss\x18\x66 \x01(\x0b\x32-.protos.SoftmaxCrossEntropyWithNegativeMiningH\x00\x12)\n\x0b\x63ircle_loss\x18g \x01(\x0b\x32\x12.protos.CircleLossH\x00\x12\x36\n\x0fmulti_simi_loss\x18h \x01(\x0b\x32\x1b.protos.MultiSimilarityLossH\x00\x12\x34\n\x11\x62inary_focal_loss\x18i \x01(\x0b\x32\x17.protos.BinaryFocalLossH\x00\x12-\n\rpairwise_loss\x18j \x01(\x0b\x32\x14.protos.PairwiseLossH\x00\x12\x38\n\x13pairwise_focal_loss\x18k \x01(\x0b\x32\x19.protos.PairwiseFocalLossH\x00\x12>\n\x16pairwise_logistic_loss\x18l \x01(\x0b\x32\x1c.protos.PairwiseLogisticLossH\x00\x12#\n\x08jrc_loss\x18m \x01(\x0b\x32\x0f.protos.JRCLossH\x00\x12\x38\n\x13pairwise_hinge_loss\x18n \x01(\x0b\x32\x19.protos.PairwiseHingeLossH\x00\x12\x36\n\x12listwise_rank_loss\x18o \x01(\x0b\x32\x18.protos.ListwiseRankLossH\x00\x12<\n\x15listwise_distill_loss\x18p \x01(\x0b\x32\x1b.protos.ListwiseDistillLossH\x00\x42\x0c\n\nloss_param\"\xee\x0c\n\x0c\x45\x61syRecModel\x12\x13\n\x0bmodel_class\x18\x01 \x02(\t\x12\x12\n\nmodel_name\x18\x63 \x01(\t\x12\x32\n\x0e\x66\x65\x61ture_groups\x18\x02 \x03(\x0b\x32\x1a.protos.FeatureGroupConfig\x12+\n\x0cmodel_params\x18\x64 \x01(\x0b\x32\x13.protos.ModelParamsH\x00\x12#\n\x05\x64ummy\x18\x65 \x01(\x0b\x32\x12.protos.DummyModelH\x00\x12,\n\rwide_and_deep\x18\x66 \x01(\x0b\x32\x13.protos.WideAndDeepH\x00\x12 \n\x06\x64\x65\x65pfm\x18g \x01(\x0b\x32\x0e.protos.DeepFMH\x00\x12)\n\x0bmulti_tower\x18h \x01(\x0b\x32\x12.protos.MultiTowerH\x00\x12\x18\n\x02\x66m\x18i \x01(\x0b\x32\n.protos.FMH\x00\x12\x1a\n\x03\x64\x63n\x18j \x01(\x0b\x32\x0b.protos.DCNH\x00\x12\"\n\x07\x61utoint\x18k \x01(\x0b\x32\x0f.protos.AutoIntH\x00\x12\x1c\n\x04\x64lrm\x18l \x01(\x0b\x32\x0c.protos.DLRMH\x00\x12\x1c\n\x04\x63mbf\x18m \x01(\x0b\x32\x0c.protos.CMBFH\x00\x12 \n\x06uniter\x18n \x01(\x0b\x32\x0e.protos.UniterH\x00\x12\x37\n\x12multi_tower_recall\x18\xc8\x01 \x01(\x0b\x32\x18.protos.MultiTowerRecallH\x00\x12\x1d\n\x04\x64ssm\x18\xc9\x01 \x01(\x0b\x32\x0c.protos.DSSMH\x00\x12\x1d\n\x04mind\x18\xca\x01 \x01(\x0b\x32\x0c.protos.MINDH\x00\x12)\n\ndropoutnet\x18\xcb\x01 \x01(\x0b\x32\x12.protos.DropoutNetH\x00\x12\x37\n\x0fmetric_learning\x18\xcc\x01 \x01(\x0b\x32\x1b.protos.CoMetricLearningI2IH\x00\x12\x1b\n\x03pdn\x18\xcd\x01 \x01(\x0b\x32\x0b.protos.PDNH\x00\x12)\n\ndssm_senet\x18\xce\x01 \x01(\x0b\x32\x12.protos.DSSM_SENetH\x00\x12\x1b\n\x03\x64\x61t\x18\xcf\x01 \x01(\x0b\x32\x0b.protos.DATH\x00\x12\x1d\n\x04mmoe\x18\xad\x02 \x01(\x0b\x32\x0c.protos.MMoEH\x00\x12\x1d\n\x04\x65smm\x18\xae\x02 \x01(\x0b\x32\x0c.protos.ESMMH\x00\x12\x1f\n\x05\x64\x62mtl\x18\xaf\x02 \x01(\x0b\x32\r.protos.DBMTLH\x00\x12\x35\n\x11simple_multi_task\x18\xb0\x02 \x01(\x0b\x32\x17.protos.SimpleMultiTaskH\x00\x12\x1b\n\x03ple\x18\xb1\x02 \x01(\x0b\x32\x0b.protos.PLEH\x00\x12,\n\x0c\x63ustom_model\x18\xb2\x02 \x01(\x0b\x32\x13.protos.CustomModelH\x00\x12\x34\n\x10rocket_launching\x18\x91\x03 \x01(\x0b\x32\x17.protos.RocketLaunchingH\x00\x12\x31\n\x0eseq_att_groups\x18\x07 \x03(\x0b\x32\x19.protos.SeqAttGroupConfig\x12#\n\x18\x65mbedding_regularization\x18\x08 \x01(\x02:\x01\x30\x12\x33\n\tloss_type\x18\t \x01(\x0e\x32\x10.protos.LossType:\x0e\x43LASSIFICATION\x12\x14\n\tnum_class\x18\n \x01(\r:\x01\x31\x12#\n\tev_params\x18\x0b \x01(\x0b\x32\x10.protos.EVParams\x12\x16\n\x02kd\x18\x0c \x03(\x0b\x32\n.protos.KD\x12\x17\n\x0frestore_filters\x18\r \x03(\t\x12<\n\x13variational_dropout\x18\x0e \x01(\x0b\x32\x1f.protos.VariationalDropoutLayer\x12\x1c\n\x06losses\x18\x0f \x03(\x0b\x32\x0c.protos.Loss\x12L\n\x14loss_weight_strategy\x18\x10 \x02(\x0e\x32\'.protos.EasyRecModel.LossWeightStrategy:\x05\x46ixed\x12\'\n\x08\x62\x61\x63kbone\x18\x11 \x01(\x0b\x32\x15.protos.BackboneTower\x12\x12\n\nlabel_name\x18\x12 \x01(\t\"<\n\x12LossWeightStrategy\x12\t\n\x05\x46ixed\x10\x00\x12\x0f\n\x0bUncertainty\x10\x01\x12\n\n\x06Random\x10\x02\x42\x07\n\x05model'
54
+ ),
55
+ dependencies=[
56
+ easy__rec_dot_python_dot_protos_dot_backbone__pb2.DESCRIPTOR,
57
+ easy__rec_dot_python_dot_protos_dot_fm__pb2.DESCRIPTOR,
58
+ easy__rec_dot_python_dot_protos_dot_deepfm__pb2.DESCRIPTOR,
59
+ easy__rec_dot_python_dot_protos_dot_wide__and__deep__pb2.DESCRIPTOR,
60
+ easy__rec_dot_python_dot_protos_dot_multi__tower__pb2.DESCRIPTOR,
61
+ easy__rec_dot_python_dot_protos_dot_dlrm__pb2.DESCRIPTOR,
62
+ easy__rec_dot_python_dot_protos_dot_feature__config__pb2.DESCRIPTOR,
63
+ easy__rec_dot_python_dot_protos_dot_dropoutnet__pb2.DESCRIPTOR,
64
+ easy__rec_dot_python_dot_protos_dot_dssm__pb2.DESCRIPTOR,
65
+ easy__rec_dot_python_dot_protos_dot_collaborative__metric__learning__pb2
66
+ .DESCRIPTOR,
67
+ easy__rec_dot_python_dot_protos_dot_mmoe__pb2.DESCRIPTOR,
68
+ easy__rec_dot_python_dot_protos_dot_esmm__pb2.DESCRIPTOR,
69
+ easy__rec_dot_python_dot_protos_dot_dbmtl__pb2.DESCRIPTOR,
70
+ easy__rec_dot_python_dot_protos_dot_ple__pb2.DESCRIPTOR,
71
+ easy__rec_dot_python_dot_protos_dot_simple__multi__task__pb2.DESCRIPTOR,
72
+ easy__rec_dot_python_dot_protos_dot_dcn__pb2.DESCRIPTOR,
73
+ easy__rec_dot_python_dot_protos_dot_cmbf__pb2.DESCRIPTOR,
74
+ easy__rec_dot_python_dot_protos_dot_uniter__pb2.DESCRIPTOR,
75
+ easy__rec_dot_python_dot_protos_dot_autoint__pb2.DESCRIPTOR,
76
+ easy__rec_dot_python_dot_protos_dot_mind__pb2.DESCRIPTOR,
77
+ easy__rec_dot_python_dot_protos_dot_loss__pb2.DESCRIPTOR,
78
+ easy__rec_dot_python_dot_protos_dot_rocket__launching__pb2.DESCRIPTOR,
79
+ easy__rec_dot_python_dot_protos_dot_variational__dropout__pb2
80
+ .DESCRIPTOR,
81
+ easy__rec_dot_python_dot_protos_dot_multi__tower__recall__pb2
82
+ .DESCRIPTOR,
83
+ easy__rec_dot_python_dot_protos_dot_tower__pb2.DESCRIPTOR,
84
+ easy__rec_dot_python_dot_protos_dot_pdn__pb2.DESCRIPTOR,
85
+ easy__rec_dot_python_dot_protos_dot_dssm__senet__pb2.DESCRIPTOR,
86
+ easy__rec_dot_python_dot_protos_dot_simi__pb2.DESCRIPTOR,
87
+ easy__rec_dot_python_dot_protos_dot_dat__pb2.DESCRIPTOR,
88
+ easy__rec_dot_python_dot_protos_dot_custom__model__pb2.DESCRIPTOR,
89
+ ])
90
+
91
+ _EASYRECMODEL_LOSSWEIGHTSTRATEGY = _descriptor.EnumDescriptor(
92
+ name='LossWeightStrategy',
93
+ full_name='protos.EasyRecModel.LossWeightStrategy',
94
+ filename=None,
95
+ file=DESCRIPTOR,
96
+ values=[
97
+ _descriptor.EnumValueDescriptor(
98
+ name='Fixed', index=0, number=0, options=None, type=None),
99
+ _descriptor.EnumValueDescriptor(
100
+ name='Uncertainty', index=1, number=1, options=None, type=None),
101
+ _descriptor.EnumValueDescriptor(
102
+ name='Random', index=2, number=2, options=None, type=None),
103
+ ],
104
+ containing_type=None,
105
+ options=None,
106
+ serialized_start=4135,
107
+ serialized_end=4195,
108
+ )
109
+ _sym_db.RegisterEnumDescriptor(_EASYRECMODEL_LOSSWEIGHTSTRATEGY)
110
+
111
+ _DUMMYMODEL = _descriptor.Descriptor(
112
+ name='DummyModel',
113
+ full_name='protos.DummyModel',
114
+ filename=None,
115
+ file=DESCRIPTOR,
116
+ containing_type=None,
117
+ fields=[],
118
+ extensions=[],
119
+ nested_types=[],
120
+ enum_types=[],
121
+ options=None,
122
+ is_extendable=False,
123
+ syntax='proto2',
124
+ extension_ranges=[],
125
+ oneofs=[],
126
+ serialized_start=1237,
127
+ serialized_end=1249,
128
+ )
129
+
130
+ _MODELPARAMS = _descriptor.Descriptor(
131
+ name='ModelParams',
132
+ full_name='protos.ModelParams',
133
+ filename=None,
134
+ file=DESCRIPTOR,
135
+ containing_type=None,
136
+ fields=[
137
+ _descriptor.FieldDescriptor(
138
+ name='l2_regularization',
139
+ full_name='protos.ModelParams.l2_regularization',
140
+ index=0,
141
+ number=1,
142
+ type=2,
143
+ cpp_type=6,
144
+ label=1,
145
+ has_default_value=False,
146
+ default_value=float(0),
147
+ message_type=None,
148
+ enum_type=None,
149
+ containing_type=None,
150
+ is_extension=False,
151
+ extension_scope=None,
152
+ options=None),
153
+ _descriptor.FieldDescriptor(
154
+ name='outputs',
155
+ full_name='protos.ModelParams.outputs',
156
+ index=1,
157
+ number=2,
158
+ type=9,
159
+ cpp_type=9,
160
+ label=3,
161
+ has_default_value=False,
162
+ default_value=[],
163
+ message_type=None,
164
+ enum_type=None,
165
+ containing_type=None,
166
+ is_extension=False,
167
+ extension_scope=None,
168
+ options=None),
169
+ _descriptor.FieldDescriptor(
170
+ name='task_towers',
171
+ full_name='protos.ModelParams.task_towers',
172
+ index=2,
173
+ number=3,
174
+ type=11,
175
+ cpp_type=10,
176
+ label=3,
177
+ has_default_value=False,
178
+ default_value=[],
179
+ message_type=None,
180
+ enum_type=None,
181
+ containing_type=None,
182
+ is_extension=False,
183
+ extension_scope=None,
184
+ options=None),
185
+ _descriptor.FieldDescriptor(
186
+ name='user_tower_idx_in_output',
187
+ full_name='protos.ModelParams.user_tower_idx_in_output',
188
+ index=3,
189
+ number=4,
190
+ type=5,
191
+ cpp_type=1,
192
+ label=1,
193
+ has_default_value=True,
194
+ default_value=0,
195
+ message_type=None,
196
+ enum_type=None,
197
+ containing_type=None,
198
+ is_extension=False,
199
+ extension_scope=None,
200
+ options=None),
201
+ _descriptor.FieldDescriptor(
202
+ name='item_tower_idx_in_output',
203
+ full_name='protos.ModelParams.item_tower_idx_in_output',
204
+ index=4,
205
+ number=5,
206
+ type=5,
207
+ cpp_type=1,
208
+ label=1,
209
+ has_default_value=True,
210
+ default_value=1,
211
+ message_type=None,
212
+ enum_type=None,
213
+ containing_type=None,
214
+ is_extension=False,
215
+ extension_scope=None,
216
+ options=None),
217
+ _descriptor.FieldDescriptor(
218
+ name='simi_func',
219
+ full_name='protos.ModelParams.simi_func',
220
+ index=5,
221
+ number=6,
222
+ type=14,
223
+ cpp_type=8,
224
+ label=1,
225
+ has_default_value=True,
226
+ default_value=0,
227
+ message_type=None,
228
+ enum_type=None,
229
+ containing_type=None,
230
+ is_extension=False,
231
+ extension_scope=None,
232
+ options=None),
233
+ _descriptor.FieldDescriptor(
234
+ name='temperature',
235
+ full_name='protos.ModelParams.temperature',
236
+ index=6,
237
+ number=7,
238
+ type=2,
239
+ cpp_type=6,
240
+ label=1,
241
+ has_default_value=True,
242
+ default_value=float(1),
243
+ message_type=None,
244
+ enum_type=None,
245
+ containing_type=None,
246
+ is_extension=False,
247
+ extension_scope=None,
248
+ options=None),
249
+ _descriptor.FieldDescriptor(
250
+ name='scale_simi',
251
+ full_name='protos.ModelParams.scale_simi',
252
+ index=7,
253
+ number=8,
254
+ type=8,
255
+ cpp_type=7,
256
+ label=1,
257
+ has_default_value=True,
258
+ default_value=False,
259
+ message_type=None,
260
+ enum_type=None,
261
+ containing_type=None,
262
+ is_extension=False,
263
+ extension_scope=None,
264
+ options=None),
265
+ ],
266
+ extensions=[],
267
+ nested_types=[],
268
+ enum_types=[],
269
+ options=None,
270
+ is_extendable=False,
271
+ syntax='proto2',
272
+ extension_ranges=[],
273
+ oneofs=[],
274
+ serialized_start=1252,
275
+ serialized_end=1526,
276
+ )
277
+
278
+ _KD = _descriptor.Descriptor(
279
+ name='KD',
280
+ full_name='protos.KD',
281
+ filename=None,
282
+ file=DESCRIPTOR,
283
+ containing_type=None,
284
+ fields=[
285
+ _descriptor.FieldDescriptor(
286
+ name='loss_name',
287
+ full_name='protos.KD.loss_name',
288
+ index=0,
289
+ number=10,
290
+ type=9,
291
+ cpp_type=9,
292
+ label=1,
293
+ has_default_value=False,
294
+ default_value=_b('').decode('utf-8'),
295
+ message_type=None,
296
+ enum_type=None,
297
+ containing_type=None,
298
+ is_extension=False,
299
+ extension_scope=None,
300
+ options=None),
301
+ _descriptor.FieldDescriptor(
302
+ name='pred_name',
303
+ full_name='protos.KD.pred_name',
304
+ index=1,
305
+ number=11,
306
+ type=9,
307
+ cpp_type=9,
308
+ label=2,
309
+ has_default_value=False,
310
+ default_value=_b('').decode('utf-8'),
311
+ message_type=None,
312
+ enum_type=None,
313
+ containing_type=None,
314
+ is_extension=False,
315
+ extension_scope=None,
316
+ options=None),
317
+ _descriptor.FieldDescriptor(
318
+ name='pred_is_logits',
319
+ full_name='protos.KD.pred_is_logits',
320
+ index=2,
321
+ number=12,
322
+ type=8,
323
+ cpp_type=7,
324
+ label=1,
325
+ has_default_value=True,
326
+ default_value=True,
327
+ message_type=None,
328
+ enum_type=None,
329
+ containing_type=None,
330
+ is_extension=False,
331
+ extension_scope=None,
332
+ options=None),
333
+ _descriptor.FieldDescriptor(
334
+ name='soft_label_name',
335
+ full_name='protos.KD.soft_label_name',
336
+ index=3,
337
+ number=21,
338
+ type=9,
339
+ cpp_type=9,
340
+ label=2,
341
+ has_default_value=False,
342
+ default_value=_b('').decode('utf-8'),
343
+ message_type=None,
344
+ enum_type=None,
345
+ containing_type=None,
346
+ is_extension=False,
347
+ extension_scope=None,
348
+ options=None),
349
+ _descriptor.FieldDescriptor(
350
+ name='label_is_logits',
351
+ full_name='protos.KD.label_is_logits',
352
+ index=4,
353
+ number=22,
354
+ type=8,
355
+ cpp_type=7,
356
+ label=1,
357
+ has_default_value=True,
358
+ default_value=True,
359
+ message_type=None,
360
+ enum_type=None,
361
+ containing_type=None,
362
+ is_extension=False,
363
+ extension_scope=None,
364
+ options=None),
365
+ _descriptor.FieldDescriptor(
366
+ name='loss_type',
367
+ full_name='protos.KD.loss_type',
368
+ index=5,
369
+ number=3,
370
+ type=14,
371
+ cpp_type=8,
372
+ label=2,
373
+ has_default_value=False,
374
+ default_value=0,
375
+ message_type=None,
376
+ enum_type=None,
377
+ containing_type=None,
378
+ is_extension=False,
379
+ extension_scope=None,
380
+ options=None),
381
+ _descriptor.FieldDescriptor(
382
+ name='loss_weight',
383
+ full_name='protos.KD.loss_weight',
384
+ index=6,
385
+ number=4,
386
+ type=2,
387
+ cpp_type=6,
388
+ label=1,
389
+ has_default_value=True,
390
+ default_value=float(1),
391
+ message_type=None,
392
+ enum_type=None,
393
+ containing_type=None,
394
+ is_extension=False,
395
+ extension_scope=None,
396
+ options=None),
397
+ _descriptor.FieldDescriptor(
398
+ name='temperature',
399
+ full_name='protos.KD.temperature',
400
+ index=7,
401
+ number=5,
402
+ type=2,
403
+ cpp_type=6,
404
+ label=1,
405
+ has_default_value=True,
406
+ default_value=float(1),
407
+ message_type=None,
408
+ enum_type=None,
409
+ containing_type=None,
410
+ is_extension=False,
411
+ extension_scope=None,
412
+ options=None),
413
+ _descriptor.FieldDescriptor(
414
+ name='task_space_indicator_name',
415
+ full_name='protos.KD.task_space_indicator_name',
416
+ index=8,
417
+ number=6,
418
+ type=9,
419
+ cpp_type=9,
420
+ label=1,
421
+ has_default_value=False,
422
+ default_value=_b('').decode('utf-8'),
423
+ message_type=None,
424
+ enum_type=None,
425
+ containing_type=None,
426
+ is_extension=False,
427
+ extension_scope=None,
428
+ options=None),
429
+ _descriptor.FieldDescriptor(
430
+ name='task_space_indicator_value',
431
+ full_name='protos.KD.task_space_indicator_value',
432
+ index=9,
433
+ number=7,
434
+ type=9,
435
+ cpp_type=9,
436
+ label=1,
437
+ has_default_value=False,
438
+ default_value=_b('').decode('utf-8'),
439
+ message_type=None,
440
+ enum_type=None,
441
+ containing_type=None,
442
+ is_extension=False,
443
+ extension_scope=None,
444
+ options=None),
445
+ _descriptor.FieldDescriptor(
446
+ name='in_task_space_weight',
447
+ full_name='protos.KD.in_task_space_weight',
448
+ index=10,
449
+ number=8,
450
+ type=2,
451
+ cpp_type=6,
452
+ label=1,
453
+ has_default_value=True,
454
+ default_value=float(1),
455
+ message_type=None,
456
+ enum_type=None,
457
+ containing_type=None,
458
+ is_extension=False,
459
+ extension_scope=None,
460
+ options=None),
461
+ _descriptor.FieldDescriptor(
462
+ name='out_task_space_weight',
463
+ full_name='protos.KD.out_task_space_weight',
464
+ index=11,
465
+ number=9,
466
+ type=2,
467
+ cpp_type=6,
468
+ label=1,
469
+ has_default_value=True,
470
+ default_value=float(1),
471
+ message_type=None,
472
+ enum_type=None,
473
+ containing_type=None,
474
+ is_extension=False,
475
+ extension_scope=None,
476
+ options=None),
477
+ _descriptor.FieldDescriptor(
478
+ name='f1_reweighted_loss',
479
+ full_name='protos.KD.f1_reweighted_loss',
480
+ index=12,
481
+ number=101,
482
+ type=11,
483
+ cpp_type=10,
484
+ label=1,
485
+ has_default_value=False,
486
+ default_value=None,
487
+ message_type=None,
488
+ enum_type=None,
489
+ containing_type=None,
490
+ is_extension=False,
491
+ extension_scope=None,
492
+ options=None),
493
+ _descriptor.FieldDescriptor(
494
+ name='softmax_loss',
495
+ full_name='protos.KD.softmax_loss',
496
+ index=13,
497
+ number=102,
498
+ type=11,
499
+ cpp_type=10,
500
+ label=1,
501
+ has_default_value=False,
502
+ default_value=None,
503
+ message_type=None,
504
+ enum_type=None,
505
+ containing_type=None,
506
+ is_extension=False,
507
+ extension_scope=None,
508
+ options=None),
509
+ _descriptor.FieldDescriptor(
510
+ name='circle_loss',
511
+ full_name='protos.KD.circle_loss',
512
+ index=14,
513
+ number=103,
514
+ type=11,
515
+ cpp_type=10,
516
+ label=1,
517
+ has_default_value=False,
518
+ default_value=None,
519
+ message_type=None,
520
+ enum_type=None,
521
+ containing_type=None,
522
+ is_extension=False,
523
+ extension_scope=None,
524
+ options=None),
525
+ _descriptor.FieldDescriptor(
526
+ name='multi_simi_loss',
527
+ full_name='protos.KD.multi_simi_loss',
528
+ index=15,
529
+ number=104,
530
+ type=11,
531
+ cpp_type=10,
532
+ label=1,
533
+ has_default_value=False,
534
+ default_value=None,
535
+ message_type=None,
536
+ enum_type=None,
537
+ containing_type=None,
538
+ is_extension=False,
539
+ extension_scope=None,
540
+ options=None),
541
+ _descriptor.FieldDescriptor(
542
+ name='binary_focal_loss',
543
+ full_name='protos.KD.binary_focal_loss',
544
+ index=16,
545
+ number=105,
546
+ type=11,
547
+ cpp_type=10,
548
+ label=1,
549
+ has_default_value=False,
550
+ default_value=None,
551
+ message_type=None,
552
+ enum_type=None,
553
+ containing_type=None,
554
+ is_extension=False,
555
+ extension_scope=None,
556
+ options=None),
557
+ _descriptor.FieldDescriptor(
558
+ name='pairwise_loss',
559
+ full_name='protos.KD.pairwise_loss',
560
+ index=17,
561
+ number=106,
562
+ type=11,
563
+ cpp_type=10,
564
+ label=1,
565
+ has_default_value=False,
566
+ default_value=None,
567
+ message_type=None,
568
+ enum_type=None,
569
+ containing_type=None,
570
+ is_extension=False,
571
+ extension_scope=None,
572
+ options=None),
573
+ _descriptor.FieldDescriptor(
574
+ name='pairwise_focal_loss',
575
+ full_name='protos.KD.pairwise_focal_loss',
576
+ index=18,
577
+ number=107,
578
+ type=11,
579
+ cpp_type=10,
580
+ label=1,
581
+ has_default_value=False,
582
+ default_value=None,
583
+ message_type=None,
584
+ enum_type=None,
585
+ containing_type=None,
586
+ is_extension=False,
587
+ extension_scope=None,
588
+ options=None),
589
+ _descriptor.FieldDescriptor(
590
+ name='pairwise_logistic_loss',
591
+ full_name='protos.KD.pairwise_logistic_loss',
592
+ index=19,
593
+ number=108,
594
+ type=11,
595
+ cpp_type=10,
596
+ label=1,
597
+ has_default_value=False,
598
+ default_value=None,
599
+ message_type=None,
600
+ enum_type=None,
601
+ containing_type=None,
602
+ is_extension=False,
603
+ extension_scope=None,
604
+ options=None),
605
+ _descriptor.FieldDescriptor(
606
+ name='jrc_loss',
607
+ full_name='protos.KD.jrc_loss',
608
+ index=20,
609
+ number=109,
610
+ type=11,
611
+ cpp_type=10,
612
+ label=1,
613
+ has_default_value=False,
614
+ default_value=None,
615
+ message_type=None,
616
+ enum_type=None,
617
+ containing_type=None,
618
+ is_extension=False,
619
+ extension_scope=None,
620
+ options=None),
621
+ _descriptor.FieldDescriptor(
622
+ name='pairwise_hinge_loss',
623
+ full_name='protos.KD.pairwise_hinge_loss',
624
+ index=21,
625
+ number=110,
626
+ type=11,
627
+ cpp_type=10,
628
+ label=1,
629
+ has_default_value=False,
630
+ default_value=None,
631
+ message_type=None,
632
+ enum_type=None,
633
+ containing_type=None,
634
+ is_extension=False,
635
+ extension_scope=None,
636
+ options=None),
637
+ _descriptor.FieldDescriptor(
638
+ name='listwise_rank_loss',
639
+ full_name='protos.KD.listwise_rank_loss',
640
+ index=22,
641
+ number=111,
642
+ type=11,
643
+ cpp_type=10,
644
+ label=1,
645
+ has_default_value=False,
646
+ default_value=None,
647
+ message_type=None,
648
+ enum_type=None,
649
+ containing_type=None,
650
+ is_extension=False,
651
+ extension_scope=None,
652
+ options=None),
653
+ _descriptor.FieldDescriptor(
654
+ name='listwise_distill_loss',
655
+ full_name='protos.KD.listwise_distill_loss',
656
+ index=23,
657
+ number=112,
658
+ type=11,
659
+ cpp_type=10,
660
+ label=1,
661
+ has_default_value=False,
662
+ default_value=None,
663
+ message_type=None,
664
+ enum_type=None,
665
+ containing_type=None,
666
+ is_extension=False,
667
+ extension_scope=None,
668
+ options=None),
669
+ ],
670
+ extensions=[],
671
+ nested_types=[],
672
+ enum_types=[],
673
+ options=None,
674
+ is_extendable=False,
675
+ syntax='proto2',
676
+ extension_ranges=[],
677
+ oneofs=[
678
+ _descriptor.OneofDescriptor(
679
+ name='loss_param',
680
+ full_name='protos.KD.loss_param',
681
+ index=0,
682
+ containing_type=None,
683
+ fields=[]),
684
+ ],
685
+ serialized_start=1529,
686
+ serialized_end=2555,
687
+ )
688
+
689
+ _EASYRECMODEL = _descriptor.Descriptor(
690
+ name='EasyRecModel',
691
+ full_name='protos.EasyRecModel',
692
+ filename=None,
693
+ file=DESCRIPTOR,
694
+ containing_type=None,
695
+ fields=[
696
+ _descriptor.FieldDescriptor(
697
+ name='model_class',
698
+ full_name='protos.EasyRecModel.model_class',
699
+ index=0,
700
+ number=1,
701
+ type=9,
702
+ cpp_type=9,
703
+ label=2,
704
+ has_default_value=False,
705
+ default_value=_b('').decode('utf-8'),
706
+ message_type=None,
707
+ enum_type=None,
708
+ containing_type=None,
709
+ is_extension=False,
710
+ extension_scope=None,
711
+ options=None),
712
+ _descriptor.FieldDescriptor(
713
+ name='model_name',
714
+ full_name='protos.EasyRecModel.model_name',
715
+ index=1,
716
+ number=99,
717
+ type=9,
718
+ cpp_type=9,
719
+ label=1,
720
+ has_default_value=False,
721
+ default_value=_b('').decode('utf-8'),
722
+ message_type=None,
723
+ enum_type=None,
724
+ containing_type=None,
725
+ is_extension=False,
726
+ extension_scope=None,
727
+ options=None),
728
+ _descriptor.FieldDescriptor(
729
+ name='feature_groups',
730
+ full_name='protos.EasyRecModel.feature_groups',
731
+ index=2,
732
+ number=2,
733
+ type=11,
734
+ cpp_type=10,
735
+ label=3,
736
+ has_default_value=False,
737
+ default_value=[],
738
+ message_type=None,
739
+ enum_type=None,
740
+ containing_type=None,
741
+ is_extension=False,
742
+ extension_scope=None,
743
+ options=None),
744
+ _descriptor.FieldDescriptor(
745
+ name='model_params',
746
+ full_name='protos.EasyRecModel.model_params',
747
+ index=3,
748
+ number=100,
749
+ type=11,
750
+ cpp_type=10,
751
+ label=1,
752
+ has_default_value=False,
753
+ default_value=None,
754
+ message_type=None,
755
+ enum_type=None,
756
+ containing_type=None,
757
+ is_extension=False,
758
+ extension_scope=None,
759
+ options=None),
760
+ _descriptor.FieldDescriptor(
761
+ name='dummy',
762
+ full_name='protos.EasyRecModel.dummy',
763
+ index=4,
764
+ number=101,
765
+ type=11,
766
+ cpp_type=10,
767
+ label=1,
768
+ has_default_value=False,
769
+ default_value=None,
770
+ message_type=None,
771
+ enum_type=None,
772
+ containing_type=None,
773
+ is_extension=False,
774
+ extension_scope=None,
775
+ options=None),
776
+ _descriptor.FieldDescriptor(
777
+ name='wide_and_deep',
778
+ full_name='protos.EasyRecModel.wide_and_deep',
779
+ index=5,
780
+ number=102,
781
+ type=11,
782
+ cpp_type=10,
783
+ label=1,
784
+ has_default_value=False,
785
+ default_value=None,
786
+ message_type=None,
787
+ enum_type=None,
788
+ containing_type=None,
789
+ is_extension=False,
790
+ extension_scope=None,
791
+ options=None),
792
+ _descriptor.FieldDescriptor(
793
+ name='deepfm',
794
+ full_name='protos.EasyRecModel.deepfm',
795
+ index=6,
796
+ number=103,
797
+ type=11,
798
+ cpp_type=10,
799
+ label=1,
800
+ has_default_value=False,
801
+ default_value=None,
802
+ message_type=None,
803
+ enum_type=None,
804
+ containing_type=None,
805
+ is_extension=False,
806
+ extension_scope=None,
807
+ options=None),
808
+ _descriptor.FieldDescriptor(
809
+ name='multi_tower',
810
+ full_name='protos.EasyRecModel.multi_tower',
811
+ index=7,
812
+ number=104,
813
+ type=11,
814
+ cpp_type=10,
815
+ label=1,
816
+ has_default_value=False,
817
+ default_value=None,
818
+ message_type=None,
819
+ enum_type=None,
820
+ containing_type=None,
821
+ is_extension=False,
822
+ extension_scope=None,
823
+ options=None),
824
+ _descriptor.FieldDescriptor(
825
+ name='fm',
826
+ full_name='protos.EasyRecModel.fm',
827
+ index=8,
828
+ number=105,
829
+ type=11,
830
+ cpp_type=10,
831
+ label=1,
832
+ has_default_value=False,
833
+ default_value=None,
834
+ message_type=None,
835
+ enum_type=None,
836
+ containing_type=None,
837
+ is_extension=False,
838
+ extension_scope=None,
839
+ options=None),
840
+ _descriptor.FieldDescriptor(
841
+ name='dcn',
842
+ full_name='protos.EasyRecModel.dcn',
843
+ index=9,
844
+ number=106,
845
+ type=11,
846
+ cpp_type=10,
847
+ label=1,
848
+ has_default_value=False,
849
+ default_value=None,
850
+ message_type=None,
851
+ enum_type=None,
852
+ containing_type=None,
853
+ is_extension=False,
854
+ extension_scope=None,
855
+ options=None),
856
+ _descriptor.FieldDescriptor(
857
+ name='autoint',
858
+ full_name='protos.EasyRecModel.autoint',
859
+ index=10,
860
+ number=107,
861
+ type=11,
862
+ cpp_type=10,
863
+ label=1,
864
+ has_default_value=False,
865
+ default_value=None,
866
+ message_type=None,
867
+ enum_type=None,
868
+ containing_type=None,
869
+ is_extension=False,
870
+ extension_scope=None,
871
+ options=None),
872
+ _descriptor.FieldDescriptor(
873
+ name='dlrm',
874
+ full_name='protos.EasyRecModel.dlrm',
875
+ index=11,
876
+ number=108,
877
+ type=11,
878
+ cpp_type=10,
879
+ label=1,
880
+ has_default_value=False,
881
+ default_value=None,
882
+ message_type=None,
883
+ enum_type=None,
884
+ containing_type=None,
885
+ is_extension=False,
886
+ extension_scope=None,
887
+ options=None),
888
+ _descriptor.FieldDescriptor(
889
+ name='cmbf',
890
+ full_name='protos.EasyRecModel.cmbf',
891
+ index=12,
892
+ number=109,
893
+ type=11,
894
+ cpp_type=10,
895
+ label=1,
896
+ has_default_value=False,
897
+ default_value=None,
898
+ message_type=None,
899
+ enum_type=None,
900
+ containing_type=None,
901
+ is_extension=False,
902
+ extension_scope=None,
903
+ options=None),
904
+ _descriptor.FieldDescriptor(
905
+ name='uniter',
906
+ full_name='protos.EasyRecModel.uniter',
907
+ index=13,
908
+ number=110,
909
+ type=11,
910
+ cpp_type=10,
911
+ label=1,
912
+ has_default_value=False,
913
+ default_value=None,
914
+ message_type=None,
915
+ enum_type=None,
916
+ containing_type=None,
917
+ is_extension=False,
918
+ extension_scope=None,
919
+ options=None),
920
+ _descriptor.FieldDescriptor(
921
+ name='multi_tower_recall',
922
+ full_name='protos.EasyRecModel.multi_tower_recall',
923
+ index=14,
924
+ number=200,
925
+ type=11,
926
+ cpp_type=10,
927
+ label=1,
928
+ has_default_value=False,
929
+ default_value=None,
930
+ message_type=None,
931
+ enum_type=None,
932
+ containing_type=None,
933
+ is_extension=False,
934
+ extension_scope=None,
935
+ options=None),
936
+ _descriptor.FieldDescriptor(
937
+ name='dssm',
938
+ full_name='protos.EasyRecModel.dssm',
939
+ index=15,
940
+ number=201,
941
+ type=11,
942
+ cpp_type=10,
943
+ label=1,
944
+ has_default_value=False,
945
+ default_value=None,
946
+ message_type=None,
947
+ enum_type=None,
948
+ containing_type=None,
949
+ is_extension=False,
950
+ extension_scope=None,
951
+ options=None),
952
+ _descriptor.FieldDescriptor(
953
+ name='mind',
954
+ full_name='protos.EasyRecModel.mind',
955
+ index=16,
956
+ number=202,
957
+ type=11,
958
+ cpp_type=10,
959
+ label=1,
960
+ has_default_value=False,
961
+ default_value=None,
962
+ message_type=None,
963
+ enum_type=None,
964
+ containing_type=None,
965
+ is_extension=False,
966
+ extension_scope=None,
967
+ options=None),
968
+ _descriptor.FieldDescriptor(
969
+ name='dropoutnet',
970
+ full_name='protos.EasyRecModel.dropoutnet',
971
+ index=17,
972
+ number=203,
973
+ type=11,
974
+ cpp_type=10,
975
+ label=1,
976
+ has_default_value=False,
977
+ default_value=None,
978
+ message_type=None,
979
+ enum_type=None,
980
+ containing_type=None,
981
+ is_extension=False,
982
+ extension_scope=None,
983
+ options=None),
984
+ _descriptor.FieldDescriptor(
985
+ name='metric_learning',
986
+ full_name='protos.EasyRecModel.metric_learning',
987
+ index=18,
988
+ number=204,
989
+ type=11,
990
+ cpp_type=10,
991
+ label=1,
992
+ has_default_value=False,
993
+ default_value=None,
994
+ message_type=None,
995
+ enum_type=None,
996
+ containing_type=None,
997
+ is_extension=False,
998
+ extension_scope=None,
999
+ options=None),
1000
+ _descriptor.FieldDescriptor(
1001
+ name='pdn',
1002
+ full_name='protos.EasyRecModel.pdn',
1003
+ index=19,
1004
+ number=205,
1005
+ type=11,
1006
+ cpp_type=10,
1007
+ label=1,
1008
+ has_default_value=False,
1009
+ default_value=None,
1010
+ message_type=None,
1011
+ enum_type=None,
1012
+ containing_type=None,
1013
+ is_extension=False,
1014
+ extension_scope=None,
1015
+ options=None),
1016
+ _descriptor.FieldDescriptor(
1017
+ name='dssm_senet',
1018
+ full_name='protos.EasyRecModel.dssm_senet',
1019
+ index=20,
1020
+ number=206,
1021
+ type=11,
1022
+ cpp_type=10,
1023
+ label=1,
1024
+ has_default_value=False,
1025
+ default_value=None,
1026
+ message_type=None,
1027
+ enum_type=None,
1028
+ containing_type=None,
1029
+ is_extension=False,
1030
+ extension_scope=None,
1031
+ options=None),
1032
+ _descriptor.FieldDescriptor(
1033
+ name='dat',
1034
+ full_name='protos.EasyRecModel.dat',
1035
+ index=21,
1036
+ number=207,
1037
+ type=11,
1038
+ cpp_type=10,
1039
+ label=1,
1040
+ has_default_value=False,
1041
+ default_value=None,
1042
+ message_type=None,
1043
+ enum_type=None,
1044
+ containing_type=None,
1045
+ is_extension=False,
1046
+ extension_scope=None,
1047
+ options=None),
1048
+ _descriptor.FieldDescriptor(
1049
+ name='mmoe',
1050
+ full_name='protos.EasyRecModel.mmoe',
1051
+ index=22,
1052
+ number=301,
1053
+ type=11,
1054
+ cpp_type=10,
1055
+ label=1,
1056
+ has_default_value=False,
1057
+ default_value=None,
1058
+ message_type=None,
1059
+ enum_type=None,
1060
+ containing_type=None,
1061
+ is_extension=False,
1062
+ extension_scope=None,
1063
+ options=None),
1064
+ _descriptor.FieldDescriptor(
1065
+ name='esmm',
1066
+ full_name='protos.EasyRecModel.esmm',
1067
+ index=23,
1068
+ number=302,
1069
+ type=11,
1070
+ cpp_type=10,
1071
+ label=1,
1072
+ has_default_value=False,
1073
+ default_value=None,
1074
+ message_type=None,
1075
+ enum_type=None,
1076
+ containing_type=None,
1077
+ is_extension=False,
1078
+ extension_scope=None,
1079
+ options=None),
1080
+ _descriptor.FieldDescriptor(
1081
+ name='dbmtl',
1082
+ full_name='protos.EasyRecModel.dbmtl',
1083
+ index=24,
1084
+ number=303,
1085
+ type=11,
1086
+ cpp_type=10,
1087
+ label=1,
1088
+ has_default_value=False,
1089
+ default_value=None,
1090
+ message_type=None,
1091
+ enum_type=None,
1092
+ containing_type=None,
1093
+ is_extension=False,
1094
+ extension_scope=None,
1095
+ options=None),
1096
+ _descriptor.FieldDescriptor(
1097
+ name='simple_multi_task',
1098
+ full_name='protos.EasyRecModel.simple_multi_task',
1099
+ index=25,
1100
+ number=304,
1101
+ type=11,
1102
+ cpp_type=10,
1103
+ label=1,
1104
+ has_default_value=False,
1105
+ default_value=None,
1106
+ message_type=None,
1107
+ enum_type=None,
1108
+ containing_type=None,
1109
+ is_extension=False,
1110
+ extension_scope=None,
1111
+ options=None),
1112
+ _descriptor.FieldDescriptor(
1113
+ name='ple',
1114
+ full_name='protos.EasyRecModel.ple',
1115
+ index=26,
1116
+ number=305,
1117
+ type=11,
1118
+ cpp_type=10,
1119
+ label=1,
1120
+ has_default_value=False,
1121
+ default_value=None,
1122
+ message_type=None,
1123
+ enum_type=None,
1124
+ containing_type=None,
1125
+ is_extension=False,
1126
+ extension_scope=None,
1127
+ options=None),
1128
+ _descriptor.FieldDescriptor(
1129
+ name='custom_model',
1130
+ full_name='protos.EasyRecModel.custom_model',
1131
+ index=27,
1132
+ number=306,
1133
+ type=11,
1134
+ cpp_type=10,
1135
+ label=1,
1136
+ has_default_value=False,
1137
+ default_value=None,
1138
+ message_type=None,
1139
+ enum_type=None,
1140
+ containing_type=None,
1141
+ is_extension=False,
1142
+ extension_scope=None,
1143
+ options=None),
1144
+ _descriptor.FieldDescriptor(
1145
+ name='rocket_launching',
1146
+ full_name='protos.EasyRecModel.rocket_launching',
1147
+ index=28,
1148
+ number=401,
1149
+ type=11,
1150
+ cpp_type=10,
1151
+ label=1,
1152
+ has_default_value=False,
1153
+ default_value=None,
1154
+ message_type=None,
1155
+ enum_type=None,
1156
+ containing_type=None,
1157
+ is_extension=False,
1158
+ extension_scope=None,
1159
+ options=None),
1160
+ _descriptor.FieldDescriptor(
1161
+ name='seq_att_groups',
1162
+ full_name='protos.EasyRecModel.seq_att_groups',
1163
+ index=29,
1164
+ number=7,
1165
+ type=11,
1166
+ cpp_type=10,
1167
+ label=3,
1168
+ has_default_value=False,
1169
+ default_value=[],
1170
+ message_type=None,
1171
+ enum_type=None,
1172
+ containing_type=None,
1173
+ is_extension=False,
1174
+ extension_scope=None,
1175
+ options=None),
1176
+ _descriptor.FieldDescriptor(
1177
+ name='embedding_regularization',
1178
+ full_name='protos.EasyRecModel.embedding_regularization',
1179
+ index=30,
1180
+ number=8,
1181
+ type=2,
1182
+ cpp_type=6,
1183
+ label=1,
1184
+ has_default_value=True,
1185
+ default_value=float(0),
1186
+ message_type=None,
1187
+ enum_type=None,
1188
+ containing_type=None,
1189
+ is_extension=False,
1190
+ extension_scope=None,
1191
+ options=None),
1192
+ _descriptor.FieldDescriptor(
1193
+ name='loss_type',
1194
+ full_name='protos.EasyRecModel.loss_type',
1195
+ index=31,
1196
+ number=9,
1197
+ type=14,
1198
+ cpp_type=8,
1199
+ label=1,
1200
+ has_default_value=True,
1201
+ default_value=0,
1202
+ message_type=None,
1203
+ enum_type=None,
1204
+ containing_type=None,
1205
+ is_extension=False,
1206
+ extension_scope=None,
1207
+ options=None),
1208
+ _descriptor.FieldDescriptor(
1209
+ name='num_class',
1210
+ full_name='protos.EasyRecModel.num_class',
1211
+ index=32,
1212
+ number=10,
1213
+ type=13,
1214
+ cpp_type=3,
1215
+ label=1,
1216
+ has_default_value=True,
1217
+ default_value=1,
1218
+ message_type=None,
1219
+ enum_type=None,
1220
+ containing_type=None,
1221
+ is_extension=False,
1222
+ extension_scope=None,
1223
+ options=None),
1224
+ _descriptor.FieldDescriptor(
1225
+ name='ev_params',
1226
+ full_name='protos.EasyRecModel.ev_params',
1227
+ index=33,
1228
+ number=11,
1229
+ type=11,
1230
+ cpp_type=10,
1231
+ label=1,
1232
+ has_default_value=False,
1233
+ default_value=None,
1234
+ message_type=None,
1235
+ enum_type=None,
1236
+ containing_type=None,
1237
+ is_extension=False,
1238
+ extension_scope=None,
1239
+ options=None),
1240
+ _descriptor.FieldDescriptor(
1241
+ name='kd',
1242
+ full_name='protos.EasyRecModel.kd',
1243
+ index=34,
1244
+ number=12,
1245
+ type=11,
1246
+ cpp_type=10,
1247
+ label=3,
1248
+ has_default_value=False,
1249
+ default_value=[],
1250
+ message_type=None,
1251
+ enum_type=None,
1252
+ containing_type=None,
1253
+ is_extension=False,
1254
+ extension_scope=None,
1255
+ options=None),
1256
+ _descriptor.FieldDescriptor(
1257
+ name='restore_filters',
1258
+ full_name='protos.EasyRecModel.restore_filters',
1259
+ index=35,
1260
+ number=13,
1261
+ type=9,
1262
+ cpp_type=9,
1263
+ label=3,
1264
+ has_default_value=False,
1265
+ default_value=[],
1266
+ message_type=None,
1267
+ enum_type=None,
1268
+ containing_type=None,
1269
+ is_extension=False,
1270
+ extension_scope=None,
1271
+ options=None),
1272
+ _descriptor.FieldDescriptor(
1273
+ name='variational_dropout',
1274
+ full_name='protos.EasyRecModel.variational_dropout',
1275
+ index=36,
1276
+ number=14,
1277
+ type=11,
1278
+ cpp_type=10,
1279
+ label=1,
1280
+ has_default_value=False,
1281
+ default_value=None,
1282
+ message_type=None,
1283
+ enum_type=None,
1284
+ containing_type=None,
1285
+ is_extension=False,
1286
+ extension_scope=None,
1287
+ options=None),
1288
+ _descriptor.FieldDescriptor(
1289
+ name='losses',
1290
+ full_name='protos.EasyRecModel.losses',
1291
+ index=37,
1292
+ number=15,
1293
+ type=11,
1294
+ cpp_type=10,
1295
+ label=3,
1296
+ has_default_value=False,
1297
+ default_value=[],
1298
+ message_type=None,
1299
+ enum_type=None,
1300
+ containing_type=None,
1301
+ is_extension=False,
1302
+ extension_scope=None,
1303
+ options=None),
1304
+ _descriptor.FieldDescriptor(
1305
+ name='loss_weight_strategy',
1306
+ full_name='protos.EasyRecModel.loss_weight_strategy',
1307
+ index=38,
1308
+ number=16,
1309
+ type=14,
1310
+ cpp_type=8,
1311
+ label=2,
1312
+ has_default_value=True,
1313
+ default_value=0,
1314
+ message_type=None,
1315
+ enum_type=None,
1316
+ containing_type=None,
1317
+ is_extension=False,
1318
+ extension_scope=None,
1319
+ options=None),
1320
+ _descriptor.FieldDescriptor(
1321
+ name='backbone',
1322
+ full_name='protos.EasyRecModel.backbone',
1323
+ index=39,
1324
+ number=17,
1325
+ type=11,
1326
+ cpp_type=10,
1327
+ label=1,
1328
+ has_default_value=False,
1329
+ default_value=None,
1330
+ message_type=None,
1331
+ enum_type=None,
1332
+ containing_type=None,
1333
+ is_extension=False,
1334
+ extension_scope=None,
1335
+ options=None),
1336
+ _descriptor.FieldDescriptor(
1337
+ name='label_name',
1338
+ full_name='protos.EasyRecModel.label_name',
1339
+ index=40,
1340
+ number=18,
1341
+ type=9,
1342
+ cpp_type=9,
1343
+ label=1,
1344
+ has_default_value=False,
1345
+ default_value=_b('').decode('utf-8'),
1346
+ message_type=None,
1347
+ enum_type=None,
1348
+ containing_type=None,
1349
+ is_extension=False,
1350
+ extension_scope=None,
1351
+ options=None),
1352
+ ],
1353
+ extensions=[],
1354
+ nested_types=[],
1355
+ enum_types=[
1356
+ _EASYRECMODEL_LOSSWEIGHTSTRATEGY,
1357
+ ],
1358
+ options=None,
1359
+ is_extendable=False,
1360
+ syntax='proto2',
1361
+ extension_ranges=[],
1362
+ oneofs=[
1363
+ _descriptor.OneofDescriptor(
1364
+ name='model',
1365
+ full_name='protos.EasyRecModel.model',
1366
+ index=0,
1367
+ containing_type=None,
1368
+ fields=[]),
1369
+ ],
1370
+ serialized_start=2558,
1371
+ serialized_end=4204,
1372
+ )
1373
+
1374
+ _MODELPARAMS.fields_by_name[
1375
+ 'task_towers'].message_type = easy__rec_dot_python_dot_protos_dot_tower__pb2._BAYESTASKTOWER
1376
+ _MODELPARAMS.fields_by_name[
1377
+ 'simi_func'].enum_type = easy__rec_dot_python_dot_protos_dot_simi__pb2._SIMILARITY
1378
+ _KD.fields_by_name[
1379
+ 'loss_type'].enum_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._LOSSTYPE
1380
+ _KD.fields_by_name[
1381
+ 'f1_reweighted_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._F1REWEIGHEDLOSS
1382
+ _KD.fields_by_name[
1383
+ 'softmax_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._SOFTMAXCROSSENTROPYWITHNEGATIVEMINING
1384
+ _KD.fields_by_name[
1385
+ 'circle_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._CIRCLELOSS
1386
+ _KD.fields_by_name[
1387
+ 'multi_simi_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._MULTISIMILARITYLOSS
1388
+ _KD.fields_by_name[
1389
+ 'binary_focal_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._BINARYFOCALLOSS
1390
+ _KD.fields_by_name[
1391
+ 'pairwise_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._PAIRWISELOSS
1392
+ _KD.fields_by_name[
1393
+ 'pairwise_focal_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._PAIRWISEFOCALLOSS
1394
+ _KD.fields_by_name[
1395
+ 'pairwise_logistic_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._PAIRWISELOGISTICLOSS
1396
+ _KD.fields_by_name[
1397
+ 'jrc_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._JRCLOSS
1398
+ _KD.fields_by_name[
1399
+ 'pairwise_hinge_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._PAIRWISEHINGELOSS
1400
+ _KD.fields_by_name[
1401
+ 'listwise_rank_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._LISTWISERANKLOSS
1402
+ _KD.fields_by_name[
1403
+ 'listwise_distill_loss'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._LISTWISEDISTILLLOSS
1404
+ _KD.oneofs_by_name['loss_param'].fields.append(
1405
+ _KD.fields_by_name['f1_reweighted_loss'])
1406
+ _KD.fields_by_name['f1_reweighted_loss'].containing_oneof = _KD.oneofs_by_name[
1407
+ 'loss_param']
1408
+ _KD.oneofs_by_name['loss_param'].fields.append(
1409
+ _KD.fields_by_name['softmax_loss'])
1410
+ _KD.fields_by_name['softmax_loss'].containing_oneof = _KD.oneofs_by_name[
1411
+ 'loss_param']
1412
+ _KD.oneofs_by_name['loss_param'].fields.append(
1413
+ _KD.fields_by_name['circle_loss'])
1414
+ _KD.fields_by_name['circle_loss'].containing_oneof = _KD.oneofs_by_name[
1415
+ 'loss_param']
1416
+ _KD.oneofs_by_name['loss_param'].fields.append(
1417
+ _KD.fields_by_name['multi_simi_loss'])
1418
+ _KD.fields_by_name['multi_simi_loss'].containing_oneof = _KD.oneofs_by_name[
1419
+ 'loss_param']
1420
+ _KD.oneofs_by_name['loss_param'].fields.append(
1421
+ _KD.fields_by_name['binary_focal_loss'])
1422
+ _KD.fields_by_name['binary_focal_loss'].containing_oneof = _KD.oneofs_by_name[
1423
+ 'loss_param']
1424
+ _KD.oneofs_by_name['loss_param'].fields.append(
1425
+ _KD.fields_by_name['pairwise_loss'])
1426
+ _KD.fields_by_name['pairwise_loss'].containing_oneof = _KD.oneofs_by_name[
1427
+ 'loss_param']
1428
+ _KD.oneofs_by_name['loss_param'].fields.append(
1429
+ _KD.fields_by_name['pairwise_focal_loss'])
1430
+ _KD.fields_by_name['pairwise_focal_loss'].containing_oneof = _KD.oneofs_by_name[
1431
+ 'loss_param']
1432
+ _KD.oneofs_by_name['loss_param'].fields.append(
1433
+ _KD.fields_by_name['pairwise_logistic_loss'])
1434
+ _KD.fields_by_name[
1435
+ 'pairwise_logistic_loss'].containing_oneof = _KD.oneofs_by_name[
1436
+ 'loss_param']
1437
+ _KD.oneofs_by_name['loss_param'].fields.append(_KD.fields_by_name['jrc_loss'])
1438
+ _KD.fields_by_name['jrc_loss'].containing_oneof = _KD.oneofs_by_name[
1439
+ 'loss_param']
1440
+ _KD.oneofs_by_name['loss_param'].fields.append(
1441
+ _KD.fields_by_name['pairwise_hinge_loss'])
1442
+ _KD.fields_by_name['pairwise_hinge_loss'].containing_oneof = _KD.oneofs_by_name[
1443
+ 'loss_param']
1444
+ _KD.oneofs_by_name['loss_param'].fields.append(
1445
+ _KD.fields_by_name['listwise_rank_loss'])
1446
+ _KD.fields_by_name['listwise_rank_loss'].containing_oneof = _KD.oneofs_by_name[
1447
+ 'loss_param']
1448
+ _KD.oneofs_by_name['loss_param'].fields.append(
1449
+ _KD.fields_by_name['listwise_distill_loss'])
1450
+ _KD.fields_by_name[
1451
+ 'listwise_distill_loss'].containing_oneof = _KD.oneofs_by_name['loss_param']
1452
+ _EASYRECMODEL.fields_by_name[
1453
+ 'feature_groups'].message_type = easy__rec_dot_python_dot_protos_dot_feature__config__pb2._FEATUREGROUPCONFIG
1454
+ _EASYRECMODEL.fields_by_name['model_params'].message_type = _MODELPARAMS
1455
+ _EASYRECMODEL.fields_by_name['dummy'].message_type = _DUMMYMODEL
1456
+ _EASYRECMODEL.fields_by_name[
1457
+ 'wide_and_deep'].message_type = easy__rec_dot_python_dot_protos_dot_wide__and__deep__pb2._WIDEANDDEEP
1458
+ _EASYRECMODEL.fields_by_name[
1459
+ 'deepfm'].message_type = easy__rec_dot_python_dot_protos_dot_deepfm__pb2._DEEPFM
1460
+ _EASYRECMODEL.fields_by_name[
1461
+ 'multi_tower'].message_type = easy__rec_dot_python_dot_protos_dot_multi__tower__pb2._MULTITOWER
1462
+ _EASYRECMODEL.fields_by_name[
1463
+ 'fm'].message_type = easy__rec_dot_python_dot_protos_dot_fm__pb2._FM
1464
+ _EASYRECMODEL.fields_by_name[
1465
+ 'dcn'].message_type = easy__rec_dot_python_dot_protos_dot_dcn__pb2._DCN
1466
+ _EASYRECMODEL.fields_by_name[
1467
+ 'autoint'].message_type = easy__rec_dot_python_dot_protos_dot_autoint__pb2._AUTOINT
1468
+ _EASYRECMODEL.fields_by_name[
1469
+ 'dlrm'].message_type = easy__rec_dot_python_dot_protos_dot_dlrm__pb2._DLRM
1470
+ _EASYRECMODEL.fields_by_name[
1471
+ 'cmbf'].message_type = easy__rec_dot_python_dot_protos_dot_cmbf__pb2._CMBF
1472
+ _EASYRECMODEL.fields_by_name[
1473
+ 'uniter'].message_type = easy__rec_dot_python_dot_protos_dot_uniter__pb2._UNITER
1474
+ _EASYRECMODEL.fields_by_name[
1475
+ 'multi_tower_recall'].message_type = easy__rec_dot_python_dot_protos_dot_multi__tower__recall__pb2._MULTITOWERRECALL
1476
+ _EASYRECMODEL.fields_by_name[
1477
+ 'dssm'].message_type = easy__rec_dot_python_dot_protos_dot_dssm__pb2._DSSM
1478
+ _EASYRECMODEL.fields_by_name[
1479
+ 'mind'].message_type = easy__rec_dot_python_dot_protos_dot_mind__pb2._MIND
1480
+ _EASYRECMODEL.fields_by_name[
1481
+ 'dropoutnet'].message_type = easy__rec_dot_python_dot_protos_dot_dropoutnet__pb2._DROPOUTNET
1482
+ _EASYRECMODEL.fields_by_name[
1483
+ 'metric_learning'].message_type = easy__rec_dot_python_dot_protos_dot_collaborative__metric__learning__pb2._COMETRICLEARNINGI2I
1484
+ _EASYRECMODEL.fields_by_name[
1485
+ 'pdn'].message_type = easy__rec_dot_python_dot_protos_dot_pdn__pb2._PDN
1486
+ _EASYRECMODEL.fields_by_name[
1487
+ 'dssm_senet'].message_type = easy__rec_dot_python_dot_protos_dot_dssm__senet__pb2._DSSM_SENET
1488
+ _EASYRECMODEL.fields_by_name[
1489
+ 'dat'].message_type = easy__rec_dot_python_dot_protos_dot_dat__pb2._DAT
1490
+ _EASYRECMODEL.fields_by_name[
1491
+ 'mmoe'].message_type = easy__rec_dot_python_dot_protos_dot_mmoe__pb2._MMOE
1492
+ _EASYRECMODEL.fields_by_name[
1493
+ 'esmm'].message_type = easy__rec_dot_python_dot_protos_dot_esmm__pb2._ESMM
1494
+ _EASYRECMODEL.fields_by_name[
1495
+ 'dbmtl'].message_type = easy__rec_dot_python_dot_protos_dot_dbmtl__pb2._DBMTL
1496
+ _EASYRECMODEL.fields_by_name[
1497
+ 'simple_multi_task'].message_type = easy__rec_dot_python_dot_protos_dot_simple__multi__task__pb2._SIMPLEMULTITASK
1498
+ _EASYRECMODEL.fields_by_name[
1499
+ 'ple'].message_type = easy__rec_dot_python_dot_protos_dot_ple__pb2._PLE
1500
+ _EASYRECMODEL.fields_by_name[
1501
+ 'custom_model'].message_type = easy__rec_dot_python_dot_protos_dot_custom__model__pb2._CUSTOMMODEL
1502
+ _EASYRECMODEL.fields_by_name[
1503
+ 'rocket_launching'].message_type = easy__rec_dot_python_dot_protos_dot_rocket__launching__pb2._ROCKETLAUNCHING
1504
+ _EASYRECMODEL.fields_by_name[
1505
+ 'seq_att_groups'].message_type = easy__rec_dot_python_dot_protos_dot_feature__config__pb2._SEQATTGROUPCONFIG
1506
+ _EASYRECMODEL.fields_by_name[
1507
+ 'loss_type'].enum_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._LOSSTYPE
1508
+ _EASYRECMODEL.fields_by_name[
1509
+ 'ev_params'].message_type = easy__rec_dot_python_dot_protos_dot_feature__config__pb2._EVPARAMS
1510
+ _EASYRECMODEL.fields_by_name['kd'].message_type = _KD
1511
+ _EASYRECMODEL.fields_by_name[
1512
+ 'variational_dropout'].message_type = easy__rec_dot_python_dot_protos_dot_variational__dropout__pb2._VARIATIONALDROPOUTLAYER
1513
+ _EASYRECMODEL.fields_by_name[
1514
+ 'losses'].message_type = easy__rec_dot_python_dot_protos_dot_loss__pb2._LOSS
1515
+ _EASYRECMODEL.fields_by_name[
1516
+ 'loss_weight_strategy'].enum_type = _EASYRECMODEL_LOSSWEIGHTSTRATEGY
1517
+ _EASYRECMODEL.fields_by_name[
1518
+ 'backbone'].message_type = easy__rec_dot_python_dot_protos_dot_backbone__pb2._BACKBONETOWER
1519
+ _EASYRECMODEL_LOSSWEIGHTSTRATEGY.containing_type = _EASYRECMODEL
1520
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1521
+ _EASYRECMODEL.fields_by_name['model_params'])
1522
+ _EASYRECMODEL.fields_by_name[
1523
+ 'model_params'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1524
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1525
+ _EASYRECMODEL.fields_by_name['dummy'])
1526
+ _EASYRECMODEL.fields_by_name[
1527
+ 'dummy'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1528
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1529
+ _EASYRECMODEL.fields_by_name['wide_and_deep'])
1530
+ _EASYRECMODEL.fields_by_name[
1531
+ 'wide_and_deep'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1532
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1533
+ _EASYRECMODEL.fields_by_name['deepfm'])
1534
+ _EASYRECMODEL.fields_by_name[
1535
+ 'deepfm'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1536
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1537
+ _EASYRECMODEL.fields_by_name['multi_tower'])
1538
+ _EASYRECMODEL.fields_by_name[
1539
+ 'multi_tower'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1540
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1541
+ _EASYRECMODEL.fields_by_name['fm'])
1542
+ _EASYRECMODEL.fields_by_name[
1543
+ 'fm'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1544
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1545
+ _EASYRECMODEL.fields_by_name['dcn'])
1546
+ _EASYRECMODEL.fields_by_name[
1547
+ 'dcn'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1548
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1549
+ _EASYRECMODEL.fields_by_name['autoint'])
1550
+ _EASYRECMODEL.fields_by_name[
1551
+ 'autoint'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1552
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1553
+ _EASYRECMODEL.fields_by_name['dlrm'])
1554
+ _EASYRECMODEL.fields_by_name[
1555
+ 'dlrm'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1556
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1557
+ _EASYRECMODEL.fields_by_name['cmbf'])
1558
+ _EASYRECMODEL.fields_by_name[
1559
+ 'cmbf'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1560
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1561
+ _EASYRECMODEL.fields_by_name['uniter'])
1562
+ _EASYRECMODEL.fields_by_name[
1563
+ 'uniter'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1564
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1565
+ _EASYRECMODEL.fields_by_name['multi_tower_recall'])
1566
+ _EASYRECMODEL.fields_by_name[
1567
+ 'multi_tower_recall'].containing_oneof = _EASYRECMODEL.oneofs_by_name[
1568
+ 'model']
1569
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1570
+ _EASYRECMODEL.fields_by_name['dssm'])
1571
+ _EASYRECMODEL.fields_by_name[
1572
+ 'dssm'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1573
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1574
+ _EASYRECMODEL.fields_by_name['mind'])
1575
+ _EASYRECMODEL.fields_by_name[
1576
+ 'mind'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1577
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1578
+ _EASYRECMODEL.fields_by_name['dropoutnet'])
1579
+ _EASYRECMODEL.fields_by_name[
1580
+ 'dropoutnet'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1581
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1582
+ _EASYRECMODEL.fields_by_name['metric_learning'])
1583
+ _EASYRECMODEL.fields_by_name[
1584
+ 'metric_learning'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1585
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1586
+ _EASYRECMODEL.fields_by_name['pdn'])
1587
+ _EASYRECMODEL.fields_by_name[
1588
+ 'pdn'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1589
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1590
+ _EASYRECMODEL.fields_by_name['dssm_senet'])
1591
+ _EASYRECMODEL.fields_by_name[
1592
+ 'dssm_senet'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1593
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1594
+ _EASYRECMODEL.fields_by_name['dat'])
1595
+ _EASYRECMODEL.fields_by_name[
1596
+ 'dat'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1597
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1598
+ _EASYRECMODEL.fields_by_name['mmoe'])
1599
+ _EASYRECMODEL.fields_by_name[
1600
+ 'mmoe'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1601
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1602
+ _EASYRECMODEL.fields_by_name['esmm'])
1603
+ _EASYRECMODEL.fields_by_name[
1604
+ 'esmm'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1605
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1606
+ _EASYRECMODEL.fields_by_name['dbmtl'])
1607
+ _EASYRECMODEL.fields_by_name[
1608
+ 'dbmtl'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1609
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1610
+ _EASYRECMODEL.fields_by_name['simple_multi_task'])
1611
+ _EASYRECMODEL.fields_by_name[
1612
+ 'simple_multi_task'].containing_oneof = _EASYRECMODEL.oneofs_by_name[
1613
+ 'model']
1614
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1615
+ _EASYRECMODEL.fields_by_name['ple'])
1616
+ _EASYRECMODEL.fields_by_name[
1617
+ 'ple'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1618
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1619
+ _EASYRECMODEL.fields_by_name['custom_model'])
1620
+ _EASYRECMODEL.fields_by_name[
1621
+ 'custom_model'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1622
+ _EASYRECMODEL.oneofs_by_name['model'].fields.append(
1623
+ _EASYRECMODEL.fields_by_name['rocket_launching'])
1624
+ _EASYRECMODEL.fields_by_name[
1625
+ 'rocket_launching'].containing_oneof = _EASYRECMODEL.oneofs_by_name['model']
1626
+ DESCRIPTOR.message_types_by_name['DummyModel'] = _DUMMYMODEL
1627
+ DESCRIPTOR.message_types_by_name['ModelParams'] = _MODELPARAMS
1628
+ DESCRIPTOR.message_types_by_name['KD'] = _KD
1629
+ DESCRIPTOR.message_types_by_name['EasyRecModel'] = _EASYRECMODEL
1630
+ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
1631
+
1632
+ DummyModel = _reflection.GeneratedProtocolMessageType(
1633
+ 'DummyModel',
1634
+ (_message.Message,),
1635
+ dict(
1636
+ DESCRIPTOR=_DUMMYMODEL,
1637
+ __module__='easy_rec.python.protos.easy_rec_model_pb2'
1638
+ # @@protoc_insertion_point(class_scope:protos.DummyModel)
1639
+ ))
1640
+ _sym_db.RegisterMessage(DummyModel)
1641
+
1642
+ ModelParams = _reflection.GeneratedProtocolMessageType(
1643
+ 'ModelParams',
1644
+ (_message.Message,),
1645
+ dict(
1646
+ DESCRIPTOR=_MODELPARAMS,
1647
+ __module__='easy_rec.python.protos.easy_rec_model_pb2'
1648
+ # @@protoc_insertion_point(class_scope:protos.ModelParams)
1649
+ ))
1650
+ _sym_db.RegisterMessage(ModelParams)
1651
+
1652
+ KD = _reflection.GeneratedProtocolMessageType(
1653
+ 'KD',
1654
+ (_message.Message,),
1655
+ dict(
1656
+ DESCRIPTOR=_KD,
1657
+ __module__='easy_rec.python.protos.easy_rec_model_pb2'
1658
+ # @@protoc_insertion_point(class_scope:protos.KD)
1659
+ ))
1660
+ _sym_db.RegisterMessage(KD)
1661
+
1662
+ EasyRecModel = _reflection.GeneratedProtocolMessageType(
1663
+ 'EasyRecModel',
1664
+ (_message.Message,),
1665
+ dict(
1666
+ DESCRIPTOR=_EASYRECMODEL,
1667
+ __module__='easy_rec.python.protos.easy_rec_model_pb2'
1668
+ # @@protoc_insertion_point(class_scope:protos.EasyRecModel)
1669
+ ))
1670
+ _sym_db.RegisterMessage(EasyRecModel)
1671
+
1672
+ # @@protoc_insertion_point(module_scope)