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,1920 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: easy_rec/python/protos/dataset.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
+ _b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1'))
13
+ # @@protoc_insertion_point(imports)
14
+
15
+ _sym_db = _symbol_database.Default()
16
+
17
+ DESCRIPTOR = _descriptor.FileDescriptor(
18
+ name='easy_rec/python/protos/dataset.proto',
19
+ package='protos',
20
+ syntax='proto2',
21
+ serialized_pb=_b(
22
+ '\n$easy_rec/python/protos/dataset.proto\x12\x06protos\"\xb8\x01\n\x0fNegativeSampler\x12\x12\n\ninput_path\x18\x01 \x02(\t\x12\x12\n\nnum_sample\x18\x02 \x02(\r\x12\x13\n\x0b\x61ttr_fields\x18\x03 \x03(\t\x12\x15\n\ritem_id_field\x18\x04 \x02(\t\x12\x19\n\x0e\x61ttr_delimiter\x18\x05 \x01(\t:\x01:\x12\x1a\n\x0fnum_eval_sample\x18\x06 \x01(\r:\x01\x30\x12\x1a\n\x0f\x66ield_delimiter\x18\x07 \x01(\t:\x01\x01\"\xc0\x01\n\x17NegativeSamplerInMemory\x12\x12\n\ninput_path\x18\x01 \x02(\t\x12\x12\n\nnum_sample\x18\x02 \x02(\r\x12\x13\n\x0b\x61ttr_fields\x18\x03 \x03(\t\x12\x15\n\ritem_id_field\x18\x04 \x02(\t\x12\x19\n\x0e\x61ttr_delimiter\x18\x05 \x01(\t:\x01:\x12\x1a\n\x0fnum_eval_sample\x18\x06 \x01(\r:\x01\x30\x12\x1a\n\x0f\x66ield_delimiter\x18\x07 \x01(\t:\x01\x01\"\x8c\x02\n\x11NegativeSamplerV2\x12\x17\n\x0fuser_input_path\x18\x01 \x02(\t\x12\x17\n\x0fitem_input_path\x18\x02 \x02(\t\x12\x1b\n\x13pos_edge_input_path\x18\x03 \x02(\t\x12\x12\n\nnum_sample\x18\x04 \x02(\r\x12\x13\n\x0b\x61ttr_fields\x18\x05 \x03(\t\x12\x15\n\ritem_id_field\x18\x06 \x02(\t\x12\x15\n\ruser_id_field\x18\x07 \x02(\t\x12\x19\n\x0e\x61ttr_delimiter\x18\x08 \x01(\t:\x01:\x12\x1a\n\x0fnum_eval_sample\x18\t \x01(\r:\x01\x30\x12\x1a\n\x0f\x66ield_delimiter\x18\n \x01(\t:\x01\x01\"\xac\x02\n\x13HardNegativeSampler\x12\x17\n\x0fuser_input_path\x18\x01 \x02(\t\x12\x17\n\x0fitem_input_path\x18\x02 \x02(\t\x12 \n\x18hard_neg_edge_input_path\x18\x03 \x02(\t\x12\x12\n\nnum_sample\x18\x04 \x02(\r\x12\x17\n\x0fnum_hard_sample\x18\x05 \x02(\r\x12\x13\n\x0b\x61ttr_fields\x18\x06 \x03(\t\x12\x15\n\ritem_id_field\x18\x07 \x02(\t\x12\x15\n\ruser_id_field\x18\x08 \x02(\t\x12\x19\n\x0e\x61ttr_delimiter\x18\t \x01(\t:\x01:\x12\x1a\n\x0fnum_eval_sample\x18\n \x01(\r:\x01\x30\x12\x1a\n\x0f\x66ield_delimiter\x18\x0b \x01(\t:\x01\x01\"\xcb\x02\n\x15HardNegativeSamplerV2\x12\x17\n\x0fuser_input_path\x18\x01 \x02(\t\x12\x17\n\x0fitem_input_path\x18\x02 \x02(\t\x12\x1b\n\x13pos_edge_input_path\x18\x03 \x02(\t\x12 \n\x18hard_neg_edge_input_path\x18\x04 \x02(\t\x12\x12\n\nnum_sample\x18\x05 \x02(\r\x12\x17\n\x0fnum_hard_sample\x18\x06 \x02(\r\x12\x13\n\x0b\x61ttr_fields\x18\x07 \x03(\t\x12\x15\n\ritem_id_field\x18\x08 \x02(\t\x12\x15\n\ruser_id_field\x18\t \x02(\t\x12\x19\n\x0e\x61ttr_delimiter\x18\n \x01(\t:\x01:\x12\x1a\n\x0fnum_eval_sample\x18\x0b \x01(\r:\x01\x30\x12\x1a\n\x0f\x66ield_delimiter\x18\x0c \x01(\t:\x01\x01\"\xa9\x10\n\rDatasetConfig\x12\x16\n\nbatch_size\x18\x01 \x01(\r:\x02\x33\x32\x12\'\n\x18\x61uto_expand_input_fields\x18\x03 \x01(\x08:\x05\x66\x61lse\x12\x14\n\x0clabel_fields\x18\x04 \x03(\t\x12\x11\n\tlabel_sep\x18) \x03(\t\x12\x11\n\tlabel_dim\x18* \x03(\r\x12=\n\x10\x65xtra_label_func\x18+ \x03(\x0b\x32#.protos.DatasetConfig.LabelFunction\x12\x15\n\x07shuffle\x18\x05 \x01(\x08:\x04true\x12\x1f\n\x13shuffle_buffer_size\x18\x0b \x01(\x05:\x02\x33\x32\x12\x15\n\nnum_epochs\x18\x06 \x01(\r:\x01\x30\x12\x19\n\rprefetch_size\x18\x07 \x01(\r:\x02\x33\x32\x12\x15\n\x05shard\x18\xa1\x06 \x01(\x08:\x05\x66\x61lse\x12\x1a\n\nfile_shard\x18\xa2\x06 \x01(\x08:\x05\x66\x61lse\x12\x33\n\ninput_type\x18\n \x02(\x0e\x32\x1f.protos.DatasetConfig.InputType\x12\x14\n\tseparator\x18\x0c \x01(\t:\x01,\x12\x1d\n\x12num_parallel_calls\x18\r \x01(\r:\x01\x38\x12\x17\n\rselected_cols\x18\x0e \x01(\t:\x00\x12\x1c\n\x12selected_col_types\x18\x0f \x01(\t:\x00\x12\x31\n\x0cinput_fields\x18\x10 \x03(\x0b\x32\x1b.protos.DatasetConfig.Field\x12\x18\n\rrtp_separator\x18\x11 \x01(\t:\x01;\x12\x1b\n\x0cignore_error\x18\x12 \x01(\x08:\x05\x66\x61lse\x12\x1f\n\x10pai_worker_queue\x18\x13 \x01(\x08:\x05\x66\x61lse\x12!\n\x14pai_worker_slice_num\x18\x14 \x01(\x05:\x03\x31\x30\x30\x12\x1e\n\x0f\x63hief_redundant\x18\x15 \x01(\x08:\x05\x66\x61lse\x12\x15\n\rsample_weight\x18\x16 \x01(\t\x12\x1f\n\x15\x64\x61ta_compression_type\x18\x17 \x01(\t:\x00\x12\x1d\n\x15n_data_batch_tfrecord\x18\x18 \x01(\r\x12\x1a\n\x0bwith_header\x18\x19 \x01(\x08:\x05\x66\x61lse\x12\x16\n\x0e\x66\x65\x61ture_fields\x18\x1a \x03(\t\x12\x33\n\x10negative_sampler\x18\x65 \x01(\x0b\x32\x17.protos.NegativeSamplerH\x00\x12\x38\n\x13negative_sampler_v2\x18\x66 \x01(\x0b\x32\x19.protos.NegativeSamplerV2H\x00\x12<\n\x15hard_negative_sampler\x18g \x01(\x0b\x32\x1b.protos.HardNegativeSamplerH\x00\x12\x41\n\x18hard_negative_sampler_v2\x18h \x01(\x0b\x32\x1d.protos.HardNegativeSamplerV2H\x00\x12\x45\n\x1anegative_sampler_in_memory\x18i \x01(\x0b\x32\x1f.protos.NegativeSamplerInMemoryH\x00\x12\x1e\n\x0f\x65val_batch_size\x18\xe9\x07 \x01(\r:\x04\x34\x30\x39\x36\x12\x1e\n\x0e\x64rop_remainder\x18\xea\x07 \x01(\x08:\x05\x66\x61lse\x1a\xa6\x02\n\x05\x46ield\x12\x12\n\ninput_name\x18\x01 \x02(\t\x12;\n\ninput_type\x18\x02 \x02(\x0e\x32\x1f.protos.DatasetConfig.FieldType:\x06STRING\x12\x13\n\x0b\x64\x65\x66\x61ult_val\x18\x03 \x01(\t\x12\x14\n\tinput_dim\x18\x04 \x01(\r:\x01\x31\x12\x16\n\x0binput_shape\x18\x05 \x01(\r:\x01\x31\x12\x16\n\x0euser_define_fn\x18\x06 \x01(\t\x12\x1b\n\x13user_define_fn_path\x18\x07 \x01(\t\x12@\n\x17user_define_fn_res_type\x18\x08 \x01(\x0e\x32\x1f.protos.DatasetConfig.FieldType\x12\x12\n\nignore_val\x18\t \x01(\t\x1a\x37\n\rLabelFunction\x12\x12\n\nlabel_name\x18\x01 \x02(\t\x12\x12\n\nlabel_func\x18\x02 \x02(\t\"N\n\tFieldType\x12\t\n\x05INT32\x10\x00\x12\t\n\x05INT64\x10\x01\x12\n\n\x06STRING\x10\x02\x12\t\n\x05\x46LOAT\x10\x04\x12\n\n\x06\x44OUBLE\x10\x05\x12\x08\n\x04\x42OOL\x10\x06\"\x90\x03\n\tInputType\x12\x0c\n\x08\x43SVInput\x10\n\x12\x0e\n\nCSVInputV2\x10\x0b\x12\x0e\n\nCSVInputEx\x10\x0c\x12\r\n\tOdpsInput\x10\x02\x12\x0f\n\x0bOdpsInputV2\x10\x03\x12\x10\n\x0c\x44\x61taHubInput\x10\x0f\x12\x0f\n\x0bOdpsInputV3\x10\t\x12\x0c\n\x08RTPInput\x10\x04\x12\x0e\n\nRTPInputV2\x10\x05\x12\x11\n\x0cOdpsRTPInput\x10\xd9\x04\x12\x13\n\x0eOdpsRTPInputV2\x10\xda\x04\x12\x11\n\rTFRecordInput\x10\x07\x12\x16\n\x12\x42\x61tchTFRecordInput\x10\x0e\x12\x0e\n\nDummyInput\x10\x08\x12\x0e\n\nKafkaInput\x10\r\x12\r\n\tHiveInput\x10\x10\x12\x10\n\x0cHiveRTPInput\x10\x11\x12\x14\n\x10HiveParquetInput\x10\x12\x12\x10\n\x0cParquetInput\x10\x13\x12\x12\n\x0eParquetInputV2\x10\x14\x12\x12\n\x0eParquetInputV3\x10\x15\x12\x10\n\x0b\x43riteoInput\x10\xe9\x07\x42\t\n\x07sampler'
23
+ ))
24
+
25
+ _DATASETCONFIG_FIELDTYPE = _descriptor.EnumDescriptor(
26
+ name='FieldType',
27
+ full_name='protos.DatasetConfig.FieldType',
28
+ filename=None,
29
+ file=DESCRIPTOR,
30
+ values=[
31
+ _descriptor.EnumValueDescriptor(
32
+ name='INT32', index=0, number=0, options=None, type=None),
33
+ _descriptor.EnumValueDescriptor(
34
+ name='INT64', index=1, number=1, options=None, type=None),
35
+ _descriptor.EnumValueDescriptor(
36
+ name='STRING', index=2, number=2, options=None, type=None),
37
+ _descriptor.EnumValueDescriptor(
38
+ name='FLOAT', index=3, number=4, options=None, type=None),
39
+ _descriptor.EnumValueDescriptor(
40
+ name='DOUBLE', index=4, number=5, options=None, type=None),
41
+ _descriptor.EnumValueDescriptor(
42
+ name='BOOL', index=5, number=6, options=None, type=None),
43
+ ],
44
+ containing_type=None,
45
+ options=None,
46
+ serialized_start=2936,
47
+ serialized_end=3014,
48
+ )
49
+ _sym_db.RegisterEnumDescriptor(_DATASETCONFIG_FIELDTYPE)
50
+
51
+ _DATASETCONFIG_INPUTTYPE = _descriptor.EnumDescriptor(
52
+ name='InputType',
53
+ full_name='protos.DatasetConfig.InputType',
54
+ filename=None,
55
+ file=DESCRIPTOR,
56
+ values=[
57
+ _descriptor.EnumValueDescriptor(
58
+ name='CSVInput', index=0, number=10, options=None, type=None),
59
+ _descriptor.EnumValueDescriptor(
60
+ name='CSVInputV2', index=1, number=11, options=None, type=None),
61
+ _descriptor.EnumValueDescriptor(
62
+ name='CSVInputEx', index=2, number=12, options=None, type=None),
63
+ _descriptor.EnumValueDescriptor(
64
+ name='OdpsInput', index=3, number=2, options=None, type=None),
65
+ _descriptor.EnumValueDescriptor(
66
+ name='OdpsInputV2', index=4, number=3, options=None, type=None),
67
+ _descriptor.EnumValueDescriptor(
68
+ name='DataHubInput', index=5, number=15, options=None, type=None),
69
+ _descriptor.EnumValueDescriptor(
70
+ name='OdpsInputV3', index=6, number=9, options=None, type=None),
71
+ _descriptor.EnumValueDescriptor(
72
+ name='RTPInput', index=7, number=4, options=None, type=None),
73
+ _descriptor.EnumValueDescriptor(
74
+ name='RTPInputV2', index=8, number=5, options=None, type=None),
75
+ _descriptor.EnumValueDescriptor(
76
+ name='OdpsRTPInput', index=9, number=601, options=None, type=None),
77
+ _descriptor.EnumValueDescriptor(
78
+ name='OdpsRTPInputV2',
79
+ index=10,
80
+ number=602,
81
+ options=None,
82
+ type=None),
83
+ _descriptor.EnumValueDescriptor(
84
+ name='TFRecordInput', index=11, number=7, options=None, type=None),
85
+ _descriptor.EnumValueDescriptor(
86
+ name='BatchTFRecordInput',
87
+ index=12,
88
+ number=14,
89
+ options=None,
90
+ type=None),
91
+ _descriptor.EnumValueDescriptor(
92
+ name='DummyInput', index=13, number=8, options=None, type=None),
93
+ _descriptor.EnumValueDescriptor(
94
+ name='KafkaInput', index=14, number=13, options=None, type=None),
95
+ _descriptor.EnumValueDescriptor(
96
+ name='HiveInput', index=15, number=16, options=None, type=None),
97
+ _descriptor.EnumValueDescriptor(
98
+ name='HiveRTPInput', index=16, number=17, options=None, type=None),
99
+ _descriptor.EnumValueDescriptor(
100
+ name='HiveParquetInput',
101
+ index=17,
102
+ number=18,
103
+ options=None,
104
+ type=None),
105
+ _descriptor.EnumValueDescriptor(
106
+ name='ParquetInput', index=18, number=19, options=None, type=None),
107
+ _descriptor.EnumValueDescriptor(
108
+ name='ParquetInputV2', index=19, number=20, options=None,
109
+ type=None),
110
+ _descriptor.EnumValueDescriptor(
111
+ name='ParquetInputV3', index=20, number=21, options=None,
112
+ type=None),
113
+ _descriptor.EnumValueDescriptor(
114
+ name='CriteoInput', index=21, number=1001, options=None, type=None),
115
+ ],
116
+ containing_type=None,
117
+ options=None,
118
+ serialized_start=3017,
119
+ serialized_end=3417,
120
+ )
121
+ _sym_db.RegisterEnumDescriptor(_DATASETCONFIG_INPUTTYPE)
122
+
123
+ _NEGATIVESAMPLER = _descriptor.Descriptor(
124
+ name='NegativeSampler',
125
+ full_name='protos.NegativeSampler',
126
+ filename=None,
127
+ file=DESCRIPTOR,
128
+ containing_type=None,
129
+ fields=[
130
+ _descriptor.FieldDescriptor(
131
+ name='input_path',
132
+ full_name='protos.NegativeSampler.input_path',
133
+ index=0,
134
+ number=1,
135
+ type=9,
136
+ cpp_type=9,
137
+ label=2,
138
+ has_default_value=False,
139
+ default_value=_b('').decode('utf-8'),
140
+ message_type=None,
141
+ enum_type=None,
142
+ containing_type=None,
143
+ is_extension=False,
144
+ extension_scope=None,
145
+ options=None),
146
+ _descriptor.FieldDescriptor(
147
+ name='num_sample',
148
+ full_name='protos.NegativeSampler.num_sample',
149
+ index=1,
150
+ number=2,
151
+ type=13,
152
+ cpp_type=3,
153
+ label=2,
154
+ has_default_value=False,
155
+ default_value=0,
156
+ message_type=None,
157
+ enum_type=None,
158
+ containing_type=None,
159
+ is_extension=False,
160
+ extension_scope=None,
161
+ options=None),
162
+ _descriptor.FieldDescriptor(
163
+ name='attr_fields',
164
+ full_name='protos.NegativeSampler.attr_fields',
165
+ index=2,
166
+ number=3,
167
+ type=9,
168
+ cpp_type=9,
169
+ label=3,
170
+ has_default_value=False,
171
+ default_value=[],
172
+ message_type=None,
173
+ enum_type=None,
174
+ containing_type=None,
175
+ is_extension=False,
176
+ extension_scope=None,
177
+ options=None),
178
+ _descriptor.FieldDescriptor(
179
+ name='item_id_field',
180
+ full_name='protos.NegativeSampler.item_id_field',
181
+ index=3,
182
+ number=4,
183
+ type=9,
184
+ cpp_type=9,
185
+ label=2,
186
+ has_default_value=False,
187
+ default_value=_b('').decode('utf-8'),
188
+ message_type=None,
189
+ enum_type=None,
190
+ containing_type=None,
191
+ is_extension=False,
192
+ extension_scope=None,
193
+ options=None),
194
+ _descriptor.FieldDescriptor(
195
+ name='attr_delimiter',
196
+ full_name='protos.NegativeSampler.attr_delimiter',
197
+ index=4,
198
+ number=5,
199
+ type=9,
200
+ cpp_type=9,
201
+ label=1,
202
+ has_default_value=True,
203
+ default_value=_b(':').decode('utf-8'),
204
+ message_type=None,
205
+ enum_type=None,
206
+ containing_type=None,
207
+ is_extension=False,
208
+ extension_scope=None,
209
+ options=None),
210
+ _descriptor.FieldDescriptor(
211
+ name='num_eval_sample',
212
+ full_name='protos.NegativeSampler.num_eval_sample',
213
+ index=5,
214
+ number=6,
215
+ type=13,
216
+ cpp_type=3,
217
+ label=1,
218
+ has_default_value=True,
219
+ default_value=0,
220
+ message_type=None,
221
+ enum_type=None,
222
+ containing_type=None,
223
+ is_extension=False,
224
+ extension_scope=None,
225
+ options=None),
226
+ _descriptor.FieldDescriptor(
227
+ name='field_delimiter',
228
+ full_name='protos.NegativeSampler.field_delimiter',
229
+ index=6,
230
+ number=7,
231
+ type=9,
232
+ cpp_type=9,
233
+ label=1,
234
+ has_default_value=True,
235
+ default_value=_b('\001').decode('utf-8'),
236
+ message_type=None,
237
+ enum_type=None,
238
+ containing_type=None,
239
+ is_extension=False,
240
+ extension_scope=None,
241
+ options=None),
242
+ ],
243
+ extensions=[],
244
+ nested_types=[],
245
+ enum_types=[],
246
+ options=None,
247
+ is_extendable=False,
248
+ syntax='proto2',
249
+ extension_ranges=[],
250
+ oneofs=[],
251
+ serialized_start=49,
252
+ serialized_end=233,
253
+ )
254
+
255
+ _NEGATIVESAMPLERINMEMORY = _descriptor.Descriptor(
256
+ name='NegativeSamplerInMemory',
257
+ full_name='protos.NegativeSamplerInMemory',
258
+ filename=None,
259
+ file=DESCRIPTOR,
260
+ containing_type=None,
261
+ fields=[
262
+ _descriptor.FieldDescriptor(
263
+ name='input_path',
264
+ full_name='protos.NegativeSamplerInMemory.input_path',
265
+ index=0,
266
+ number=1,
267
+ type=9,
268
+ cpp_type=9,
269
+ label=2,
270
+ has_default_value=False,
271
+ default_value=_b('').decode('utf-8'),
272
+ message_type=None,
273
+ enum_type=None,
274
+ containing_type=None,
275
+ is_extension=False,
276
+ extension_scope=None,
277
+ options=None),
278
+ _descriptor.FieldDescriptor(
279
+ name='num_sample',
280
+ full_name='protos.NegativeSamplerInMemory.num_sample',
281
+ index=1,
282
+ number=2,
283
+ type=13,
284
+ cpp_type=3,
285
+ label=2,
286
+ has_default_value=False,
287
+ default_value=0,
288
+ message_type=None,
289
+ enum_type=None,
290
+ containing_type=None,
291
+ is_extension=False,
292
+ extension_scope=None,
293
+ options=None),
294
+ _descriptor.FieldDescriptor(
295
+ name='attr_fields',
296
+ full_name='protos.NegativeSamplerInMemory.attr_fields',
297
+ index=2,
298
+ number=3,
299
+ type=9,
300
+ cpp_type=9,
301
+ label=3,
302
+ has_default_value=False,
303
+ default_value=[],
304
+ message_type=None,
305
+ enum_type=None,
306
+ containing_type=None,
307
+ is_extension=False,
308
+ extension_scope=None,
309
+ options=None),
310
+ _descriptor.FieldDescriptor(
311
+ name='item_id_field',
312
+ full_name='protos.NegativeSamplerInMemory.item_id_field',
313
+ index=3,
314
+ number=4,
315
+ type=9,
316
+ cpp_type=9,
317
+ label=2,
318
+ has_default_value=False,
319
+ default_value=_b('').decode('utf-8'),
320
+ message_type=None,
321
+ enum_type=None,
322
+ containing_type=None,
323
+ is_extension=False,
324
+ extension_scope=None,
325
+ options=None),
326
+ _descriptor.FieldDescriptor(
327
+ name='attr_delimiter',
328
+ full_name='protos.NegativeSamplerInMemory.attr_delimiter',
329
+ index=4,
330
+ number=5,
331
+ type=9,
332
+ cpp_type=9,
333
+ label=1,
334
+ has_default_value=True,
335
+ default_value=_b(':').decode('utf-8'),
336
+ message_type=None,
337
+ enum_type=None,
338
+ containing_type=None,
339
+ is_extension=False,
340
+ extension_scope=None,
341
+ options=None),
342
+ _descriptor.FieldDescriptor(
343
+ name='num_eval_sample',
344
+ full_name='protos.NegativeSamplerInMemory.num_eval_sample',
345
+ index=5,
346
+ number=6,
347
+ type=13,
348
+ cpp_type=3,
349
+ label=1,
350
+ has_default_value=True,
351
+ default_value=0,
352
+ message_type=None,
353
+ enum_type=None,
354
+ containing_type=None,
355
+ is_extension=False,
356
+ extension_scope=None,
357
+ options=None),
358
+ _descriptor.FieldDescriptor(
359
+ name='field_delimiter',
360
+ full_name='protos.NegativeSamplerInMemory.field_delimiter',
361
+ index=6,
362
+ number=7,
363
+ type=9,
364
+ cpp_type=9,
365
+ label=1,
366
+ has_default_value=True,
367
+ default_value=_b('\001').decode('utf-8'),
368
+ message_type=None,
369
+ enum_type=None,
370
+ containing_type=None,
371
+ is_extension=False,
372
+ extension_scope=None,
373
+ options=None),
374
+ ],
375
+ extensions=[],
376
+ nested_types=[],
377
+ enum_types=[],
378
+ options=None,
379
+ is_extendable=False,
380
+ syntax='proto2',
381
+ extension_ranges=[],
382
+ oneofs=[],
383
+ serialized_start=236,
384
+ serialized_end=428,
385
+ )
386
+
387
+ _NEGATIVESAMPLERV2 = _descriptor.Descriptor(
388
+ name='NegativeSamplerV2',
389
+ full_name='protos.NegativeSamplerV2',
390
+ filename=None,
391
+ file=DESCRIPTOR,
392
+ containing_type=None,
393
+ fields=[
394
+ _descriptor.FieldDescriptor(
395
+ name='user_input_path',
396
+ full_name='protos.NegativeSamplerV2.user_input_path',
397
+ index=0,
398
+ number=1,
399
+ type=9,
400
+ cpp_type=9,
401
+ label=2,
402
+ has_default_value=False,
403
+ default_value=_b('').decode('utf-8'),
404
+ message_type=None,
405
+ enum_type=None,
406
+ containing_type=None,
407
+ is_extension=False,
408
+ extension_scope=None,
409
+ options=None),
410
+ _descriptor.FieldDescriptor(
411
+ name='item_input_path',
412
+ full_name='protos.NegativeSamplerV2.item_input_path',
413
+ index=1,
414
+ number=2,
415
+ type=9,
416
+ cpp_type=9,
417
+ label=2,
418
+ has_default_value=False,
419
+ default_value=_b('').decode('utf-8'),
420
+ message_type=None,
421
+ enum_type=None,
422
+ containing_type=None,
423
+ is_extension=False,
424
+ extension_scope=None,
425
+ options=None),
426
+ _descriptor.FieldDescriptor(
427
+ name='pos_edge_input_path',
428
+ full_name='protos.NegativeSamplerV2.pos_edge_input_path',
429
+ index=2,
430
+ number=3,
431
+ type=9,
432
+ cpp_type=9,
433
+ label=2,
434
+ has_default_value=False,
435
+ default_value=_b('').decode('utf-8'),
436
+ message_type=None,
437
+ enum_type=None,
438
+ containing_type=None,
439
+ is_extension=False,
440
+ extension_scope=None,
441
+ options=None),
442
+ _descriptor.FieldDescriptor(
443
+ name='num_sample',
444
+ full_name='protos.NegativeSamplerV2.num_sample',
445
+ index=3,
446
+ number=4,
447
+ type=13,
448
+ cpp_type=3,
449
+ label=2,
450
+ has_default_value=False,
451
+ default_value=0,
452
+ message_type=None,
453
+ enum_type=None,
454
+ containing_type=None,
455
+ is_extension=False,
456
+ extension_scope=None,
457
+ options=None),
458
+ _descriptor.FieldDescriptor(
459
+ name='attr_fields',
460
+ full_name='protos.NegativeSamplerV2.attr_fields',
461
+ index=4,
462
+ number=5,
463
+ type=9,
464
+ cpp_type=9,
465
+ label=3,
466
+ has_default_value=False,
467
+ default_value=[],
468
+ message_type=None,
469
+ enum_type=None,
470
+ containing_type=None,
471
+ is_extension=False,
472
+ extension_scope=None,
473
+ options=None),
474
+ _descriptor.FieldDescriptor(
475
+ name='item_id_field',
476
+ full_name='protos.NegativeSamplerV2.item_id_field',
477
+ index=5,
478
+ number=6,
479
+ type=9,
480
+ cpp_type=9,
481
+ label=2,
482
+ has_default_value=False,
483
+ default_value=_b('').decode('utf-8'),
484
+ message_type=None,
485
+ enum_type=None,
486
+ containing_type=None,
487
+ is_extension=False,
488
+ extension_scope=None,
489
+ options=None),
490
+ _descriptor.FieldDescriptor(
491
+ name='user_id_field',
492
+ full_name='protos.NegativeSamplerV2.user_id_field',
493
+ index=6,
494
+ number=7,
495
+ type=9,
496
+ cpp_type=9,
497
+ label=2,
498
+ has_default_value=False,
499
+ default_value=_b('').decode('utf-8'),
500
+ message_type=None,
501
+ enum_type=None,
502
+ containing_type=None,
503
+ is_extension=False,
504
+ extension_scope=None,
505
+ options=None),
506
+ _descriptor.FieldDescriptor(
507
+ name='attr_delimiter',
508
+ full_name='protos.NegativeSamplerV2.attr_delimiter',
509
+ index=7,
510
+ number=8,
511
+ type=9,
512
+ cpp_type=9,
513
+ label=1,
514
+ has_default_value=True,
515
+ default_value=_b(':').decode('utf-8'),
516
+ message_type=None,
517
+ enum_type=None,
518
+ containing_type=None,
519
+ is_extension=False,
520
+ extension_scope=None,
521
+ options=None),
522
+ _descriptor.FieldDescriptor(
523
+ name='num_eval_sample',
524
+ full_name='protos.NegativeSamplerV2.num_eval_sample',
525
+ index=8,
526
+ number=9,
527
+ type=13,
528
+ cpp_type=3,
529
+ label=1,
530
+ has_default_value=True,
531
+ default_value=0,
532
+ message_type=None,
533
+ enum_type=None,
534
+ containing_type=None,
535
+ is_extension=False,
536
+ extension_scope=None,
537
+ options=None),
538
+ _descriptor.FieldDescriptor(
539
+ name='field_delimiter',
540
+ full_name='protos.NegativeSamplerV2.field_delimiter',
541
+ index=9,
542
+ number=10,
543
+ type=9,
544
+ cpp_type=9,
545
+ label=1,
546
+ has_default_value=True,
547
+ default_value=_b('\001').decode('utf-8'),
548
+ message_type=None,
549
+ enum_type=None,
550
+ containing_type=None,
551
+ is_extension=False,
552
+ extension_scope=None,
553
+ options=None),
554
+ ],
555
+ extensions=[],
556
+ nested_types=[],
557
+ enum_types=[],
558
+ options=None,
559
+ is_extendable=False,
560
+ syntax='proto2',
561
+ extension_ranges=[],
562
+ oneofs=[],
563
+ serialized_start=431,
564
+ serialized_end=699,
565
+ )
566
+
567
+ _HARDNEGATIVESAMPLER = _descriptor.Descriptor(
568
+ name='HardNegativeSampler',
569
+ full_name='protos.HardNegativeSampler',
570
+ filename=None,
571
+ file=DESCRIPTOR,
572
+ containing_type=None,
573
+ fields=[
574
+ _descriptor.FieldDescriptor(
575
+ name='user_input_path',
576
+ full_name='protos.HardNegativeSampler.user_input_path',
577
+ index=0,
578
+ number=1,
579
+ type=9,
580
+ cpp_type=9,
581
+ label=2,
582
+ has_default_value=False,
583
+ default_value=_b('').decode('utf-8'),
584
+ message_type=None,
585
+ enum_type=None,
586
+ containing_type=None,
587
+ is_extension=False,
588
+ extension_scope=None,
589
+ options=None),
590
+ _descriptor.FieldDescriptor(
591
+ name='item_input_path',
592
+ full_name='protos.HardNegativeSampler.item_input_path',
593
+ index=1,
594
+ number=2,
595
+ type=9,
596
+ cpp_type=9,
597
+ label=2,
598
+ has_default_value=False,
599
+ default_value=_b('').decode('utf-8'),
600
+ message_type=None,
601
+ enum_type=None,
602
+ containing_type=None,
603
+ is_extension=False,
604
+ extension_scope=None,
605
+ options=None),
606
+ _descriptor.FieldDescriptor(
607
+ name='hard_neg_edge_input_path',
608
+ full_name='protos.HardNegativeSampler.hard_neg_edge_input_path',
609
+ index=2,
610
+ number=3,
611
+ type=9,
612
+ cpp_type=9,
613
+ label=2,
614
+ has_default_value=False,
615
+ default_value=_b('').decode('utf-8'),
616
+ message_type=None,
617
+ enum_type=None,
618
+ containing_type=None,
619
+ is_extension=False,
620
+ extension_scope=None,
621
+ options=None),
622
+ _descriptor.FieldDescriptor(
623
+ name='num_sample',
624
+ full_name='protos.HardNegativeSampler.num_sample',
625
+ index=3,
626
+ number=4,
627
+ type=13,
628
+ cpp_type=3,
629
+ label=2,
630
+ has_default_value=False,
631
+ default_value=0,
632
+ message_type=None,
633
+ enum_type=None,
634
+ containing_type=None,
635
+ is_extension=False,
636
+ extension_scope=None,
637
+ options=None),
638
+ _descriptor.FieldDescriptor(
639
+ name='num_hard_sample',
640
+ full_name='protos.HardNegativeSampler.num_hard_sample',
641
+ index=4,
642
+ number=5,
643
+ type=13,
644
+ cpp_type=3,
645
+ label=2,
646
+ has_default_value=False,
647
+ default_value=0,
648
+ message_type=None,
649
+ enum_type=None,
650
+ containing_type=None,
651
+ is_extension=False,
652
+ extension_scope=None,
653
+ options=None),
654
+ _descriptor.FieldDescriptor(
655
+ name='attr_fields',
656
+ full_name='protos.HardNegativeSampler.attr_fields',
657
+ index=5,
658
+ number=6,
659
+ type=9,
660
+ cpp_type=9,
661
+ label=3,
662
+ has_default_value=False,
663
+ default_value=[],
664
+ message_type=None,
665
+ enum_type=None,
666
+ containing_type=None,
667
+ is_extension=False,
668
+ extension_scope=None,
669
+ options=None),
670
+ _descriptor.FieldDescriptor(
671
+ name='item_id_field',
672
+ full_name='protos.HardNegativeSampler.item_id_field',
673
+ index=6,
674
+ number=7,
675
+ type=9,
676
+ cpp_type=9,
677
+ label=2,
678
+ has_default_value=False,
679
+ default_value=_b('').decode('utf-8'),
680
+ message_type=None,
681
+ enum_type=None,
682
+ containing_type=None,
683
+ is_extension=False,
684
+ extension_scope=None,
685
+ options=None),
686
+ _descriptor.FieldDescriptor(
687
+ name='user_id_field',
688
+ full_name='protos.HardNegativeSampler.user_id_field',
689
+ index=7,
690
+ number=8,
691
+ type=9,
692
+ cpp_type=9,
693
+ label=2,
694
+ has_default_value=False,
695
+ default_value=_b('').decode('utf-8'),
696
+ message_type=None,
697
+ enum_type=None,
698
+ containing_type=None,
699
+ is_extension=False,
700
+ extension_scope=None,
701
+ options=None),
702
+ _descriptor.FieldDescriptor(
703
+ name='attr_delimiter',
704
+ full_name='protos.HardNegativeSampler.attr_delimiter',
705
+ index=8,
706
+ number=9,
707
+ type=9,
708
+ cpp_type=9,
709
+ label=1,
710
+ has_default_value=True,
711
+ default_value=_b(':').decode('utf-8'),
712
+ message_type=None,
713
+ enum_type=None,
714
+ containing_type=None,
715
+ is_extension=False,
716
+ extension_scope=None,
717
+ options=None),
718
+ _descriptor.FieldDescriptor(
719
+ name='num_eval_sample',
720
+ full_name='protos.HardNegativeSampler.num_eval_sample',
721
+ index=9,
722
+ number=10,
723
+ type=13,
724
+ cpp_type=3,
725
+ label=1,
726
+ has_default_value=True,
727
+ default_value=0,
728
+ message_type=None,
729
+ enum_type=None,
730
+ containing_type=None,
731
+ is_extension=False,
732
+ extension_scope=None,
733
+ options=None),
734
+ _descriptor.FieldDescriptor(
735
+ name='field_delimiter',
736
+ full_name='protos.HardNegativeSampler.field_delimiter',
737
+ index=10,
738
+ number=11,
739
+ type=9,
740
+ cpp_type=9,
741
+ label=1,
742
+ has_default_value=True,
743
+ default_value=_b('\001').decode('utf-8'),
744
+ message_type=None,
745
+ enum_type=None,
746
+ containing_type=None,
747
+ is_extension=False,
748
+ extension_scope=None,
749
+ options=None),
750
+ ],
751
+ extensions=[],
752
+ nested_types=[],
753
+ enum_types=[],
754
+ options=None,
755
+ is_extendable=False,
756
+ syntax='proto2',
757
+ extension_ranges=[],
758
+ oneofs=[],
759
+ serialized_start=702,
760
+ serialized_end=1002,
761
+ )
762
+
763
+ _HARDNEGATIVESAMPLERV2 = _descriptor.Descriptor(
764
+ name='HardNegativeSamplerV2',
765
+ full_name='protos.HardNegativeSamplerV2',
766
+ filename=None,
767
+ file=DESCRIPTOR,
768
+ containing_type=None,
769
+ fields=[
770
+ _descriptor.FieldDescriptor(
771
+ name='user_input_path',
772
+ full_name='protos.HardNegativeSamplerV2.user_input_path',
773
+ index=0,
774
+ number=1,
775
+ type=9,
776
+ cpp_type=9,
777
+ label=2,
778
+ has_default_value=False,
779
+ default_value=_b('').decode('utf-8'),
780
+ message_type=None,
781
+ enum_type=None,
782
+ containing_type=None,
783
+ is_extension=False,
784
+ extension_scope=None,
785
+ options=None),
786
+ _descriptor.FieldDescriptor(
787
+ name='item_input_path',
788
+ full_name='protos.HardNegativeSamplerV2.item_input_path',
789
+ index=1,
790
+ number=2,
791
+ type=9,
792
+ cpp_type=9,
793
+ label=2,
794
+ has_default_value=False,
795
+ default_value=_b('').decode('utf-8'),
796
+ message_type=None,
797
+ enum_type=None,
798
+ containing_type=None,
799
+ is_extension=False,
800
+ extension_scope=None,
801
+ options=None),
802
+ _descriptor.FieldDescriptor(
803
+ name='pos_edge_input_path',
804
+ full_name='protos.HardNegativeSamplerV2.pos_edge_input_path',
805
+ index=2,
806
+ number=3,
807
+ type=9,
808
+ cpp_type=9,
809
+ label=2,
810
+ has_default_value=False,
811
+ default_value=_b('').decode('utf-8'),
812
+ message_type=None,
813
+ enum_type=None,
814
+ containing_type=None,
815
+ is_extension=False,
816
+ extension_scope=None,
817
+ options=None),
818
+ _descriptor.FieldDescriptor(
819
+ name='hard_neg_edge_input_path',
820
+ full_name='protos.HardNegativeSamplerV2.hard_neg_edge_input_path',
821
+ index=3,
822
+ number=4,
823
+ type=9,
824
+ cpp_type=9,
825
+ label=2,
826
+ has_default_value=False,
827
+ default_value=_b('').decode('utf-8'),
828
+ message_type=None,
829
+ enum_type=None,
830
+ containing_type=None,
831
+ is_extension=False,
832
+ extension_scope=None,
833
+ options=None),
834
+ _descriptor.FieldDescriptor(
835
+ name='num_sample',
836
+ full_name='protos.HardNegativeSamplerV2.num_sample',
837
+ index=4,
838
+ number=5,
839
+ type=13,
840
+ cpp_type=3,
841
+ label=2,
842
+ has_default_value=False,
843
+ default_value=0,
844
+ message_type=None,
845
+ enum_type=None,
846
+ containing_type=None,
847
+ is_extension=False,
848
+ extension_scope=None,
849
+ options=None),
850
+ _descriptor.FieldDescriptor(
851
+ name='num_hard_sample',
852
+ full_name='protos.HardNegativeSamplerV2.num_hard_sample',
853
+ index=5,
854
+ number=6,
855
+ type=13,
856
+ cpp_type=3,
857
+ label=2,
858
+ has_default_value=False,
859
+ default_value=0,
860
+ message_type=None,
861
+ enum_type=None,
862
+ containing_type=None,
863
+ is_extension=False,
864
+ extension_scope=None,
865
+ options=None),
866
+ _descriptor.FieldDescriptor(
867
+ name='attr_fields',
868
+ full_name='protos.HardNegativeSamplerV2.attr_fields',
869
+ index=6,
870
+ number=7,
871
+ type=9,
872
+ cpp_type=9,
873
+ label=3,
874
+ has_default_value=False,
875
+ default_value=[],
876
+ message_type=None,
877
+ enum_type=None,
878
+ containing_type=None,
879
+ is_extension=False,
880
+ extension_scope=None,
881
+ options=None),
882
+ _descriptor.FieldDescriptor(
883
+ name='item_id_field',
884
+ full_name='protos.HardNegativeSamplerV2.item_id_field',
885
+ index=7,
886
+ number=8,
887
+ type=9,
888
+ cpp_type=9,
889
+ label=2,
890
+ has_default_value=False,
891
+ default_value=_b('').decode('utf-8'),
892
+ message_type=None,
893
+ enum_type=None,
894
+ containing_type=None,
895
+ is_extension=False,
896
+ extension_scope=None,
897
+ options=None),
898
+ _descriptor.FieldDescriptor(
899
+ name='user_id_field',
900
+ full_name='protos.HardNegativeSamplerV2.user_id_field',
901
+ index=8,
902
+ number=9,
903
+ type=9,
904
+ cpp_type=9,
905
+ label=2,
906
+ has_default_value=False,
907
+ default_value=_b('').decode('utf-8'),
908
+ message_type=None,
909
+ enum_type=None,
910
+ containing_type=None,
911
+ is_extension=False,
912
+ extension_scope=None,
913
+ options=None),
914
+ _descriptor.FieldDescriptor(
915
+ name='attr_delimiter',
916
+ full_name='protos.HardNegativeSamplerV2.attr_delimiter',
917
+ index=9,
918
+ number=10,
919
+ type=9,
920
+ cpp_type=9,
921
+ label=1,
922
+ has_default_value=True,
923
+ default_value=_b(':').decode('utf-8'),
924
+ message_type=None,
925
+ enum_type=None,
926
+ containing_type=None,
927
+ is_extension=False,
928
+ extension_scope=None,
929
+ options=None),
930
+ _descriptor.FieldDescriptor(
931
+ name='num_eval_sample',
932
+ full_name='protos.HardNegativeSamplerV2.num_eval_sample',
933
+ index=10,
934
+ number=11,
935
+ type=13,
936
+ cpp_type=3,
937
+ label=1,
938
+ has_default_value=True,
939
+ default_value=0,
940
+ message_type=None,
941
+ enum_type=None,
942
+ containing_type=None,
943
+ is_extension=False,
944
+ extension_scope=None,
945
+ options=None),
946
+ _descriptor.FieldDescriptor(
947
+ name='field_delimiter',
948
+ full_name='protos.HardNegativeSamplerV2.field_delimiter',
949
+ index=11,
950
+ number=12,
951
+ type=9,
952
+ cpp_type=9,
953
+ label=1,
954
+ has_default_value=True,
955
+ default_value=_b('\001').decode('utf-8'),
956
+ message_type=None,
957
+ enum_type=None,
958
+ containing_type=None,
959
+ is_extension=False,
960
+ extension_scope=None,
961
+ options=None),
962
+ ],
963
+ extensions=[],
964
+ nested_types=[],
965
+ enum_types=[],
966
+ options=None,
967
+ is_extendable=False,
968
+ syntax='proto2',
969
+ extension_ranges=[],
970
+ oneofs=[],
971
+ serialized_start=1005,
972
+ serialized_end=1336,
973
+ )
974
+
975
+ _DATASETCONFIG_FIELD = _descriptor.Descriptor(
976
+ name='Field',
977
+ full_name='protos.DatasetConfig.Field',
978
+ filename=None,
979
+ file=DESCRIPTOR,
980
+ containing_type=None,
981
+ fields=[
982
+ _descriptor.FieldDescriptor(
983
+ name='input_name',
984
+ full_name='protos.DatasetConfig.Field.input_name',
985
+ index=0,
986
+ number=1,
987
+ type=9,
988
+ cpp_type=9,
989
+ label=2,
990
+ has_default_value=False,
991
+ default_value=_b('').decode('utf-8'),
992
+ message_type=None,
993
+ enum_type=None,
994
+ containing_type=None,
995
+ is_extension=False,
996
+ extension_scope=None,
997
+ options=None),
998
+ _descriptor.FieldDescriptor(
999
+ name='input_type',
1000
+ full_name='protos.DatasetConfig.Field.input_type',
1001
+ index=1,
1002
+ number=2,
1003
+ type=14,
1004
+ cpp_type=8,
1005
+ label=2,
1006
+ has_default_value=True,
1007
+ default_value=2,
1008
+ message_type=None,
1009
+ enum_type=None,
1010
+ containing_type=None,
1011
+ is_extension=False,
1012
+ extension_scope=None,
1013
+ options=None),
1014
+ _descriptor.FieldDescriptor(
1015
+ name='default_val',
1016
+ full_name='protos.DatasetConfig.Field.default_val',
1017
+ index=2,
1018
+ number=3,
1019
+ type=9,
1020
+ cpp_type=9,
1021
+ label=1,
1022
+ has_default_value=False,
1023
+ default_value=_b('').decode('utf-8'),
1024
+ message_type=None,
1025
+ enum_type=None,
1026
+ containing_type=None,
1027
+ is_extension=False,
1028
+ extension_scope=None,
1029
+ options=None),
1030
+ _descriptor.FieldDescriptor(
1031
+ name='input_dim',
1032
+ full_name='protos.DatasetConfig.Field.input_dim',
1033
+ index=3,
1034
+ number=4,
1035
+ type=13,
1036
+ cpp_type=3,
1037
+ label=1,
1038
+ has_default_value=True,
1039
+ default_value=1,
1040
+ message_type=None,
1041
+ enum_type=None,
1042
+ containing_type=None,
1043
+ is_extension=False,
1044
+ extension_scope=None,
1045
+ options=None),
1046
+ _descriptor.FieldDescriptor(
1047
+ name='input_shape',
1048
+ full_name='protos.DatasetConfig.Field.input_shape',
1049
+ index=4,
1050
+ number=5,
1051
+ type=13,
1052
+ cpp_type=3,
1053
+ label=1,
1054
+ has_default_value=True,
1055
+ default_value=1,
1056
+ message_type=None,
1057
+ enum_type=None,
1058
+ containing_type=None,
1059
+ is_extension=False,
1060
+ extension_scope=None,
1061
+ options=None),
1062
+ _descriptor.FieldDescriptor(
1063
+ name='user_define_fn',
1064
+ full_name='protos.DatasetConfig.Field.user_define_fn',
1065
+ index=5,
1066
+ number=6,
1067
+ type=9,
1068
+ cpp_type=9,
1069
+ label=1,
1070
+ has_default_value=False,
1071
+ default_value=_b('').decode('utf-8'),
1072
+ message_type=None,
1073
+ enum_type=None,
1074
+ containing_type=None,
1075
+ is_extension=False,
1076
+ extension_scope=None,
1077
+ options=None),
1078
+ _descriptor.FieldDescriptor(
1079
+ name='user_define_fn_path',
1080
+ full_name='protos.DatasetConfig.Field.user_define_fn_path',
1081
+ index=6,
1082
+ number=7,
1083
+ type=9,
1084
+ cpp_type=9,
1085
+ label=1,
1086
+ has_default_value=False,
1087
+ default_value=_b('').decode('utf-8'),
1088
+ message_type=None,
1089
+ enum_type=None,
1090
+ containing_type=None,
1091
+ is_extension=False,
1092
+ extension_scope=None,
1093
+ options=None),
1094
+ _descriptor.FieldDescriptor(
1095
+ name='user_define_fn_res_type',
1096
+ full_name='protos.DatasetConfig.Field.user_define_fn_res_type',
1097
+ index=7,
1098
+ number=8,
1099
+ type=14,
1100
+ cpp_type=8,
1101
+ label=1,
1102
+ has_default_value=False,
1103
+ default_value=0,
1104
+ message_type=None,
1105
+ enum_type=None,
1106
+ containing_type=None,
1107
+ is_extension=False,
1108
+ extension_scope=None,
1109
+ options=None),
1110
+ _descriptor.FieldDescriptor(
1111
+ name='ignore_val',
1112
+ full_name='protos.DatasetConfig.Field.ignore_val',
1113
+ index=8,
1114
+ number=9,
1115
+ type=9,
1116
+ cpp_type=9,
1117
+ label=1,
1118
+ has_default_value=False,
1119
+ default_value=_b('').decode('utf-8'),
1120
+ message_type=None,
1121
+ enum_type=None,
1122
+ containing_type=None,
1123
+ is_extension=False,
1124
+ extension_scope=None,
1125
+ options=None),
1126
+ ],
1127
+ extensions=[],
1128
+ nested_types=[],
1129
+ enum_types=[],
1130
+ options=None,
1131
+ is_extendable=False,
1132
+ syntax='proto2',
1133
+ extension_ranges=[],
1134
+ oneofs=[],
1135
+ serialized_start=2583,
1136
+ serialized_end=2877,
1137
+ )
1138
+
1139
+ _DATASETCONFIG_LABELFUNCTION = _descriptor.Descriptor(
1140
+ name='LabelFunction',
1141
+ full_name='protos.DatasetConfig.LabelFunction',
1142
+ filename=None,
1143
+ file=DESCRIPTOR,
1144
+ containing_type=None,
1145
+ fields=[
1146
+ _descriptor.FieldDescriptor(
1147
+ name='label_name',
1148
+ full_name='protos.DatasetConfig.LabelFunction.label_name',
1149
+ index=0,
1150
+ number=1,
1151
+ type=9,
1152
+ cpp_type=9,
1153
+ label=2,
1154
+ has_default_value=False,
1155
+ default_value=_b('').decode('utf-8'),
1156
+ message_type=None,
1157
+ enum_type=None,
1158
+ containing_type=None,
1159
+ is_extension=False,
1160
+ extension_scope=None,
1161
+ options=None),
1162
+ _descriptor.FieldDescriptor(
1163
+ name='label_func',
1164
+ full_name='protos.DatasetConfig.LabelFunction.label_func',
1165
+ index=1,
1166
+ number=2,
1167
+ type=9,
1168
+ cpp_type=9,
1169
+ label=2,
1170
+ has_default_value=False,
1171
+ default_value=_b('').decode('utf-8'),
1172
+ message_type=None,
1173
+ enum_type=None,
1174
+ containing_type=None,
1175
+ is_extension=False,
1176
+ extension_scope=None,
1177
+ options=None),
1178
+ ],
1179
+ extensions=[],
1180
+ nested_types=[],
1181
+ enum_types=[],
1182
+ options=None,
1183
+ is_extendable=False,
1184
+ syntax='proto2',
1185
+ extension_ranges=[],
1186
+ oneofs=[],
1187
+ serialized_start=2879,
1188
+ serialized_end=2934,
1189
+ )
1190
+
1191
+ _DATASETCONFIG = _descriptor.Descriptor(
1192
+ name='DatasetConfig',
1193
+ full_name='protos.DatasetConfig',
1194
+ filename=None,
1195
+ file=DESCRIPTOR,
1196
+ containing_type=None,
1197
+ fields=[
1198
+ _descriptor.FieldDescriptor(
1199
+ name='batch_size',
1200
+ full_name='protos.DatasetConfig.batch_size',
1201
+ index=0,
1202
+ number=1,
1203
+ type=13,
1204
+ cpp_type=3,
1205
+ label=1,
1206
+ has_default_value=True,
1207
+ default_value=32,
1208
+ message_type=None,
1209
+ enum_type=None,
1210
+ containing_type=None,
1211
+ is_extension=False,
1212
+ extension_scope=None,
1213
+ options=None),
1214
+ _descriptor.FieldDescriptor(
1215
+ name='auto_expand_input_fields',
1216
+ full_name='protos.DatasetConfig.auto_expand_input_fields',
1217
+ index=1,
1218
+ number=3,
1219
+ type=8,
1220
+ cpp_type=7,
1221
+ label=1,
1222
+ has_default_value=True,
1223
+ default_value=False,
1224
+ message_type=None,
1225
+ enum_type=None,
1226
+ containing_type=None,
1227
+ is_extension=False,
1228
+ extension_scope=None,
1229
+ options=None),
1230
+ _descriptor.FieldDescriptor(
1231
+ name='label_fields',
1232
+ full_name='protos.DatasetConfig.label_fields',
1233
+ index=2,
1234
+ number=4,
1235
+ type=9,
1236
+ cpp_type=9,
1237
+ label=3,
1238
+ has_default_value=False,
1239
+ default_value=[],
1240
+ message_type=None,
1241
+ enum_type=None,
1242
+ containing_type=None,
1243
+ is_extension=False,
1244
+ extension_scope=None,
1245
+ options=None),
1246
+ _descriptor.FieldDescriptor(
1247
+ name='label_sep',
1248
+ full_name='protos.DatasetConfig.label_sep',
1249
+ index=3,
1250
+ number=41,
1251
+ type=9,
1252
+ cpp_type=9,
1253
+ label=3,
1254
+ has_default_value=False,
1255
+ default_value=[],
1256
+ message_type=None,
1257
+ enum_type=None,
1258
+ containing_type=None,
1259
+ is_extension=False,
1260
+ extension_scope=None,
1261
+ options=None),
1262
+ _descriptor.FieldDescriptor(
1263
+ name='label_dim',
1264
+ full_name='protos.DatasetConfig.label_dim',
1265
+ index=4,
1266
+ number=42,
1267
+ type=13,
1268
+ cpp_type=3,
1269
+ label=3,
1270
+ has_default_value=False,
1271
+ default_value=[],
1272
+ message_type=None,
1273
+ enum_type=None,
1274
+ containing_type=None,
1275
+ is_extension=False,
1276
+ extension_scope=None,
1277
+ options=None),
1278
+ _descriptor.FieldDescriptor(
1279
+ name='extra_label_func',
1280
+ full_name='protos.DatasetConfig.extra_label_func',
1281
+ index=5,
1282
+ number=43,
1283
+ type=11,
1284
+ cpp_type=10,
1285
+ label=3,
1286
+ has_default_value=False,
1287
+ default_value=[],
1288
+ message_type=None,
1289
+ enum_type=None,
1290
+ containing_type=None,
1291
+ is_extension=False,
1292
+ extension_scope=None,
1293
+ options=None),
1294
+ _descriptor.FieldDescriptor(
1295
+ name='shuffle',
1296
+ full_name='protos.DatasetConfig.shuffle',
1297
+ index=6,
1298
+ number=5,
1299
+ type=8,
1300
+ cpp_type=7,
1301
+ label=1,
1302
+ has_default_value=True,
1303
+ default_value=True,
1304
+ message_type=None,
1305
+ enum_type=None,
1306
+ containing_type=None,
1307
+ is_extension=False,
1308
+ extension_scope=None,
1309
+ options=None),
1310
+ _descriptor.FieldDescriptor(
1311
+ name='shuffle_buffer_size',
1312
+ full_name='protos.DatasetConfig.shuffle_buffer_size',
1313
+ index=7,
1314
+ number=11,
1315
+ type=5,
1316
+ cpp_type=1,
1317
+ label=1,
1318
+ has_default_value=True,
1319
+ default_value=32,
1320
+ message_type=None,
1321
+ enum_type=None,
1322
+ containing_type=None,
1323
+ is_extension=False,
1324
+ extension_scope=None,
1325
+ options=None),
1326
+ _descriptor.FieldDescriptor(
1327
+ name='num_epochs',
1328
+ full_name='protos.DatasetConfig.num_epochs',
1329
+ index=8,
1330
+ number=6,
1331
+ type=13,
1332
+ cpp_type=3,
1333
+ label=1,
1334
+ has_default_value=True,
1335
+ default_value=0,
1336
+ message_type=None,
1337
+ enum_type=None,
1338
+ containing_type=None,
1339
+ is_extension=False,
1340
+ extension_scope=None,
1341
+ options=None),
1342
+ _descriptor.FieldDescriptor(
1343
+ name='prefetch_size',
1344
+ full_name='protos.DatasetConfig.prefetch_size',
1345
+ index=9,
1346
+ number=7,
1347
+ type=13,
1348
+ cpp_type=3,
1349
+ label=1,
1350
+ has_default_value=True,
1351
+ default_value=32,
1352
+ message_type=None,
1353
+ enum_type=None,
1354
+ containing_type=None,
1355
+ is_extension=False,
1356
+ extension_scope=None,
1357
+ options=None),
1358
+ _descriptor.FieldDescriptor(
1359
+ name='shard',
1360
+ full_name='protos.DatasetConfig.shard',
1361
+ index=10,
1362
+ number=801,
1363
+ type=8,
1364
+ cpp_type=7,
1365
+ label=1,
1366
+ has_default_value=True,
1367
+ default_value=False,
1368
+ message_type=None,
1369
+ enum_type=None,
1370
+ containing_type=None,
1371
+ is_extension=False,
1372
+ extension_scope=None,
1373
+ options=None),
1374
+ _descriptor.FieldDescriptor(
1375
+ name='file_shard',
1376
+ full_name='protos.DatasetConfig.file_shard',
1377
+ index=11,
1378
+ number=802,
1379
+ type=8,
1380
+ cpp_type=7,
1381
+ label=1,
1382
+ has_default_value=True,
1383
+ default_value=False,
1384
+ message_type=None,
1385
+ enum_type=None,
1386
+ containing_type=None,
1387
+ is_extension=False,
1388
+ extension_scope=None,
1389
+ options=None),
1390
+ _descriptor.FieldDescriptor(
1391
+ name='input_type',
1392
+ full_name='protos.DatasetConfig.input_type',
1393
+ index=12,
1394
+ number=10,
1395
+ type=14,
1396
+ cpp_type=8,
1397
+ label=2,
1398
+ has_default_value=False,
1399
+ default_value=10,
1400
+ message_type=None,
1401
+ enum_type=None,
1402
+ containing_type=None,
1403
+ is_extension=False,
1404
+ extension_scope=None,
1405
+ options=None),
1406
+ _descriptor.FieldDescriptor(
1407
+ name='separator',
1408
+ full_name='protos.DatasetConfig.separator',
1409
+ index=13,
1410
+ number=12,
1411
+ type=9,
1412
+ cpp_type=9,
1413
+ label=1,
1414
+ has_default_value=True,
1415
+ default_value=_b(',').decode('utf-8'),
1416
+ message_type=None,
1417
+ enum_type=None,
1418
+ containing_type=None,
1419
+ is_extension=False,
1420
+ extension_scope=None,
1421
+ options=None),
1422
+ _descriptor.FieldDescriptor(
1423
+ name='num_parallel_calls',
1424
+ full_name='protos.DatasetConfig.num_parallel_calls',
1425
+ index=14,
1426
+ number=13,
1427
+ type=13,
1428
+ cpp_type=3,
1429
+ label=1,
1430
+ has_default_value=True,
1431
+ default_value=8,
1432
+ message_type=None,
1433
+ enum_type=None,
1434
+ containing_type=None,
1435
+ is_extension=False,
1436
+ extension_scope=None,
1437
+ options=None),
1438
+ _descriptor.FieldDescriptor(
1439
+ name='selected_cols',
1440
+ full_name='protos.DatasetConfig.selected_cols',
1441
+ index=15,
1442
+ number=14,
1443
+ type=9,
1444
+ cpp_type=9,
1445
+ label=1,
1446
+ has_default_value=True,
1447
+ default_value=_b('').decode('utf-8'),
1448
+ message_type=None,
1449
+ enum_type=None,
1450
+ containing_type=None,
1451
+ is_extension=False,
1452
+ extension_scope=None,
1453
+ options=None),
1454
+ _descriptor.FieldDescriptor(
1455
+ name='selected_col_types',
1456
+ full_name='protos.DatasetConfig.selected_col_types',
1457
+ index=16,
1458
+ number=15,
1459
+ type=9,
1460
+ cpp_type=9,
1461
+ label=1,
1462
+ has_default_value=True,
1463
+ default_value=_b('').decode('utf-8'),
1464
+ message_type=None,
1465
+ enum_type=None,
1466
+ containing_type=None,
1467
+ is_extension=False,
1468
+ extension_scope=None,
1469
+ options=None),
1470
+ _descriptor.FieldDescriptor(
1471
+ name='input_fields',
1472
+ full_name='protos.DatasetConfig.input_fields',
1473
+ index=17,
1474
+ number=16,
1475
+ type=11,
1476
+ cpp_type=10,
1477
+ label=3,
1478
+ has_default_value=False,
1479
+ default_value=[],
1480
+ message_type=None,
1481
+ enum_type=None,
1482
+ containing_type=None,
1483
+ is_extension=False,
1484
+ extension_scope=None,
1485
+ options=None),
1486
+ _descriptor.FieldDescriptor(
1487
+ name='rtp_separator',
1488
+ full_name='protos.DatasetConfig.rtp_separator',
1489
+ index=18,
1490
+ number=17,
1491
+ type=9,
1492
+ cpp_type=9,
1493
+ label=1,
1494
+ has_default_value=True,
1495
+ default_value=_b(';').decode('utf-8'),
1496
+ message_type=None,
1497
+ enum_type=None,
1498
+ containing_type=None,
1499
+ is_extension=False,
1500
+ extension_scope=None,
1501
+ options=None),
1502
+ _descriptor.FieldDescriptor(
1503
+ name='ignore_error',
1504
+ full_name='protos.DatasetConfig.ignore_error',
1505
+ index=19,
1506
+ number=18,
1507
+ type=8,
1508
+ cpp_type=7,
1509
+ label=1,
1510
+ has_default_value=True,
1511
+ default_value=False,
1512
+ message_type=None,
1513
+ enum_type=None,
1514
+ containing_type=None,
1515
+ is_extension=False,
1516
+ extension_scope=None,
1517
+ options=None),
1518
+ _descriptor.FieldDescriptor(
1519
+ name='pai_worker_queue',
1520
+ full_name='protos.DatasetConfig.pai_worker_queue',
1521
+ index=20,
1522
+ number=19,
1523
+ type=8,
1524
+ cpp_type=7,
1525
+ label=1,
1526
+ has_default_value=True,
1527
+ default_value=False,
1528
+ message_type=None,
1529
+ enum_type=None,
1530
+ containing_type=None,
1531
+ is_extension=False,
1532
+ extension_scope=None,
1533
+ options=None),
1534
+ _descriptor.FieldDescriptor(
1535
+ name='pai_worker_slice_num',
1536
+ full_name='protos.DatasetConfig.pai_worker_slice_num',
1537
+ index=21,
1538
+ number=20,
1539
+ type=5,
1540
+ cpp_type=1,
1541
+ label=1,
1542
+ has_default_value=True,
1543
+ default_value=100,
1544
+ message_type=None,
1545
+ enum_type=None,
1546
+ containing_type=None,
1547
+ is_extension=False,
1548
+ extension_scope=None,
1549
+ options=None),
1550
+ _descriptor.FieldDescriptor(
1551
+ name='chief_redundant',
1552
+ full_name='protos.DatasetConfig.chief_redundant',
1553
+ index=22,
1554
+ number=21,
1555
+ type=8,
1556
+ cpp_type=7,
1557
+ label=1,
1558
+ has_default_value=True,
1559
+ default_value=False,
1560
+ message_type=None,
1561
+ enum_type=None,
1562
+ containing_type=None,
1563
+ is_extension=False,
1564
+ extension_scope=None,
1565
+ options=None),
1566
+ _descriptor.FieldDescriptor(
1567
+ name='sample_weight',
1568
+ full_name='protos.DatasetConfig.sample_weight',
1569
+ index=23,
1570
+ number=22,
1571
+ type=9,
1572
+ cpp_type=9,
1573
+ label=1,
1574
+ has_default_value=False,
1575
+ default_value=_b('').decode('utf-8'),
1576
+ message_type=None,
1577
+ enum_type=None,
1578
+ containing_type=None,
1579
+ is_extension=False,
1580
+ extension_scope=None,
1581
+ options=None),
1582
+ _descriptor.FieldDescriptor(
1583
+ name='data_compression_type',
1584
+ full_name='protos.DatasetConfig.data_compression_type',
1585
+ index=24,
1586
+ number=23,
1587
+ type=9,
1588
+ cpp_type=9,
1589
+ label=1,
1590
+ has_default_value=True,
1591
+ default_value=_b('').decode('utf-8'),
1592
+ message_type=None,
1593
+ enum_type=None,
1594
+ containing_type=None,
1595
+ is_extension=False,
1596
+ extension_scope=None,
1597
+ options=None),
1598
+ _descriptor.FieldDescriptor(
1599
+ name='n_data_batch_tfrecord',
1600
+ full_name='protos.DatasetConfig.n_data_batch_tfrecord',
1601
+ index=25,
1602
+ number=24,
1603
+ type=13,
1604
+ cpp_type=3,
1605
+ label=1,
1606
+ has_default_value=False,
1607
+ default_value=0,
1608
+ message_type=None,
1609
+ enum_type=None,
1610
+ containing_type=None,
1611
+ is_extension=False,
1612
+ extension_scope=None,
1613
+ options=None),
1614
+ _descriptor.FieldDescriptor(
1615
+ name='with_header',
1616
+ full_name='protos.DatasetConfig.with_header',
1617
+ index=26,
1618
+ number=25,
1619
+ type=8,
1620
+ cpp_type=7,
1621
+ label=1,
1622
+ has_default_value=True,
1623
+ default_value=False,
1624
+ message_type=None,
1625
+ enum_type=None,
1626
+ containing_type=None,
1627
+ is_extension=False,
1628
+ extension_scope=None,
1629
+ options=None),
1630
+ _descriptor.FieldDescriptor(
1631
+ name='feature_fields',
1632
+ full_name='protos.DatasetConfig.feature_fields',
1633
+ index=27,
1634
+ number=26,
1635
+ type=9,
1636
+ cpp_type=9,
1637
+ label=3,
1638
+ has_default_value=False,
1639
+ default_value=[],
1640
+ message_type=None,
1641
+ enum_type=None,
1642
+ containing_type=None,
1643
+ is_extension=False,
1644
+ extension_scope=None,
1645
+ options=None),
1646
+ _descriptor.FieldDescriptor(
1647
+ name='negative_sampler',
1648
+ full_name='protos.DatasetConfig.negative_sampler',
1649
+ index=28,
1650
+ number=101,
1651
+ type=11,
1652
+ cpp_type=10,
1653
+ label=1,
1654
+ has_default_value=False,
1655
+ default_value=None,
1656
+ message_type=None,
1657
+ enum_type=None,
1658
+ containing_type=None,
1659
+ is_extension=False,
1660
+ extension_scope=None,
1661
+ options=None),
1662
+ _descriptor.FieldDescriptor(
1663
+ name='negative_sampler_v2',
1664
+ full_name='protos.DatasetConfig.negative_sampler_v2',
1665
+ index=29,
1666
+ number=102,
1667
+ type=11,
1668
+ cpp_type=10,
1669
+ label=1,
1670
+ has_default_value=False,
1671
+ default_value=None,
1672
+ message_type=None,
1673
+ enum_type=None,
1674
+ containing_type=None,
1675
+ is_extension=False,
1676
+ extension_scope=None,
1677
+ options=None),
1678
+ _descriptor.FieldDescriptor(
1679
+ name='hard_negative_sampler',
1680
+ full_name='protos.DatasetConfig.hard_negative_sampler',
1681
+ index=30,
1682
+ number=103,
1683
+ type=11,
1684
+ cpp_type=10,
1685
+ label=1,
1686
+ has_default_value=False,
1687
+ default_value=None,
1688
+ message_type=None,
1689
+ enum_type=None,
1690
+ containing_type=None,
1691
+ is_extension=False,
1692
+ extension_scope=None,
1693
+ options=None),
1694
+ _descriptor.FieldDescriptor(
1695
+ name='hard_negative_sampler_v2',
1696
+ full_name='protos.DatasetConfig.hard_negative_sampler_v2',
1697
+ index=31,
1698
+ number=104,
1699
+ type=11,
1700
+ cpp_type=10,
1701
+ label=1,
1702
+ has_default_value=False,
1703
+ default_value=None,
1704
+ message_type=None,
1705
+ enum_type=None,
1706
+ containing_type=None,
1707
+ is_extension=False,
1708
+ extension_scope=None,
1709
+ options=None),
1710
+ _descriptor.FieldDescriptor(
1711
+ name='negative_sampler_in_memory',
1712
+ full_name='protos.DatasetConfig.negative_sampler_in_memory',
1713
+ index=32,
1714
+ number=105,
1715
+ type=11,
1716
+ cpp_type=10,
1717
+ label=1,
1718
+ has_default_value=False,
1719
+ default_value=None,
1720
+ message_type=None,
1721
+ enum_type=None,
1722
+ containing_type=None,
1723
+ is_extension=False,
1724
+ extension_scope=None,
1725
+ options=None),
1726
+ _descriptor.FieldDescriptor(
1727
+ name='eval_batch_size',
1728
+ full_name='protos.DatasetConfig.eval_batch_size',
1729
+ index=33,
1730
+ number=1001,
1731
+ type=13,
1732
+ cpp_type=3,
1733
+ label=1,
1734
+ has_default_value=True,
1735
+ default_value=4096,
1736
+ message_type=None,
1737
+ enum_type=None,
1738
+ containing_type=None,
1739
+ is_extension=False,
1740
+ extension_scope=None,
1741
+ options=None),
1742
+ _descriptor.FieldDescriptor(
1743
+ name='drop_remainder',
1744
+ full_name='protos.DatasetConfig.drop_remainder',
1745
+ index=34,
1746
+ number=1002,
1747
+ type=8,
1748
+ cpp_type=7,
1749
+ label=1,
1750
+ has_default_value=True,
1751
+ default_value=False,
1752
+ message_type=None,
1753
+ enum_type=None,
1754
+ containing_type=None,
1755
+ is_extension=False,
1756
+ extension_scope=None,
1757
+ options=None),
1758
+ ],
1759
+ extensions=[],
1760
+ nested_types=[
1761
+ _DATASETCONFIG_FIELD,
1762
+ _DATASETCONFIG_LABELFUNCTION,
1763
+ ],
1764
+ enum_types=[
1765
+ _DATASETCONFIG_FIELDTYPE,
1766
+ _DATASETCONFIG_INPUTTYPE,
1767
+ ],
1768
+ options=None,
1769
+ is_extendable=False,
1770
+ syntax='proto2',
1771
+ extension_ranges=[],
1772
+ oneofs=[
1773
+ _descriptor.OneofDescriptor(
1774
+ name='sampler',
1775
+ full_name='protos.DatasetConfig.sampler',
1776
+ index=0,
1777
+ containing_type=None,
1778
+ fields=[]),
1779
+ ],
1780
+ serialized_start=1339,
1781
+ serialized_end=3428,
1782
+ )
1783
+
1784
+ _DATASETCONFIG_FIELD.fields_by_name[
1785
+ 'input_type'].enum_type = _DATASETCONFIG_FIELDTYPE
1786
+ _DATASETCONFIG_FIELD.fields_by_name[
1787
+ 'user_define_fn_res_type'].enum_type = _DATASETCONFIG_FIELDTYPE
1788
+ _DATASETCONFIG_FIELD.containing_type = _DATASETCONFIG
1789
+ _DATASETCONFIG_LABELFUNCTION.containing_type = _DATASETCONFIG
1790
+ _DATASETCONFIG.fields_by_name[
1791
+ 'extra_label_func'].message_type = _DATASETCONFIG_LABELFUNCTION
1792
+ _DATASETCONFIG.fields_by_name['input_type'].enum_type = _DATASETCONFIG_INPUTTYPE
1793
+ _DATASETCONFIG.fields_by_name[
1794
+ 'input_fields'].message_type = _DATASETCONFIG_FIELD
1795
+ _DATASETCONFIG.fields_by_name[
1796
+ 'negative_sampler'].message_type = _NEGATIVESAMPLER
1797
+ _DATASETCONFIG.fields_by_name[
1798
+ 'negative_sampler_v2'].message_type = _NEGATIVESAMPLERV2
1799
+ _DATASETCONFIG.fields_by_name[
1800
+ 'hard_negative_sampler'].message_type = _HARDNEGATIVESAMPLER
1801
+ _DATASETCONFIG.fields_by_name[
1802
+ 'hard_negative_sampler_v2'].message_type = _HARDNEGATIVESAMPLERV2
1803
+ _DATASETCONFIG.fields_by_name[
1804
+ 'negative_sampler_in_memory'].message_type = _NEGATIVESAMPLERINMEMORY
1805
+ _DATASETCONFIG_FIELDTYPE.containing_type = _DATASETCONFIG
1806
+ _DATASETCONFIG_INPUTTYPE.containing_type = _DATASETCONFIG
1807
+ _DATASETCONFIG.oneofs_by_name['sampler'].fields.append(
1808
+ _DATASETCONFIG.fields_by_name['negative_sampler'])
1809
+ _DATASETCONFIG.fields_by_name[
1810
+ 'negative_sampler'].containing_oneof = _DATASETCONFIG.oneofs_by_name[
1811
+ 'sampler']
1812
+ _DATASETCONFIG.oneofs_by_name['sampler'].fields.append(
1813
+ _DATASETCONFIG.fields_by_name['negative_sampler_v2'])
1814
+ _DATASETCONFIG.fields_by_name[
1815
+ 'negative_sampler_v2'].containing_oneof = _DATASETCONFIG.oneofs_by_name[
1816
+ 'sampler']
1817
+ _DATASETCONFIG.oneofs_by_name['sampler'].fields.append(
1818
+ _DATASETCONFIG.fields_by_name['hard_negative_sampler'])
1819
+ _DATASETCONFIG.fields_by_name[
1820
+ 'hard_negative_sampler'].containing_oneof = _DATASETCONFIG.oneofs_by_name[
1821
+ 'sampler']
1822
+ _DATASETCONFIG.oneofs_by_name['sampler'].fields.append(
1823
+ _DATASETCONFIG.fields_by_name['hard_negative_sampler_v2'])
1824
+ _DATASETCONFIG.fields_by_name[
1825
+ 'hard_negative_sampler_v2'].containing_oneof = _DATASETCONFIG.oneofs_by_name[
1826
+ 'sampler']
1827
+ _DATASETCONFIG.oneofs_by_name['sampler'].fields.append(
1828
+ _DATASETCONFIG.fields_by_name['negative_sampler_in_memory'])
1829
+ _DATASETCONFIG.fields_by_name[
1830
+ 'negative_sampler_in_memory'].containing_oneof = _DATASETCONFIG.oneofs_by_name[
1831
+ 'sampler']
1832
+ DESCRIPTOR.message_types_by_name['NegativeSampler'] = _NEGATIVESAMPLER
1833
+ DESCRIPTOR.message_types_by_name[
1834
+ 'NegativeSamplerInMemory'] = _NEGATIVESAMPLERINMEMORY
1835
+ DESCRIPTOR.message_types_by_name['NegativeSamplerV2'] = _NEGATIVESAMPLERV2
1836
+ DESCRIPTOR.message_types_by_name['HardNegativeSampler'] = _HARDNEGATIVESAMPLER
1837
+ DESCRIPTOR.message_types_by_name[
1838
+ 'HardNegativeSamplerV2'] = _HARDNEGATIVESAMPLERV2
1839
+ DESCRIPTOR.message_types_by_name['DatasetConfig'] = _DATASETCONFIG
1840
+ _sym_db.RegisterFileDescriptor(DESCRIPTOR)
1841
+
1842
+ NegativeSampler = _reflection.GeneratedProtocolMessageType(
1843
+ 'NegativeSampler',
1844
+ (_message.Message,),
1845
+ dict(
1846
+ DESCRIPTOR=_NEGATIVESAMPLER,
1847
+ __module__='easy_rec.python.protos.dataset_pb2'
1848
+ # @@protoc_insertion_point(class_scope:protos.NegativeSampler)
1849
+ ))
1850
+ _sym_db.RegisterMessage(NegativeSampler)
1851
+
1852
+ NegativeSamplerInMemory = _reflection.GeneratedProtocolMessageType(
1853
+ 'NegativeSamplerInMemory',
1854
+ (_message.Message,),
1855
+ dict(
1856
+ DESCRIPTOR=_NEGATIVESAMPLERINMEMORY,
1857
+ __module__='easy_rec.python.protos.dataset_pb2'
1858
+ # @@protoc_insertion_point(class_scope:protos.NegativeSamplerInMemory)
1859
+ ))
1860
+ _sym_db.RegisterMessage(NegativeSamplerInMemory)
1861
+
1862
+ NegativeSamplerV2 = _reflection.GeneratedProtocolMessageType(
1863
+ 'NegativeSamplerV2',
1864
+ (_message.Message,),
1865
+ dict(
1866
+ DESCRIPTOR=_NEGATIVESAMPLERV2,
1867
+ __module__='easy_rec.python.protos.dataset_pb2'
1868
+ # @@protoc_insertion_point(class_scope:protos.NegativeSamplerV2)
1869
+ ))
1870
+ _sym_db.RegisterMessage(NegativeSamplerV2)
1871
+
1872
+ HardNegativeSampler = _reflection.GeneratedProtocolMessageType(
1873
+ 'HardNegativeSampler',
1874
+ (_message.Message,),
1875
+ dict(
1876
+ DESCRIPTOR=_HARDNEGATIVESAMPLER,
1877
+ __module__='easy_rec.python.protos.dataset_pb2'
1878
+ # @@protoc_insertion_point(class_scope:protos.HardNegativeSampler)
1879
+ ))
1880
+ _sym_db.RegisterMessage(HardNegativeSampler)
1881
+
1882
+ HardNegativeSamplerV2 = _reflection.GeneratedProtocolMessageType(
1883
+ 'HardNegativeSamplerV2',
1884
+ (_message.Message,),
1885
+ dict(
1886
+ DESCRIPTOR=_HARDNEGATIVESAMPLERV2,
1887
+ __module__='easy_rec.python.protos.dataset_pb2'
1888
+ # @@protoc_insertion_point(class_scope:protos.HardNegativeSamplerV2)
1889
+ ))
1890
+ _sym_db.RegisterMessage(HardNegativeSamplerV2)
1891
+
1892
+ DatasetConfig = _reflection.GeneratedProtocolMessageType(
1893
+ 'DatasetConfig',
1894
+ (_message.Message,),
1895
+ dict(
1896
+ Field=_reflection.GeneratedProtocolMessageType(
1897
+ 'Field',
1898
+ (_message.Message,),
1899
+ dict(
1900
+ DESCRIPTOR=_DATASETCONFIG_FIELD,
1901
+ __module__='easy_rec.python.protos.dataset_pb2'
1902
+ # @@protoc_insertion_point(class_scope:protos.DatasetConfig.Field)
1903
+ )),
1904
+ LabelFunction=_reflection.GeneratedProtocolMessageType(
1905
+ 'LabelFunction',
1906
+ (_message.Message,),
1907
+ dict(
1908
+ DESCRIPTOR=_DATASETCONFIG_LABELFUNCTION,
1909
+ __module__='easy_rec.python.protos.dataset_pb2'
1910
+ # @@protoc_insertion_point(class_scope:protos.DatasetConfig.LabelFunction)
1911
+ )),
1912
+ DESCRIPTOR=_DATASETCONFIG,
1913
+ __module__='easy_rec.python.protos.dataset_pb2'
1914
+ # @@protoc_insertion_point(class_scope:protos.DatasetConfig)
1915
+ ))
1916
+ _sym_db.RegisterMessage(DatasetConfig)
1917
+ _sym_db.RegisterMessage(DatasetConfig.Field)
1918
+ _sym_db.RegisterMessage(DatasetConfig.LabelFunction)
1919
+
1920
+ # @@protoc_insertion_point(module_scope)