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,692 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: easy_rec/python/protos/keras_layer.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 struct_pb2 as google_dot_protobuf_dot_struct__pb2
11
+ from google.protobuf import symbol_database as _symbol_database
12
+
13
+ from easy_rec.python.protos import dnn_pb2 as easy__rec_dot_python_dot_protos_dot_dnn__pb2 # NOQA
14
+ from easy_rec.python.protos import fm_pb2 as easy__rec_dot_python_dot_protos_dot_fm__pb2 # NOQA
15
+ from easy_rec.python.protos import layer_pb2 as easy__rec_dot_python_dot_protos_dot_layer__pb2 # NOQA
16
+ from easy_rec.python.protos import seq_encoder_pb2 as easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2 # NOQA
17
+
18
+ _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1'))
19
+ # @@protoc_insertion_point(imports)
20
+
21
+ _sym_db = _symbol_database.Default()
22
+
23
+ DESCRIPTOR = _descriptor.FileDescriptor(
24
+ name='easy_rec/python/protos/keras_layer.proto',
25
+ package='protos',
26
+ syntax='proto2',
27
+ serialized_pb=_b(
28
+ '\n(easy_rec/python/protos/keras_layer.proto\x12\x06protos\x1a\x1cgoogle/protobuf/struct.proto\x1a\"easy_rec/python/protos/layer.proto\x1a easy_rec/python/protos/dnn.proto\x1a\x1f\x65\x61sy_rec/python/protos/fm.proto\x1a(easy_rec/python/protos/seq_encoder.proto\"\xef\x08\n\nKerasLayer\x12\x12\n\nclass_name\x18\x01 \x02(\t\x12,\n\tst_params\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructH\x00\x12\x37\n\x12periodic_embedding\x18\x03 \x01(\x0b\x32\x19.protos.PeriodicEmbeddingH\x00\x12\x36\n\x12\x61uto_dis_embedding\x18\x04 \x01(\x0b\x32\x18.protos.AutoDisEmbeddingH\x00\x12\x36\n\x12nary_dis_embedding\x18\x15 \x01(\x0b\x32\x18.protos.NaryDisEmbeddingH\x00\x12\x18\n\x02\x66m\x18\x05 \x01(\x0b\x32\n.protos.FMH\x00\x12\'\n\nmask_block\x18\x06 \x01(\x0b\x32\x11.protos.MaskBlockH\x00\x12\"\n\x07masknet\x18\x07 \x01(\x0b\x32\x0f.protos.MaskNetH\x00\x12\x1e\n\x05senet\x18\x08 \x01(\x0b\x32\r.protos.SENetH\x00\x12$\n\x08\x62ilinear\x18\t \x01(\x0b\x32\x10.protos.BilinearH\x00\x12\"\n\x07\x66ibinet\x18\n \x01(\x0b\x32\x0f.protos.FiBiNetH\x00\x12\x1a\n\x03mlp\x18\x0b \x01(\x0b\x32\x0b.protos.MLPH\x00\x12!\n\x03\x64in\x18\x0c \x01(\x0b\x32\x12.protos.DINEncoderH\x00\x12!\n\x03\x62st\x18\r \x01(\x0b\x32\x12.protos.BSTEncoderH\x00\x12!\n\x04mmoe\x18\x0e \x01(\x0b\x32\x11.protos.MMoELayerH\x00\x12*\n\x07seq_aug\x18\x0f \x01(\x0b\x32\x17.protos.SequenceAugmentH\x00\x12\x1e\n\x05ppnet\x18\x10 \x01(\x0b\x32\r.protos.PPNetH\x00\x12#\n\x08text_cnn\x18\x11 \x01(\x0b\x32\x0f.protos.TextCNNH\x00\x12\'\n\x07highway\x18\x12 \x01(\x0b\x32\x14.protos.HighWayTowerH\x00\x12)\n\x07overlap\x18\x13 \x01(\x0b\x32\x16.protos.OverlapFeatureH\x00\x12/\n\x0b\x64ot_product\x18\x14 \x01(\x0b\x32\x18.protos.MappedDotProductH\x00\x12&\n\tattention\x18\x16 \x01(\x0b\x32\x11.protos.AttentionH\x00\x12:\n\x14multi_head_attention\x18\x17 \x01(\x0b\x32\x1a.protos.MultiHeadAttentionH\x00\x12*\n\x0btransformer\x18\x18 \x01(\x0b\x32\x13.protos.TransformerH\x00\x12+\n\x0ctext_encoder\x18\x19 \x01(\x0b\x32\x13.protos.TextEncoderH\x00\x12$\n\x04gate\x18\x1a \x01(\x0b\x32\x14.protos.WeightedGateH\x00\x12!\n\x04\x61itm\x18\x1b \x01(\x0b\x32\x11.protos.AITMTowerH\x00\x12\x1a\n\x03\x63in\x18\x1c \x01(\x0b\x32\x0b.protos.CINH\x00\x42\x08\n\x06params'
29
+ ),
30
+ dependencies=[
31
+ google_dot_protobuf_dot_struct__pb2.DESCRIPTOR,
32
+ easy__rec_dot_python_dot_protos_dot_layer__pb2.DESCRIPTOR,
33
+ easy__rec_dot_python_dot_protos_dot_dnn__pb2.DESCRIPTOR,
34
+ easy__rec_dot_python_dot_protos_dot_fm__pb2.DESCRIPTOR,
35
+ easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2.DESCRIPTOR,
36
+ ])
37
+
38
+ _KERASLAYER = _descriptor.Descriptor(
39
+ name='KerasLayer',
40
+ full_name='protos.KerasLayer',
41
+ filename=None,
42
+ file=DESCRIPTOR,
43
+ containing_type=None,
44
+ fields=[
45
+ _descriptor.FieldDescriptor(
46
+ name='class_name',
47
+ full_name='protos.KerasLayer.class_name',
48
+ index=0,
49
+ number=1,
50
+ type=9,
51
+ cpp_type=9,
52
+ label=2,
53
+ has_default_value=False,
54
+ default_value=_b('').decode('utf-8'),
55
+ message_type=None,
56
+ enum_type=None,
57
+ containing_type=None,
58
+ is_extension=False,
59
+ extension_scope=None,
60
+ options=None),
61
+ _descriptor.FieldDescriptor(
62
+ name='st_params',
63
+ full_name='protos.KerasLayer.st_params',
64
+ index=1,
65
+ number=2,
66
+ type=11,
67
+ cpp_type=10,
68
+ label=1,
69
+ has_default_value=False,
70
+ default_value=None,
71
+ message_type=None,
72
+ enum_type=None,
73
+ containing_type=None,
74
+ is_extension=False,
75
+ extension_scope=None,
76
+ options=None),
77
+ _descriptor.FieldDescriptor(
78
+ name='periodic_embedding',
79
+ full_name='protos.KerasLayer.periodic_embedding',
80
+ index=2,
81
+ number=3,
82
+ type=11,
83
+ cpp_type=10,
84
+ label=1,
85
+ has_default_value=False,
86
+ default_value=None,
87
+ message_type=None,
88
+ enum_type=None,
89
+ containing_type=None,
90
+ is_extension=False,
91
+ extension_scope=None,
92
+ options=None),
93
+ _descriptor.FieldDescriptor(
94
+ name='auto_dis_embedding',
95
+ full_name='protos.KerasLayer.auto_dis_embedding',
96
+ index=3,
97
+ number=4,
98
+ type=11,
99
+ cpp_type=10,
100
+ label=1,
101
+ has_default_value=False,
102
+ default_value=None,
103
+ message_type=None,
104
+ enum_type=None,
105
+ containing_type=None,
106
+ is_extension=False,
107
+ extension_scope=None,
108
+ options=None),
109
+ _descriptor.FieldDescriptor(
110
+ name='nary_dis_embedding',
111
+ full_name='protos.KerasLayer.nary_dis_embedding',
112
+ index=4,
113
+ number=21,
114
+ type=11,
115
+ cpp_type=10,
116
+ label=1,
117
+ has_default_value=False,
118
+ default_value=None,
119
+ message_type=None,
120
+ enum_type=None,
121
+ containing_type=None,
122
+ is_extension=False,
123
+ extension_scope=None,
124
+ options=None),
125
+ _descriptor.FieldDescriptor(
126
+ name='fm',
127
+ full_name='protos.KerasLayer.fm',
128
+ index=5,
129
+ number=5,
130
+ type=11,
131
+ cpp_type=10,
132
+ label=1,
133
+ has_default_value=False,
134
+ default_value=None,
135
+ message_type=None,
136
+ enum_type=None,
137
+ containing_type=None,
138
+ is_extension=False,
139
+ extension_scope=None,
140
+ options=None),
141
+ _descriptor.FieldDescriptor(
142
+ name='mask_block',
143
+ full_name='protos.KerasLayer.mask_block',
144
+ index=6,
145
+ number=6,
146
+ type=11,
147
+ cpp_type=10,
148
+ label=1,
149
+ has_default_value=False,
150
+ default_value=None,
151
+ message_type=None,
152
+ enum_type=None,
153
+ containing_type=None,
154
+ is_extension=False,
155
+ extension_scope=None,
156
+ options=None),
157
+ _descriptor.FieldDescriptor(
158
+ name='masknet',
159
+ full_name='protos.KerasLayer.masknet',
160
+ index=7,
161
+ number=7,
162
+ type=11,
163
+ cpp_type=10,
164
+ label=1,
165
+ has_default_value=False,
166
+ default_value=None,
167
+ message_type=None,
168
+ enum_type=None,
169
+ containing_type=None,
170
+ is_extension=False,
171
+ extension_scope=None,
172
+ options=None),
173
+ _descriptor.FieldDescriptor(
174
+ name='senet',
175
+ full_name='protos.KerasLayer.senet',
176
+ index=8,
177
+ number=8,
178
+ type=11,
179
+ cpp_type=10,
180
+ label=1,
181
+ has_default_value=False,
182
+ default_value=None,
183
+ message_type=None,
184
+ enum_type=None,
185
+ containing_type=None,
186
+ is_extension=False,
187
+ extension_scope=None,
188
+ options=None),
189
+ _descriptor.FieldDescriptor(
190
+ name='bilinear',
191
+ full_name='protos.KerasLayer.bilinear',
192
+ index=9,
193
+ number=9,
194
+ type=11,
195
+ cpp_type=10,
196
+ label=1,
197
+ has_default_value=False,
198
+ default_value=None,
199
+ message_type=None,
200
+ enum_type=None,
201
+ containing_type=None,
202
+ is_extension=False,
203
+ extension_scope=None,
204
+ options=None),
205
+ _descriptor.FieldDescriptor(
206
+ name='fibinet',
207
+ full_name='protos.KerasLayer.fibinet',
208
+ index=10,
209
+ number=10,
210
+ type=11,
211
+ cpp_type=10,
212
+ label=1,
213
+ has_default_value=False,
214
+ default_value=None,
215
+ message_type=None,
216
+ enum_type=None,
217
+ containing_type=None,
218
+ is_extension=False,
219
+ extension_scope=None,
220
+ options=None),
221
+ _descriptor.FieldDescriptor(
222
+ name='mlp',
223
+ full_name='protos.KerasLayer.mlp',
224
+ index=11,
225
+ number=11,
226
+ type=11,
227
+ cpp_type=10,
228
+ label=1,
229
+ has_default_value=False,
230
+ default_value=None,
231
+ message_type=None,
232
+ enum_type=None,
233
+ containing_type=None,
234
+ is_extension=False,
235
+ extension_scope=None,
236
+ options=None),
237
+ _descriptor.FieldDescriptor(
238
+ name='din',
239
+ full_name='protos.KerasLayer.din',
240
+ index=12,
241
+ number=12,
242
+ type=11,
243
+ cpp_type=10,
244
+ label=1,
245
+ has_default_value=False,
246
+ default_value=None,
247
+ message_type=None,
248
+ enum_type=None,
249
+ containing_type=None,
250
+ is_extension=False,
251
+ extension_scope=None,
252
+ options=None),
253
+ _descriptor.FieldDescriptor(
254
+ name='bst',
255
+ full_name='protos.KerasLayer.bst',
256
+ index=13,
257
+ number=13,
258
+ type=11,
259
+ cpp_type=10,
260
+ label=1,
261
+ has_default_value=False,
262
+ default_value=None,
263
+ message_type=None,
264
+ enum_type=None,
265
+ containing_type=None,
266
+ is_extension=False,
267
+ extension_scope=None,
268
+ options=None),
269
+ _descriptor.FieldDescriptor(
270
+ name='mmoe',
271
+ full_name='protos.KerasLayer.mmoe',
272
+ index=14,
273
+ number=14,
274
+ type=11,
275
+ cpp_type=10,
276
+ label=1,
277
+ has_default_value=False,
278
+ default_value=None,
279
+ message_type=None,
280
+ enum_type=None,
281
+ containing_type=None,
282
+ is_extension=False,
283
+ extension_scope=None,
284
+ options=None),
285
+ _descriptor.FieldDescriptor(
286
+ name='seq_aug',
287
+ full_name='protos.KerasLayer.seq_aug',
288
+ index=15,
289
+ number=15,
290
+ type=11,
291
+ cpp_type=10,
292
+ label=1,
293
+ has_default_value=False,
294
+ default_value=None,
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='ppnet',
303
+ full_name='protos.KerasLayer.ppnet',
304
+ index=16,
305
+ number=16,
306
+ type=11,
307
+ cpp_type=10,
308
+ label=1,
309
+ has_default_value=False,
310
+ default_value=None,
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='text_cnn',
319
+ full_name='protos.KerasLayer.text_cnn',
320
+ index=17,
321
+ number=17,
322
+ type=11,
323
+ cpp_type=10,
324
+ label=1,
325
+ has_default_value=False,
326
+ default_value=None,
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='highway',
335
+ full_name='protos.KerasLayer.highway',
336
+ index=18,
337
+ number=18,
338
+ type=11,
339
+ cpp_type=10,
340
+ label=1,
341
+ has_default_value=False,
342
+ default_value=None,
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='overlap',
351
+ full_name='protos.KerasLayer.overlap',
352
+ index=19,
353
+ number=19,
354
+ type=11,
355
+ cpp_type=10,
356
+ label=1,
357
+ has_default_value=False,
358
+ default_value=None,
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='dot_product',
367
+ full_name='protos.KerasLayer.dot_product',
368
+ index=20,
369
+ number=20,
370
+ type=11,
371
+ cpp_type=10,
372
+ label=1,
373
+ has_default_value=False,
374
+ default_value=None,
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='attention',
383
+ full_name='protos.KerasLayer.attention',
384
+ index=21,
385
+ number=22,
386
+ type=11,
387
+ cpp_type=10,
388
+ label=1,
389
+ has_default_value=False,
390
+ default_value=None,
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='multi_head_attention',
399
+ full_name='protos.KerasLayer.multi_head_attention',
400
+ index=22,
401
+ number=23,
402
+ type=11,
403
+ cpp_type=10,
404
+ label=1,
405
+ has_default_value=False,
406
+ default_value=None,
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='transformer',
415
+ full_name='protos.KerasLayer.transformer',
416
+ index=23,
417
+ number=24,
418
+ type=11,
419
+ cpp_type=10,
420
+ label=1,
421
+ has_default_value=False,
422
+ default_value=None,
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='text_encoder',
431
+ full_name='protos.KerasLayer.text_encoder',
432
+ index=24,
433
+ number=25,
434
+ type=11,
435
+ cpp_type=10,
436
+ label=1,
437
+ has_default_value=False,
438
+ default_value=None,
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='gate',
447
+ full_name='protos.KerasLayer.gate',
448
+ index=25,
449
+ number=26,
450
+ type=11,
451
+ cpp_type=10,
452
+ label=1,
453
+ has_default_value=False,
454
+ default_value=None,
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='aitm',
463
+ full_name='protos.KerasLayer.aitm',
464
+ index=26,
465
+ number=27,
466
+ type=11,
467
+ cpp_type=10,
468
+ label=1,
469
+ has_default_value=False,
470
+ default_value=None,
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='cin',
479
+ full_name='protos.KerasLayer.cin',
480
+ index=27,
481
+ number=28,
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
+ ],
494
+ extensions=[],
495
+ nested_types=[],
496
+ enum_types=[],
497
+ options=None,
498
+ is_extendable=False,
499
+ syntax='proto2',
500
+ extension_ranges=[],
501
+ oneofs=[
502
+ _descriptor.OneofDescriptor(
503
+ name='params',
504
+ full_name='protos.KerasLayer.params',
505
+ index=0,
506
+ containing_type=None,
507
+ fields=[]),
508
+ ],
509
+ serialized_start=228,
510
+ serialized_end=1363,
511
+ )
512
+
513
+ _KERASLAYER.fields_by_name[
514
+ 'st_params'].message_type = google_dot_protobuf_dot_struct__pb2._STRUCT
515
+ _KERASLAYER.fields_by_name[
516
+ 'periodic_embedding'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._PERIODICEMBEDDING
517
+ _KERASLAYER.fields_by_name[
518
+ 'auto_dis_embedding'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._AUTODISEMBEDDING
519
+ _KERASLAYER.fields_by_name[
520
+ 'nary_dis_embedding'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._NARYDISEMBEDDING
521
+ _KERASLAYER.fields_by_name[
522
+ 'fm'].message_type = easy__rec_dot_python_dot_protos_dot_fm__pb2._FM
523
+ _KERASLAYER.fields_by_name[
524
+ 'mask_block'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._MASKBLOCK
525
+ _KERASLAYER.fields_by_name[
526
+ 'masknet'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._MASKNET
527
+ _KERASLAYER.fields_by_name[
528
+ 'senet'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._SENET
529
+ _KERASLAYER.fields_by_name[
530
+ 'bilinear'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._BILINEAR
531
+ _KERASLAYER.fields_by_name[
532
+ 'fibinet'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._FIBINET
533
+ _KERASLAYER.fields_by_name[
534
+ 'mlp'].message_type = easy__rec_dot_python_dot_protos_dot_dnn__pb2._MLP
535
+ _KERASLAYER.fields_by_name[
536
+ 'din'].message_type = easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2._DINENCODER
537
+ _KERASLAYER.fields_by_name[
538
+ 'bst'].message_type = easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2._BSTENCODER
539
+ _KERASLAYER.fields_by_name[
540
+ 'mmoe'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._MMOELAYER
541
+ _KERASLAYER.fields_by_name[
542
+ 'seq_aug'].message_type = easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2._SEQUENCEAUGMENT
543
+ _KERASLAYER.fields_by_name[
544
+ 'ppnet'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._PPNET
545
+ _KERASLAYER.fields_by_name[
546
+ 'text_cnn'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._TEXTCNN
547
+ _KERASLAYER.fields_by_name[
548
+ 'highway'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._HIGHWAYTOWER
549
+ _KERASLAYER.fields_by_name[
550
+ 'overlap'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._OVERLAPFEATURE
551
+ _KERASLAYER.fields_by_name[
552
+ 'dot_product'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._MAPPEDDOTPRODUCT
553
+ _KERASLAYER.fields_by_name[
554
+ 'attention'].message_type = easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2._ATTENTION
555
+ _KERASLAYER.fields_by_name[
556
+ 'multi_head_attention'].message_type = easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2._MULTIHEADATTENTION
557
+ _KERASLAYER.fields_by_name[
558
+ 'transformer'].message_type = easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2._TRANSFORMER
559
+ _KERASLAYER.fields_by_name[
560
+ 'text_encoder'].message_type = easy__rec_dot_python_dot_protos_dot_seq__encoder__pb2._TEXTENCODER
561
+ _KERASLAYER.fields_by_name[
562
+ 'gate'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._WEIGHTEDGATE
563
+ _KERASLAYER.fields_by_name[
564
+ 'aitm'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._AITMTOWER
565
+ _KERASLAYER.fields_by_name[
566
+ 'cin'].message_type = easy__rec_dot_python_dot_protos_dot_layer__pb2._CIN
567
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
568
+ _KERASLAYER.fields_by_name['st_params'])
569
+ _KERASLAYER.fields_by_name[
570
+ 'st_params'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
571
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
572
+ _KERASLAYER.fields_by_name['periodic_embedding'])
573
+ _KERASLAYER.fields_by_name[
574
+ 'periodic_embedding'].containing_oneof = _KERASLAYER.oneofs_by_name[
575
+ 'params']
576
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
577
+ _KERASLAYER.fields_by_name['auto_dis_embedding'])
578
+ _KERASLAYER.fields_by_name[
579
+ 'auto_dis_embedding'].containing_oneof = _KERASLAYER.oneofs_by_name[
580
+ 'params']
581
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
582
+ _KERASLAYER.fields_by_name['nary_dis_embedding'])
583
+ _KERASLAYER.fields_by_name[
584
+ 'nary_dis_embedding'].containing_oneof = _KERASLAYER.oneofs_by_name[
585
+ 'params']
586
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
587
+ _KERASLAYER.fields_by_name['fm'])
588
+ _KERASLAYER.fields_by_name['fm'].containing_oneof = _KERASLAYER.oneofs_by_name[
589
+ 'params']
590
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
591
+ _KERASLAYER.fields_by_name['mask_block'])
592
+ _KERASLAYER.fields_by_name[
593
+ 'mask_block'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
594
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
595
+ _KERASLAYER.fields_by_name['masknet'])
596
+ _KERASLAYER.fields_by_name[
597
+ 'masknet'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
598
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
599
+ _KERASLAYER.fields_by_name['senet'])
600
+ _KERASLAYER.fields_by_name[
601
+ 'senet'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
602
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
603
+ _KERASLAYER.fields_by_name['bilinear'])
604
+ _KERASLAYER.fields_by_name[
605
+ 'bilinear'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
606
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
607
+ _KERASLAYER.fields_by_name['fibinet'])
608
+ _KERASLAYER.fields_by_name[
609
+ 'fibinet'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
610
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
611
+ _KERASLAYER.fields_by_name['mlp'])
612
+ _KERASLAYER.fields_by_name['mlp'].containing_oneof = _KERASLAYER.oneofs_by_name[
613
+ 'params']
614
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
615
+ _KERASLAYER.fields_by_name['din'])
616
+ _KERASLAYER.fields_by_name['din'].containing_oneof = _KERASLAYER.oneofs_by_name[
617
+ 'params']
618
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
619
+ _KERASLAYER.fields_by_name['bst'])
620
+ _KERASLAYER.fields_by_name['bst'].containing_oneof = _KERASLAYER.oneofs_by_name[
621
+ 'params']
622
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
623
+ _KERASLAYER.fields_by_name['mmoe'])
624
+ _KERASLAYER.fields_by_name[
625
+ 'mmoe'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
626
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
627
+ _KERASLAYER.fields_by_name['seq_aug'])
628
+ _KERASLAYER.fields_by_name[
629
+ 'seq_aug'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
630
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
631
+ _KERASLAYER.fields_by_name['ppnet'])
632
+ _KERASLAYER.fields_by_name[
633
+ 'ppnet'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
634
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
635
+ _KERASLAYER.fields_by_name['text_cnn'])
636
+ _KERASLAYER.fields_by_name[
637
+ 'text_cnn'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
638
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
639
+ _KERASLAYER.fields_by_name['highway'])
640
+ _KERASLAYER.fields_by_name[
641
+ 'highway'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
642
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
643
+ _KERASLAYER.fields_by_name['overlap'])
644
+ _KERASLAYER.fields_by_name[
645
+ 'overlap'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
646
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
647
+ _KERASLAYER.fields_by_name['dot_product'])
648
+ _KERASLAYER.fields_by_name[
649
+ 'dot_product'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
650
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
651
+ _KERASLAYER.fields_by_name['attention'])
652
+ _KERASLAYER.fields_by_name[
653
+ 'attention'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
654
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
655
+ _KERASLAYER.fields_by_name['multi_head_attention'])
656
+ _KERASLAYER.fields_by_name[
657
+ 'multi_head_attention'].containing_oneof = _KERASLAYER.oneofs_by_name[
658
+ 'params']
659
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
660
+ _KERASLAYER.fields_by_name['transformer'])
661
+ _KERASLAYER.fields_by_name[
662
+ 'transformer'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
663
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
664
+ _KERASLAYER.fields_by_name['text_encoder'])
665
+ _KERASLAYER.fields_by_name[
666
+ 'text_encoder'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
667
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
668
+ _KERASLAYER.fields_by_name['gate'])
669
+ _KERASLAYER.fields_by_name[
670
+ 'gate'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
671
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
672
+ _KERASLAYER.fields_by_name['aitm'])
673
+ _KERASLAYER.fields_by_name[
674
+ 'aitm'].containing_oneof = _KERASLAYER.oneofs_by_name['params']
675
+ _KERASLAYER.oneofs_by_name['params'].fields.append(
676
+ _KERASLAYER.fields_by_name['cin'])
677
+ _KERASLAYER.fields_by_name['cin'].containing_oneof = _KERASLAYER.oneofs_by_name[
678
+ 'params']
679
+ DESCRIPTOR.message_types_by_name['KerasLayer'] = _KERASLAYER
680
+ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
681
+
682
+ KerasLayer = _reflection.GeneratedProtocolMessageType(
683
+ 'KerasLayer',
684
+ (_message.Message,),
685
+ dict(
686
+ DESCRIPTOR=_KERASLAYER,
687
+ __module__='easy_rec.python.protos.keras_layer_pb2'
688
+ # @@protoc_insertion_point(class_scope:protos.KerasLayer)
689
+ ))
690
+ _sym_db.RegisterMessage(KerasLayer)
691
+
692
+ # @@protoc_insertion_point(module_scope)