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.
- easy_cs_rec_custommodel-0.8.6.dist-info/LICENSE +203 -0
- easy_cs_rec_custommodel-0.8.6.dist-info/METADATA +48 -0
- easy_cs_rec_custommodel-0.8.6.dist-info/RECORD +336 -0
- easy_cs_rec_custommodel-0.8.6.dist-info/WHEEL +6 -0
- easy_cs_rec_custommodel-0.8.6.dist-info/top_level.txt +2 -0
- easy_rec/__init__.py +114 -0
- easy_rec/python/__init__.py +0 -0
- easy_rec/python/builders/__init__.py +0 -0
- easy_rec/python/builders/hyperparams_builder.py +78 -0
- easy_rec/python/builders/loss_builder.py +333 -0
- easy_rec/python/builders/optimizer_builder.py +211 -0
- easy_rec/python/builders/strategy_builder.py +44 -0
- easy_rec/python/compat/__init__.py +0 -0
- easy_rec/python/compat/adam_s.py +245 -0
- easy_rec/python/compat/array_ops.py +229 -0
- easy_rec/python/compat/dynamic_variable.py +542 -0
- easy_rec/python/compat/early_stopping.py +653 -0
- easy_rec/python/compat/embedding_ops.py +162 -0
- easy_rec/python/compat/embedding_parallel_saver.py +316 -0
- easy_rec/python/compat/estimator_train.py +116 -0
- easy_rec/python/compat/exporter.py +473 -0
- easy_rec/python/compat/feature_column/__init__.py +0 -0
- easy_rec/python/compat/feature_column/feature_column.py +3675 -0
- easy_rec/python/compat/feature_column/feature_column_v2.py +5233 -0
- easy_rec/python/compat/feature_column/sequence_feature_column.py +648 -0
- easy_rec/python/compat/feature_column/utils.py +154 -0
- easy_rec/python/compat/layers.py +329 -0
- easy_rec/python/compat/ops.py +14 -0
- easy_rec/python/compat/optimizers.py +619 -0
- easy_rec/python/compat/queues.py +311 -0
- easy_rec/python/compat/regularizers.py +208 -0
- easy_rec/python/compat/sok_optimizer.py +440 -0
- easy_rec/python/compat/sync_replicas_optimizer.py +528 -0
- easy_rec/python/compat/weight_decay_optimizers.py +475 -0
- easy_rec/python/core/__init__.py +0 -0
- easy_rec/python/core/easyrec_metrics/__init__.py +24 -0
- easy_rec/python/core/easyrec_metrics/distribute_metrics_impl_pai.py +3702 -0
- easy_rec/python/core/easyrec_metrics/distribute_metrics_impl_tf.py +3768 -0
- easy_rec/python/core/learning_schedules.py +228 -0
- easy_rec/python/core/metrics.py +402 -0
- easy_rec/python/core/sampler.py +844 -0
- easy_rec/python/eval.py +102 -0
- easy_rec/python/export.py +150 -0
- easy_rec/python/feature_column/__init__.py +0 -0
- easy_rec/python/feature_column/feature_column.py +664 -0
- easy_rec/python/feature_column/feature_group.py +89 -0
- easy_rec/python/hpo/__init__.py +0 -0
- easy_rec/python/hpo/emr_hpo.py +140 -0
- easy_rec/python/hpo/generate_hpo_sql.py +71 -0
- easy_rec/python/hpo/pai_hpo.py +297 -0
- easy_rec/python/inference/__init__.py +0 -0
- easy_rec/python/inference/csv_predictor.py +189 -0
- easy_rec/python/inference/hive_parquet_predictor.py +200 -0
- easy_rec/python/inference/hive_predictor.py +166 -0
- easy_rec/python/inference/odps_predictor.py +70 -0
- easy_rec/python/inference/parquet_predictor.py +147 -0
- easy_rec/python/inference/parquet_predictor_v2.py +147 -0
- easy_rec/python/inference/predictor.py +621 -0
- easy_rec/python/inference/processor/__init__.py +0 -0
- easy_rec/python/inference/processor/test.py +170 -0
- easy_rec/python/inference/vector_retrieve.py +124 -0
- easy_rec/python/input/__init__.py +0 -0
- easy_rec/python/input/batch_tfrecord_input.py +117 -0
- easy_rec/python/input/criteo_binary_reader.py +259 -0
- easy_rec/python/input/criteo_input.py +107 -0
- easy_rec/python/input/csv_input.py +175 -0
- easy_rec/python/input/csv_input_ex.py +72 -0
- easy_rec/python/input/csv_input_v2.py +68 -0
- easy_rec/python/input/datahub_input.py +320 -0
- easy_rec/python/input/dummy_input.py +58 -0
- easy_rec/python/input/hive_input.py +123 -0
- easy_rec/python/input/hive_parquet_input.py +140 -0
- easy_rec/python/input/hive_rtp_input.py +174 -0
- easy_rec/python/input/input.py +1064 -0
- easy_rec/python/input/kafka_dataset.py +144 -0
- easy_rec/python/input/kafka_input.py +235 -0
- easy_rec/python/input/load_parquet.py +317 -0
- easy_rec/python/input/odps_input.py +101 -0
- easy_rec/python/input/odps_input_v2.py +110 -0
- easy_rec/python/input/odps_input_v3.py +132 -0
- easy_rec/python/input/odps_rtp_input.py +187 -0
- easy_rec/python/input/odps_rtp_input_v2.py +104 -0
- easy_rec/python/input/parquet_input.py +397 -0
- easy_rec/python/input/parquet_input_v2.py +180 -0
- easy_rec/python/input/parquet_input_v3.py +203 -0
- easy_rec/python/input/rtp_input.py +225 -0
- easy_rec/python/input/rtp_input_v2.py +145 -0
- easy_rec/python/input/tfrecord_input.py +100 -0
- easy_rec/python/layers/__init__.py +0 -0
- easy_rec/python/layers/backbone.py +571 -0
- easy_rec/python/layers/capsule_layer.py +176 -0
- easy_rec/python/layers/cmbf.py +390 -0
- easy_rec/python/layers/common_layers.py +192 -0
- easy_rec/python/layers/dnn.py +87 -0
- easy_rec/python/layers/embed_input_layer.py +25 -0
- easy_rec/python/layers/fm.py +26 -0
- easy_rec/python/layers/input_layer.py +396 -0
- easy_rec/python/layers/keras/__init__.py +34 -0
- easy_rec/python/layers/keras/activation.py +114 -0
- easy_rec/python/layers/keras/attention.py +267 -0
- easy_rec/python/layers/keras/auxiliary_loss.py +47 -0
- easy_rec/python/layers/keras/blocks.py +262 -0
- easy_rec/python/layers/keras/bst.py +119 -0
- easy_rec/python/layers/keras/custom_ops.py +250 -0
- easy_rec/python/layers/keras/data_augment.py +133 -0
- easy_rec/python/layers/keras/din.py +67 -0
- easy_rec/python/layers/keras/einsum_dense.py +598 -0
- easy_rec/python/layers/keras/embedding.py +81 -0
- easy_rec/python/layers/keras/fibinet.py +251 -0
- easy_rec/python/layers/keras/interaction.py +416 -0
- easy_rec/python/layers/keras/layer_norm.py +364 -0
- easy_rec/python/layers/keras/mask_net.py +166 -0
- easy_rec/python/layers/keras/multi_head_attention.py +717 -0
- easy_rec/python/layers/keras/multi_task.py +125 -0
- easy_rec/python/layers/keras/numerical_embedding.py +376 -0
- easy_rec/python/layers/keras/ppnet.py +194 -0
- easy_rec/python/layers/keras/transformer.py +192 -0
- easy_rec/python/layers/layer_norm.py +51 -0
- easy_rec/python/layers/mmoe.py +83 -0
- easy_rec/python/layers/multihead_attention.py +162 -0
- easy_rec/python/layers/multihead_cross_attention.py +749 -0
- easy_rec/python/layers/senet.py +73 -0
- easy_rec/python/layers/seq_input_layer.py +134 -0
- easy_rec/python/layers/sequence_feature_layer.py +249 -0
- easy_rec/python/layers/uniter.py +301 -0
- easy_rec/python/layers/utils.py +248 -0
- easy_rec/python/layers/variational_dropout_layer.py +130 -0
- easy_rec/python/loss/__init__.py +0 -0
- easy_rec/python/loss/circle_loss.py +82 -0
- easy_rec/python/loss/contrastive_loss.py +79 -0
- easy_rec/python/loss/f1_reweight_loss.py +38 -0
- easy_rec/python/loss/focal_loss.py +93 -0
- easy_rec/python/loss/jrc_loss.py +128 -0
- easy_rec/python/loss/listwise_loss.py +161 -0
- easy_rec/python/loss/multi_similarity.py +68 -0
- easy_rec/python/loss/pairwise_loss.py +307 -0
- easy_rec/python/loss/softmax_loss_with_negative_mining.py +110 -0
- easy_rec/python/loss/zero_inflated_lognormal.py +76 -0
- easy_rec/python/main.py +878 -0
- easy_rec/python/model/__init__.py +0 -0
- easy_rec/python/model/autoint.py +73 -0
- easy_rec/python/model/cmbf.py +47 -0
- easy_rec/python/model/collaborative_metric_learning.py +182 -0
- easy_rec/python/model/custom_model.py +323 -0
- easy_rec/python/model/dat.py +138 -0
- easy_rec/python/model/dbmtl.py +116 -0
- easy_rec/python/model/dcn.py +70 -0
- easy_rec/python/model/deepfm.py +106 -0
- easy_rec/python/model/dlrm.py +73 -0
- easy_rec/python/model/dropoutnet.py +207 -0
- easy_rec/python/model/dssm.py +154 -0
- easy_rec/python/model/dssm_senet.py +143 -0
- easy_rec/python/model/dummy_model.py +48 -0
- easy_rec/python/model/easy_rec_estimator.py +739 -0
- easy_rec/python/model/easy_rec_model.py +467 -0
- easy_rec/python/model/esmm.py +242 -0
- easy_rec/python/model/fm.py +63 -0
- easy_rec/python/model/match_model.py +357 -0
- easy_rec/python/model/mind.py +445 -0
- easy_rec/python/model/mmoe.py +70 -0
- easy_rec/python/model/multi_task_model.py +303 -0
- easy_rec/python/model/multi_tower.py +62 -0
- easy_rec/python/model/multi_tower_bst.py +190 -0
- easy_rec/python/model/multi_tower_din.py +130 -0
- easy_rec/python/model/multi_tower_recall.py +68 -0
- easy_rec/python/model/pdn.py +203 -0
- easy_rec/python/model/ple.py +120 -0
- easy_rec/python/model/rank_model.py +485 -0
- easy_rec/python/model/rocket_launching.py +203 -0
- easy_rec/python/model/simple_multi_task.py +54 -0
- easy_rec/python/model/uniter.py +46 -0
- easy_rec/python/model/wide_and_deep.py +121 -0
- easy_rec/python/ops/1.12/incr_record.so +0 -0
- easy_rec/python/ops/1.12/kafka.so +0 -0
- easy_rec/python/ops/1.12/libcustom_ops.so +0 -0
- easy_rec/python/ops/1.12/libembed_op.so +0 -0
- easy_rec/python/ops/1.12/libhiredis.so.1.0.0 +0 -0
- easy_rec/python/ops/1.12/librdkafka++.so.1 +0 -0
- easy_rec/python/ops/1.12/librdkafka.so.1 +0 -0
- easy_rec/python/ops/1.12/libredis++.so +0 -0
- easy_rec/python/ops/1.12/libredis++.so.1 +0 -0
- easy_rec/python/ops/1.12/libredis++.so.1.2.3 +0 -0
- easy_rec/python/ops/1.12/libstr_avx_op.so +0 -0
- easy_rec/python/ops/1.12/libwrite_sparse_kv.so +0 -0
- easy_rec/python/ops/1.15/incr_record.so +0 -0
- easy_rec/python/ops/1.15/kafka.so +0 -0
- easy_rec/python/ops/1.15/libcustom_ops.so +0 -0
- easy_rec/python/ops/1.15/libembed_op.so +0 -0
- easy_rec/python/ops/1.15/libhiredis.so.1.0.0 +0 -0
- easy_rec/python/ops/1.15/librdkafka++.so +0 -0
- easy_rec/python/ops/1.15/librdkafka++.so.1 +0 -0
- easy_rec/python/ops/1.15/librdkafka.so +0 -0
- easy_rec/python/ops/1.15/librdkafka.so.1 +0 -0
- easy_rec/python/ops/1.15/libredis++.so.1 +0 -0
- easy_rec/python/ops/1.15/libstr_avx_op.so +0 -0
- easy_rec/python/ops/2.12/libcustom_ops.so +0 -0
- easy_rec/python/ops/2.12/libload_embed.so +0 -0
- easy_rec/python/ops/2.12/libstr_avx_op.so +0 -0
- easy_rec/python/ops/__init__.py +0 -0
- easy_rec/python/ops/gen_kafka_ops.py +193 -0
- easy_rec/python/ops/gen_str_avx_op.py +28 -0
- easy_rec/python/ops/incr_record.py +30 -0
- easy_rec/python/predict.py +170 -0
- easy_rec/python/protos/__init__.py +0 -0
- easy_rec/python/protos/autoint_pb2.py +122 -0
- easy_rec/python/protos/backbone_pb2.py +1416 -0
- easy_rec/python/protos/cmbf_pb2.py +435 -0
- easy_rec/python/protos/collaborative_metric_learning_pb2.py +252 -0
- easy_rec/python/protos/custom_model_pb2.py +57 -0
- easy_rec/python/protos/dat_pb2.py +262 -0
- easy_rec/python/protos/data_source_pb2.py +422 -0
- easy_rec/python/protos/dataset_pb2.py +1920 -0
- easy_rec/python/protos/dbmtl_pb2.py +191 -0
- easy_rec/python/protos/dcn_pb2.py +197 -0
- easy_rec/python/protos/deepfm_pb2.py +163 -0
- easy_rec/python/protos/dlrm_pb2.py +163 -0
- easy_rec/python/protos/dnn_pb2.py +329 -0
- easy_rec/python/protos/dropoutnet_pb2.py +239 -0
- easy_rec/python/protos/dssm_pb2.py +262 -0
- easy_rec/python/protos/dssm_senet_pb2.py +282 -0
- easy_rec/python/protos/easy_rec_model_pb2.py +1672 -0
- easy_rec/python/protos/esmm_pb2.py +133 -0
- easy_rec/python/protos/eval_pb2.py +930 -0
- easy_rec/python/protos/export_pb2.py +379 -0
- easy_rec/python/protos/feature_config_pb2.py +1359 -0
- easy_rec/python/protos/fm_pb2.py +90 -0
- easy_rec/python/protos/hive_config_pb2.py +138 -0
- easy_rec/python/protos/hyperparams_pb2.py +624 -0
- easy_rec/python/protos/keras_layer_pb2.py +692 -0
- easy_rec/python/protos/layer_pb2.py +1936 -0
- easy_rec/python/protos/loss_pb2.py +1713 -0
- easy_rec/python/protos/mind_pb2.py +497 -0
- easy_rec/python/protos/mmoe_pb2.py +215 -0
- easy_rec/python/protos/multi_tower_pb2.py +295 -0
- easy_rec/python/protos/multi_tower_recall_pb2.py +198 -0
- easy_rec/python/protos/optimizer_pb2.py +2017 -0
- easy_rec/python/protos/pdn_pb2.py +293 -0
- easy_rec/python/protos/pipeline_pb2.py +516 -0
- easy_rec/python/protos/ple_pb2.py +231 -0
- easy_rec/python/protos/predict_pb2.py +1140 -0
- easy_rec/python/protos/rocket_launching_pb2.py +169 -0
- easy_rec/python/protos/seq_encoder_pb2.py +1084 -0
- easy_rec/python/protos/simi_pb2.py +54 -0
- easy_rec/python/protos/simple_multi_task_pb2.py +97 -0
- easy_rec/python/protos/tf_predict_pb2.py +630 -0
- easy_rec/python/protos/tower_pb2.py +661 -0
- easy_rec/python/protos/train_pb2.py +1197 -0
- easy_rec/python/protos/uniter_pb2.py +307 -0
- easy_rec/python/protos/variational_dropout_pb2.py +91 -0
- easy_rec/python/protos/wide_and_deep_pb2.py +131 -0
- easy_rec/python/test/__init__.py +0 -0
- easy_rec/python/test/csv_input_test.py +340 -0
- easy_rec/python/test/custom_early_stop_func.py +19 -0
- easy_rec/python/test/dh_local_run.py +104 -0
- easy_rec/python/test/embed_test.py +155 -0
- easy_rec/python/test/emr_run.py +119 -0
- easy_rec/python/test/eval_metric_test.py +107 -0
- easy_rec/python/test/excel_convert_test.py +64 -0
- easy_rec/python/test/export_test.py +513 -0
- easy_rec/python/test/fg_test.py +70 -0
- easy_rec/python/test/hive_input_test.py +311 -0
- easy_rec/python/test/hpo_test.py +235 -0
- easy_rec/python/test/kafka_test.py +373 -0
- easy_rec/python/test/local_incr_test.py +122 -0
- easy_rec/python/test/loss_test.py +110 -0
- easy_rec/python/test/odps_command.py +61 -0
- easy_rec/python/test/odps_local_run.py +86 -0
- easy_rec/python/test/odps_run.py +254 -0
- easy_rec/python/test/odps_test_cls.py +39 -0
- easy_rec/python/test/odps_test_prepare.py +198 -0
- easy_rec/python/test/odps_test_util.py +237 -0
- easy_rec/python/test/pre_check_test.py +54 -0
- easy_rec/python/test/predictor_test.py +394 -0
- easy_rec/python/test/rtp_convert_test.py +133 -0
- easy_rec/python/test/run.py +138 -0
- easy_rec/python/test/train_eval_test.py +1299 -0
- easy_rec/python/test/util_test.py +85 -0
- easy_rec/python/test/zero_inflated_lognormal_test.py +53 -0
- easy_rec/python/tools/__init__.py +0 -0
- easy_rec/python/tools/add_boundaries_to_config.py +67 -0
- easy_rec/python/tools/add_feature_info_to_config.py +145 -0
- easy_rec/python/tools/convert_config_format.py +48 -0
- easy_rec/python/tools/convert_rtp_data.py +79 -0
- easy_rec/python/tools/convert_rtp_fg.py +106 -0
- easy_rec/python/tools/create_config_from_excel.py +427 -0
- easy_rec/python/tools/criteo/__init__.py +0 -0
- easy_rec/python/tools/criteo/convert_data.py +157 -0
- easy_rec/python/tools/edit_lookup_graph.py +134 -0
- easy_rec/python/tools/faiss_index_pai.py +116 -0
- easy_rec/python/tools/feature_selection.py +316 -0
- easy_rec/python/tools/hit_rate_ds.py +223 -0
- easy_rec/python/tools/hit_rate_pai.py +138 -0
- easy_rec/python/tools/pre_check.py +120 -0
- easy_rec/python/tools/predict_and_chk.py +111 -0
- easy_rec/python/tools/read_kafka.py +55 -0
- easy_rec/python/tools/split_model_pai.py +286 -0
- easy_rec/python/tools/split_pdn_model_pai.py +272 -0
- easy_rec/python/tools/test_saved_model.py +80 -0
- easy_rec/python/tools/view_saved_model.py +39 -0
- easy_rec/python/tools/write_kafka.py +65 -0
- easy_rec/python/train_eval.py +325 -0
- easy_rec/python/utils/__init__.py +15 -0
- easy_rec/python/utils/activation.py +120 -0
- easy_rec/python/utils/check_utils.py +87 -0
- easy_rec/python/utils/compat.py +14 -0
- easy_rec/python/utils/config_util.py +652 -0
- easy_rec/python/utils/constant.py +43 -0
- easy_rec/python/utils/convert_rtp_fg.py +616 -0
- easy_rec/python/utils/dag.py +192 -0
- easy_rec/python/utils/distribution_utils.py +268 -0
- easy_rec/python/utils/ds_util.py +65 -0
- easy_rec/python/utils/embedding_utils.py +73 -0
- easy_rec/python/utils/estimator_utils.py +1036 -0
- easy_rec/python/utils/export_big_model.py +630 -0
- easy_rec/python/utils/expr_util.py +118 -0
- easy_rec/python/utils/fg_util.py +53 -0
- easy_rec/python/utils/hit_rate_utils.py +220 -0
- easy_rec/python/utils/hive_utils.py +183 -0
- easy_rec/python/utils/hpo_util.py +137 -0
- easy_rec/python/utils/hvd_utils.py +56 -0
- easy_rec/python/utils/input_utils.py +108 -0
- easy_rec/python/utils/io_util.py +282 -0
- easy_rec/python/utils/load_class.py +249 -0
- easy_rec/python/utils/meta_graph_editor.py +941 -0
- easy_rec/python/utils/multi_optimizer.py +62 -0
- easy_rec/python/utils/numpy_utils.py +18 -0
- easy_rec/python/utils/odps_util.py +79 -0
- easy_rec/python/utils/pai_util.py +86 -0
- easy_rec/python/utils/proto_util.py +90 -0
- easy_rec/python/utils/restore_filter.py +89 -0
- easy_rec/python/utils/shape_utils.py +432 -0
- easy_rec/python/utils/static_shape.py +71 -0
- easy_rec/python/utils/test_utils.py +866 -0
- easy_rec/python/utils/tf_utils.py +56 -0
- easy_rec/version.py +4 -0
- test/__init__.py +0 -0
|
@@ -0,0 +1,1140 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# source: easy_rec/python/protos/predict.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
|
+
from google.protobuf.internal import enum_type_wrapper
|
|
12
|
+
|
|
13
|
+
from easy_rec.python.protos import tf_predict_pb2 as easy__rec_dot_python_dot_protos_dot_tf__predict__pb2 # NOQA
|
|
14
|
+
|
|
15
|
+
_b = sys.version_info[0] < 3 and (lambda x: x) or (lambda x: x.encode('latin1'))
|
|
16
|
+
# @@protoc_insertion_point(imports)
|
|
17
|
+
|
|
18
|
+
_sym_db = _symbol_database.Default()
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR = _descriptor.FileDescriptor(
|
|
21
|
+
name='easy_rec/python/protos/predict.proto',
|
|
22
|
+
package='com.alibaba.pairec.processor',
|
|
23
|
+
syntax='proto3',
|
|
24
|
+
serialized_pb=_b(
|
|
25
|
+
'\n$easy_rec/python/protos/predict.proto\x12\x1c\x63om.alibaba.pairec.processor\x1a\'easy_rec/python/protos/tf_predict.proto\"L\n\x0f\x43ontextFeatures\x12\x39\n\x08\x66\x65\x61tures\x18\x01 \x03(\x0b\x32\'.com.alibaba.pairec.processor.PBFeature\"v\n\tPBFeature\x12\x15\n\x0bint_feature\x18\x01 \x01(\x05H\x00\x12\x16\n\x0clong_feature\x18\x02 \x01(\x03H\x00\x12\x18\n\x0estring_feature\x18\x03 \x01(\tH\x00\x12\x17\n\rfloat_feature\x18\x04 \x01(\x02H\x00\x42\x07\n\x05value\"\xba\x03\n\tPBRequest\x12\x13\n\x0b\x64\x65\x62ug_level\x18\x01 \x01(\x05\x12P\n\ruser_features\x18\x02 \x03(\x0b\x32\x39.com.alibaba.pairec.processor.PBRequest.UserFeaturesEntry\x12\x10\n\x08item_ids\x18\x03 \x03(\t\x12V\n\x10\x63ontext_features\x18\x04 \x03(\x0b\x32<.com.alibaba.pairec.processor.PBRequest.ContextFeaturesEntry\x12\x17\n\x0f\x66\x61iss_neigh_num\x18\x05 \x01(\x05\x1a\\\n\x11UserFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x36\n\x05value\x18\x02 \x01(\x0b\x32\'.com.alibaba.pairec.processor.PBFeature:\x02\x38\x01\x1a\x65\n\x14\x43ontextFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.com.alibaba.pairec.processor.ContextFeatures:\x02\x38\x01\"\x1d\n\x07Results\x12\x12\n\x06scores\x18\x01 \x03(\x01\x42\x02\x10\x01\"\x9c\x08\n\nPBResponse\x12\x46\n\x07results\x18\x01 \x03(\x0b\x32\x35.com.alibaba.pairec.processor.PBResponse.ResultsEntry\x12Q\n\ritem_features\x18\x02 \x03(\x0b\x32:.com.alibaba.pairec.processor.PBResponse.ItemFeaturesEntry\x12Y\n\x11generate_features\x18\x03 \x03(\x0b\x32>.com.alibaba.pairec.processor.PBResponse.GenerateFeaturesEntry\x12W\n\x10\x63ontext_features\x18\x04 \x03(\x0b\x32=.com.alibaba.pairec.processor.PBResponse.ContextFeaturesEntry\x12\x11\n\terror_msg\x18\x05 \x01(\t\x12=\n\x0bstatus_code\x18\x06 \x01(\x0e\x32(.com.alibaba.pairec.processor.StatusCode\x12\x10\n\x08item_ids\x18\x07 \x03(\t\x12\x0f\n\x07outputs\x18\x08 \x03(\t\x12O\n\x0craw_features\x18\t \x03(\x0b\x32\x39.com.alibaba.pairec.processor.PBResponse.RawFeaturesEntry\x12K\n\ntf_outputs\x18\n \x03(\x0b\x32\x37.com.alibaba.pairec.processor.PBResponse.TfOutputsEntry\x1aU\n\x0cResultsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x34\n\x05value\x18\x02 \x01(\x0b\x32%.com.alibaba.pairec.processor.Results:\x02\x38\x01\x1a\x33\n\x11ItemFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x37\n\x15GenerateFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x65\n\x14\x43ontextFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12<\n\x05value\x18\x02 \x01(\x0b\x32-.com.alibaba.pairec.processor.ContextFeatures:\x02\x38\x01\x1a\x32\n\x10RawFeaturesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1aL\n\x0eTfOutputsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12)\n\x05value\x18\x02 \x01(\x0b\x32\x1a.tensorflow.eas.ArrayProto:\x02\x38\x01*4\n\nStatusCode\x12\x06\n\x02OK\x10\x00\x12\x0f\n\x0bINPUT_EMPTY\x10\x01\x12\r\n\tEXCEPTION\x10\x02\x62\x06proto3'
|
|
26
|
+
),
|
|
27
|
+
dependencies=[
|
|
28
|
+
easy__rec_dot_python_dot_protos_dot_tf__predict__pb2.DESCRIPTOR,
|
|
29
|
+
])
|
|
30
|
+
|
|
31
|
+
_STATUSCODE = _descriptor.EnumDescriptor(
|
|
32
|
+
name='StatusCode',
|
|
33
|
+
full_name='com.alibaba.pairec.processor.StatusCode',
|
|
34
|
+
filename=None,
|
|
35
|
+
file=DESCRIPTOR,
|
|
36
|
+
values=[
|
|
37
|
+
_descriptor.EnumValueDescriptor(
|
|
38
|
+
name='OK', index=0, number=0, options=None, type=None),
|
|
39
|
+
_descriptor.EnumValueDescriptor(
|
|
40
|
+
name='INPUT_EMPTY', index=1, number=1, options=None, type=None),
|
|
41
|
+
_descriptor.EnumValueDescriptor(
|
|
42
|
+
name='EXCEPTION', index=2, number=2, options=None, type=None),
|
|
43
|
+
],
|
|
44
|
+
containing_type=None,
|
|
45
|
+
options=None,
|
|
46
|
+
serialized_start=1840,
|
|
47
|
+
serialized_end=1892,
|
|
48
|
+
)
|
|
49
|
+
_sym_db.RegisterEnumDescriptor(_STATUSCODE)
|
|
50
|
+
|
|
51
|
+
StatusCode = enum_type_wrapper.EnumTypeWrapper(_STATUSCODE)
|
|
52
|
+
OK = 0
|
|
53
|
+
INPUT_EMPTY = 1
|
|
54
|
+
EXCEPTION = 2
|
|
55
|
+
|
|
56
|
+
_CONTEXTFEATURES = _descriptor.Descriptor(
|
|
57
|
+
name='ContextFeatures',
|
|
58
|
+
full_name='com.alibaba.pairec.processor.ContextFeatures',
|
|
59
|
+
filename=None,
|
|
60
|
+
file=DESCRIPTOR,
|
|
61
|
+
containing_type=None,
|
|
62
|
+
fields=[
|
|
63
|
+
_descriptor.FieldDescriptor(
|
|
64
|
+
name='features',
|
|
65
|
+
full_name='com.alibaba.pairec.processor.ContextFeatures.features',
|
|
66
|
+
index=0,
|
|
67
|
+
number=1,
|
|
68
|
+
type=11,
|
|
69
|
+
cpp_type=10,
|
|
70
|
+
label=3,
|
|
71
|
+
has_default_value=False,
|
|
72
|
+
default_value=[],
|
|
73
|
+
message_type=None,
|
|
74
|
+
enum_type=None,
|
|
75
|
+
containing_type=None,
|
|
76
|
+
is_extension=False,
|
|
77
|
+
extension_scope=None,
|
|
78
|
+
options=None),
|
|
79
|
+
],
|
|
80
|
+
extensions=[],
|
|
81
|
+
nested_types=[],
|
|
82
|
+
enum_types=[],
|
|
83
|
+
options=None,
|
|
84
|
+
is_extendable=False,
|
|
85
|
+
syntax='proto3',
|
|
86
|
+
extension_ranges=[],
|
|
87
|
+
oneofs=[],
|
|
88
|
+
serialized_start=111,
|
|
89
|
+
serialized_end=187,
|
|
90
|
+
)
|
|
91
|
+
|
|
92
|
+
_PBFEATURE = _descriptor.Descriptor(
|
|
93
|
+
name='PBFeature',
|
|
94
|
+
full_name='com.alibaba.pairec.processor.PBFeature',
|
|
95
|
+
filename=None,
|
|
96
|
+
file=DESCRIPTOR,
|
|
97
|
+
containing_type=None,
|
|
98
|
+
fields=[
|
|
99
|
+
_descriptor.FieldDescriptor(
|
|
100
|
+
name='int_feature',
|
|
101
|
+
full_name='com.alibaba.pairec.processor.PBFeature.int_feature',
|
|
102
|
+
index=0,
|
|
103
|
+
number=1,
|
|
104
|
+
type=5,
|
|
105
|
+
cpp_type=1,
|
|
106
|
+
label=1,
|
|
107
|
+
has_default_value=False,
|
|
108
|
+
default_value=0,
|
|
109
|
+
message_type=None,
|
|
110
|
+
enum_type=None,
|
|
111
|
+
containing_type=None,
|
|
112
|
+
is_extension=False,
|
|
113
|
+
extension_scope=None,
|
|
114
|
+
options=None),
|
|
115
|
+
_descriptor.FieldDescriptor(
|
|
116
|
+
name='long_feature',
|
|
117
|
+
full_name='com.alibaba.pairec.processor.PBFeature.long_feature',
|
|
118
|
+
index=1,
|
|
119
|
+
number=2,
|
|
120
|
+
type=3,
|
|
121
|
+
cpp_type=2,
|
|
122
|
+
label=1,
|
|
123
|
+
has_default_value=False,
|
|
124
|
+
default_value=0,
|
|
125
|
+
message_type=None,
|
|
126
|
+
enum_type=None,
|
|
127
|
+
containing_type=None,
|
|
128
|
+
is_extension=False,
|
|
129
|
+
extension_scope=None,
|
|
130
|
+
options=None),
|
|
131
|
+
_descriptor.FieldDescriptor(
|
|
132
|
+
name='string_feature',
|
|
133
|
+
full_name='com.alibaba.pairec.processor.PBFeature.string_feature',
|
|
134
|
+
index=2,
|
|
135
|
+
number=3,
|
|
136
|
+
type=9,
|
|
137
|
+
cpp_type=9,
|
|
138
|
+
label=1,
|
|
139
|
+
has_default_value=False,
|
|
140
|
+
default_value=_b('').decode('utf-8'),
|
|
141
|
+
message_type=None,
|
|
142
|
+
enum_type=None,
|
|
143
|
+
containing_type=None,
|
|
144
|
+
is_extension=False,
|
|
145
|
+
extension_scope=None,
|
|
146
|
+
options=None),
|
|
147
|
+
_descriptor.FieldDescriptor(
|
|
148
|
+
name='float_feature',
|
|
149
|
+
full_name='com.alibaba.pairec.processor.PBFeature.float_feature',
|
|
150
|
+
index=3,
|
|
151
|
+
number=4,
|
|
152
|
+
type=2,
|
|
153
|
+
cpp_type=6,
|
|
154
|
+
label=1,
|
|
155
|
+
has_default_value=False,
|
|
156
|
+
default_value=float(0),
|
|
157
|
+
message_type=None,
|
|
158
|
+
enum_type=None,
|
|
159
|
+
containing_type=None,
|
|
160
|
+
is_extension=False,
|
|
161
|
+
extension_scope=None,
|
|
162
|
+
options=None),
|
|
163
|
+
],
|
|
164
|
+
extensions=[],
|
|
165
|
+
nested_types=[],
|
|
166
|
+
enum_types=[],
|
|
167
|
+
options=None,
|
|
168
|
+
is_extendable=False,
|
|
169
|
+
syntax='proto3',
|
|
170
|
+
extension_ranges=[],
|
|
171
|
+
oneofs=[
|
|
172
|
+
_descriptor.OneofDescriptor(
|
|
173
|
+
name='value',
|
|
174
|
+
full_name='com.alibaba.pairec.processor.PBFeature.value',
|
|
175
|
+
index=0,
|
|
176
|
+
containing_type=None,
|
|
177
|
+
fields=[]),
|
|
178
|
+
],
|
|
179
|
+
serialized_start=189,
|
|
180
|
+
serialized_end=307,
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
_PBREQUEST_USERFEATURESENTRY = _descriptor.Descriptor(
|
|
184
|
+
name='UserFeaturesEntry',
|
|
185
|
+
full_name='com.alibaba.pairec.processor.PBRequest.UserFeaturesEntry',
|
|
186
|
+
filename=None,
|
|
187
|
+
file=DESCRIPTOR,
|
|
188
|
+
containing_type=None,
|
|
189
|
+
fields=[
|
|
190
|
+
_descriptor.FieldDescriptor(
|
|
191
|
+
name='key',
|
|
192
|
+
full_name='com.alibaba.pairec.processor.PBRequest.UserFeaturesEntry.key',
|
|
193
|
+
index=0,
|
|
194
|
+
number=1,
|
|
195
|
+
type=9,
|
|
196
|
+
cpp_type=9,
|
|
197
|
+
label=1,
|
|
198
|
+
has_default_value=False,
|
|
199
|
+
default_value=_b('').decode('utf-8'),
|
|
200
|
+
message_type=None,
|
|
201
|
+
enum_type=None,
|
|
202
|
+
containing_type=None,
|
|
203
|
+
is_extension=False,
|
|
204
|
+
extension_scope=None,
|
|
205
|
+
options=None),
|
|
206
|
+
_descriptor.FieldDescriptor(
|
|
207
|
+
name='value',
|
|
208
|
+
full_name='com.alibaba.pairec.processor.PBRequest.UserFeaturesEntry.value',
|
|
209
|
+
index=1,
|
|
210
|
+
number=2,
|
|
211
|
+
type=11,
|
|
212
|
+
cpp_type=10,
|
|
213
|
+
label=1,
|
|
214
|
+
has_default_value=False,
|
|
215
|
+
default_value=None,
|
|
216
|
+
message_type=None,
|
|
217
|
+
enum_type=None,
|
|
218
|
+
containing_type=None,
|
|
219
|
+
is_extension=False,
|
|
220
|
+
extension_scope=None,
|
|
221
|
+
options=None),
|
|
222
|
+
],
|
|
223
|
+
extensions=[],
|
|
224
|
+
nested_types=[],
|
|
225
|
+
enum_types=[],
|
|
226
|
+
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(),
|
|
227
|
+
_b('8\001')),
|
|
228
|
+
is_extendable=False,
|
|
229
|
+
syntax='proto3',
|
|
230
|
+
extension_ranges=[],
|
|
231
|
+
oneofs=[],
|
|
232
|
+
serialized_start=557,
|
|
233
|
+
serialized_end=649,
|
|
234
|
+
)
|
|
235
|
+
|
|
236
|
+
_PBREQUEST_CONTEXTFEATURESENTRY = _descriptor.Descriptor(
|
|
237
|
+
name='ContextFeaturesEntry',
|
|
238
|
+
full_name='com.alibaba.pairec.processor.PBRequest.ContextFeaturesEntry',
|
|
239
|
+
filename=None,
|
|
240
|
+
file=DESCRIPTOR,
|
|
241
|
+
containing_type=None,
|
|
242
|
+
fields=[
|
|
243
|
+
_descriptor.FieldDescriptor(
|
|
244
|
+
name='key',
|
|
245
|
+
full_name='com.alibaba.pairec.processor.PBRequest.ContextFeaturesEntry.key',
|
|
246
|
+
index=0,
|
|
247
|
+
number=1,
|
|
248
|
+
type=9,
|
|
249
|
+
cpp_type=9,
|
|
250
|
+
label=1,
|
|
251
|
+
has_default_value=False,
|
|
252
|
+
default_value=_b('').decode('utf-8'),
|
|
253
|
+
message_type=None,
|
|
254
|
+
enum_type=None,
|
|
255
|
+
containing_type=None,
|
|
256
|
+
is_extension=False,
|
|
257
|
+
extension_scope=None,
|
|
258
|
+
options=None),
|
|
259
|
+
_descriptor.FieldDescriptor(
|
|
260
|
+
name='value',
|
|
261
|
+
full_name='com.alibaba.pairec.processor.PBRequest.ContextFeaturesEntry.value',
|
|
262
|
+
index=1,
|
|
263
|
+
number=2,
|
|
264
|
+
type=11,
|
|
265
|
+
cpp_type=10,
|
|
266
|
+
label=1,
|
|
267
|
+
has_default_value=False,
|
|
268
|
+
default_value=None,
|
|
269
|
+
message_type=None,
|
|
270
|
+
enum_type=None,
|
|
271
|
+
containing_type=None,
|
|
272
|
+
is_extension=False,
|
|
273
|
+
extension_scope=None,
|
|
274
|
+
options=None),
|
|
275
|
+
],
|
|
276
|
+
extensions=[],
|
|
277
|
+
nested_types=[],
|
|
278
|
+
enum_types=[],
|
|
279
|
+
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(),
|
|
280
|
+
_b('8\001')),
|
|
281
|
+
is_extendable=False,
|
|
282
|
+
syntax='proto3',
|
|
283
|
+
extension_ranges=[],
|
|
284
|
+
oneofs=[],
|
|
285
|
+
serialized_start=651,
|
|
286
|
+
serialized_end=752,
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
_PBREQUEST = _descriptor.Descriptor(
|
|
290
|
+
name='PBRequest',
|
|
291
|
+
full_name='com.alibaba.pairec.processor.PBRequest',
|
|
292
|
+
filename=None,
|
|
293
|
+
file=DESCRIPTOR,
|
|
294
|
+
containing_type=None,
|
|
295
|
+
fields=[
|
|
296
|
+
_descriptor.FieldDescriptor(
|
|
297
|
+
name='debug_level',
|
|
298
|
+
full_name='com.alibaba.pairec.processor.PBRequest.debug_level',
|
|
299
|
+
index=0,
|
|
300
|
+
number=1,
|
|
301
|
+
type=5,
|
|
302
|
+
cpp_type=1,
|
|
303
|
+
label=1,
|
|
304
|
+
has_default_value=False,
|
|
305
|
+
default_value=0,
|
|
306
|
+
message_type=None,
|
|
307
|
+
enum_type=None,
|
|
308
|
+
containing_type=None,
|
|
309
|
+
is_extension=False,
|
|
310
|
+
extension_scope=None,
|
|
311
|
+
options=None),
|
|
312
|
+
_descriptor.FieldDescriptor(
|
|
313
|
+
name='user_features',
|
|
314
|
+
full_name='com.alibaba.pairec.processor.PBRequest.user_features',
|
|
315
|
+
index=1,
|
|
316
|
+
number=2,
|
|
317
|
+
type=11,
|
|
318
|
+
cpp_type=10,
|
|
319
|
+
label=3,
|
|
320
|
+
has_default_value=False,
|
|
321
|
+
default_value=[],
|
|
322
|
+
message_type=None,
|
|
323
|
+
enum_type=None,
|
|
324
|
+
containing_type=None,
|
|
325
|
+
is_extension=False,
|
|
326
|
+
extension_scope=None,
|
|
327
|
+
options=None),
|
|
328
|
+
_descriptor.FieldDescriptor(
|
|
329
|
+
name='item_ids',
|
|
330
|
+
full_name='com.alibaba.pairec.processor.PBRequest.item_ids',
|
|
331
|
+
index=2,
|
|
332
|
+
number=3,
|
|
333
|
+
type=9,
|
|
334
|
+
cpp_type=9,
|
|
335
|
+
label=3,
|
|
336
|
+
has_default_value=False,
|
|
337
|
+
default_value=[],
|
|
338
|
+
message_type=None,
|
|
339
|
+
enum_type=None,
|
|
340
|
+
containing_type=None,
|
|
341
|
+
is_extension=False,
|
|
342
|
+
extension_scope=None,
|
|
343
|
+
options=None),
|
|
344
|
+
_descriptor.FieldDescriptor(
|
|
345
|
+
name='context_features',
|
|
346
|
+
full_name='com.alibaba.pairec.processor.PBRequest.context_features',
|
|
347
|
+
index=3,
|
|
348
|
+
number=4,
|
|
349
|
+
type=11,
|
|
350
|
+
cpp_type=10,
|
|
351
|
+
label=3,
|
|
352
|
+
has_default_value=False,
|
|
353
|
+
default_value=[],
|
|
354
|
+
message_type=None,
|
|
355
|
+
enum_type=None,
|
|
356
|
+
containing_type=None,
|
|
357
|
+
is_extension=False,
|
|
358
|
+
extension_scope=None,
|
|
359
|
+
options=None),
|
|
360
|
+
_descriptor.FieldDescriptor(
|
|
361
|
+
name='faiss_neigh_num',
|
|
362
|
+
full_name='com.alibaba.pairec.processor.PBRequest.faiss_neigh_num',
|
|
363
|
+
index=4,
|
|
364
|
+
number=5,
|
|
365
|
+
type=5,
|
|
366
|
+
cpp_type=1,
|
|
367
|
+
label=1,
|
|
368
|
+
has_default_value=False,
|
|
369
|
+
default_value=0,
|
|
370
|
+
message_type=None,
|
|
371
|
+
enum_type=None,
|
|
372
|
+
containing_type=None,
|
|
373
|
+
is_extension=False,
|
|
374
|
+
extension_scope=None,
|
|
375
|
+
options=None),
|
|
376
|
+
],
|
|
377
|
+
extensions=[],
|
|
378
|
+
nested_types=[
|
|
379
|
+
_PBREQUEST_USERFEATURESENTRY,
|
|
380
|
+
_PBREQUEST_CONTEXTFEATURESENTRY,
|
|
381
|
+
],
|
|
382
|
+
enum_types=[],
|
|
383
|
+
options=None,
|
|
384
|
+
is_extendable=False,
|
|
385
|
+
syntax='proto3',
|
|
386
|
+
extension_ranges=[],
|
|
387
|
+
oneofs=[],
|
|
388
|
+
serialized_start=310,
|
|
389
|
+
serialized_end=752,
|
|
390
|
+
)
|
|
391
|
+
|
|
392
|
+
_RESULTS = _descriptor.Descriptor(
|
|
393
|
+
name='Results',
|
|
394
|
+
full_name='com.alibaba.pairec.processor.Results',
|
|
395
|
+
filename=None,
|
|
396
|
+
file=DESCRIPTOR,
|
|
397
|
+
containing_type=None,
|
|
398
|
+
fields=[
|
|
399
|
+
_descriptor.FieldDescriptor(
|
|
400
|
+
name='scores',
|
|
401
|
+
full_name='com.alibaba.pairec.processor.Results.scores',
|
|
402
|
+
index=0,
|
|
403
|
+
number=1,
|
|
404
|
+
type=1,
|
|
405
|
+
cpp_type=5,
|
|
406
|
+
label=3,
|
|
407
|
+
has_default_value=False,
|
|
408
|
+
default_value=[],
|
|
409
|
+
message_type=None,
|
|
410
|
+
enum_type=None,
|
|
411
|
+
containing_type=None,
|
|
412
|
+
is_extension=False,
|
|
413
|
+
extension_scope=None,
|
|
414
|
+
options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(),
|
|
415
|
+
_b('\020\001'))),
|
|
416
|
+
],
|
|
417
|
+
extensions=[],
|
|
418
|
+
nested_types=[],
|
|
419
|
+
enum_types=[],
|
|
420
|
+
options=None,
|
|
421
|
+
is_extendable=False,
|
|
422
|
+
syntax='proto3',
|
|
423
|
+
extension_ranges=[],
|
|
424
|
+
oneofs=[],
|
|
425
|
+
serialized_start=754,
|
|
426
|
+
serialized_end=783,
|
|
427
|
+
)
|
|
428
|
+
|
|
429
|
+
_PBRESPONSE_RESULTSENTRY = _descriptor.Descriptor(
|
|
430
|
+
name='ResultsEntry',
|
|
431
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ResultsEntry',
|
|
432
|
+
filename=None,
|
|
433
|
+
file=DESCRIPTOR,
|
|
434
|
+
containing_type=None,
|
|
435
|
+
fields=[
|
|
436
|
+
_descriptor.FieldDescriptor(
|
|
437
|
+
name='key',
|
|
438
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ResultsEntry.key',
|
|
439
|
+
index=0,
|
|
440
|
+
number=1,
|
|
441
|
+
type=9,
|
|
442
|
+
cpp_type=9,
|
|
443
|
+
label=1,
|
|
444
|
+
has_default_value=False,
|
|
445
|
+
default_value=_b('').decode('utf-8'),
|
|
446
|
+
message_type=None,
|
|
447
|
+
enum_type=None,
|
|
448
|
+
containing_type=None,
|
|
449
|
+
is_extension=False,
|
|
450
|
+
extension_scope=None,
|
|
451
|
+
options=None),
|
|
452
|
+
_descriptor.FieldDescriptor(
|
|
453
|
+
name='value',
|
|
454
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ResultsEntry.value',
|
|
455
|
+
index=1,
|
|
456
|
+
number=2,
|
|
457
|
+
type=11,
|
|
458
|
+
cpp_type=10,
|
|
459
|
+
label=1,
|
|
460
|
+
has_default_value=False,
|
|
461
|
+
default_value=None,
|
|
462
|
+
message_type=None,
|
|
463
|
+
enum_type=None,
|
|
464
|
+
containing_type=None,
|
|
465
|
+
is_extension=False,
|
|
466
|
+
extension_scope=None,
|
|
467
|
+
options=None),
|
|
468
|
+
],
|
|
469
|
+
extensions=[],
|
|
470
|
+
nested_types=[],
|
|
471
|
+
enum_types=[],
|
|
472
|
+
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(),
|
|
473
|
+
_b('8\001')),
|
|
474
|
+
is_extendable=False,
|
|
475
|
+
syntax='proto3',
|
|
476
|
+
extension_ranges=[],
|
|
477
|
+
oneofs=[],
|
|
478
|
+
serialized_start=1410,
|
|
479
|
+
serialized_end=1495,
|
|
480
|
+
)
|
|
481
|
+
|
|
482
|
+
_PBRESPONSE_ITEMFEATURESENTRY = _descriptor.Descriptor(
|
|
483
|
+
name='ItemFeaturesEntry',
|
|
484
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ItemFeaturesEntry',
|
|
485
|
+
filename=None,
|
|
486
|
+
file=DESCRIPTOR,
|
|
487
|
+
containing_type=None,
|
|
488
|
+
fields=[
|
|
489
|
+
_descriptor.FieldDescriptor(
|
|
490
|
+
name='key',
|
|
491
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ItemFeaturesEntry.key',
|
|
492
|
+
index=0,
|
|
493
|
+
number=1,
|
|
494
|
+
type=9,
|
|
495
|
+
cpp_type=9,
|
|
496
|
+
label=1,
|
|
497
|
+
has_default_value=False,
|
|
498
|
+
default_value=_b('').decode('utf-8'),
|
|
499
|
+
message_type=None,
|
|
500
|
+
enum_type=None,
|
|
501
|
+
containing_type=None,
|
|
502
|
+
is_extension=False,
|
|
503
|
+
extension_scope=None,
|
|
504
|
+
options=None),
|
|
505
|
+
_descriptor.FieldDescriptor(
|
|
506
|
+
name='value',
|
|
507
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ItemFeaturesEntry.value',
|
|
508
|
+
index=1,
|
|
509
|
+
number=2,
|
|
510
|
+
type=9,
|
|
511
|
+
cpp_type=9,
|
|
512
|
+
label=1,
|
|
513
|
+
has_default_value=False,
|
|
514
|
+
default_value=_b('').decode('utf-8'),
|
|
515
|
+
message_type=None,
|
|
516
|
+
enum_type=None,
|
|
517
|
+
containing_type=None,
|
|
518
|
+
is_extension=False,
|
|
519
|
+
extension_scope=None,
|
|
520
|
+
options=None),
|
|
521
|
+
],
|
|
522
|
+
extensions=[],
|
|
523
|
+
nested_types=[],
|
|
524
|
+
enum_types=[],
|
|
525
|
+
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(),
|
|
526
|
+
_b('8\001')),
|
|
527
|
+
is_extendable=False,
|
|
528
|
+
syntax='proto3',
|
|
529
|
+
extension_ranges=[],
|
|
530
|
+
oneofs=[],
|
|
531
|
+
serialized_start=1497,
|
|
532
|
+
serialized_end=1548,
|
|
533
|
+
)
|
|
534
|
+
|
|
535
|
+
_PBRESPONSE_GENERATEFEATURESENTRY = _descriptor.Descriptor(
|
|
536
|
+
name='GenerateFeaturesEntry',
|
|
537
|
+
full_name='com.alibaba.pairec.processor.PBResponse.GenerateFeaturesEntry',
|
|
538
|
+
filename=None,
|
|
539
|
+
file=DESCRIPTOR,
|
|
540
|
+
containing_type=None,
|
|
541
|
+
fields=[
|
|
542
|
+
_descriptor.FieldDescriptor(
|
|
543
|
+
name='key',
|
|
544
|
+
full_name='com.alibaba.pairec.processor.PBResponse.GenerateFeaturesEntry.key',
|
|
545
|
+
index=0,
|
|
546
|
+
number=1,
|
|
547
|
+
type=9,
|
|
548
|
+
cpp_type=9,
|
|
549
|
+
label=1,
|
|
550
|
+
has_default_value=False,
|
|
551
|
+
default_value=_b('').decode('utf-8'),
|
|
552
|
+
message_type=None,
|
|
553
|
+
enum_type=None,
|
|
554
|
+
containing_type=None,
|
|
555
|
+
is_extension=False,
|
|
556
|
+
extension_scope=None,
|
|
557
|
+
options=None),
|
|
558
|
+
_descriptor.FieldDescriptor(
|
|
559
|
+
name='value',
|
|
560
|
+
full_name='com.alibaba.pairec.processor.PBResponse.GenerateFeaturesEntry.value',
|
|
561
|
+
index=1,
|
|
562
|
+
number=2,
|
|
563
|
+
type=9,
|
|
564
|
+
cpp_type=9,
|
|
565
|
+
label=1,
|
|
566
|
+
has_default_value=False,
|
|
567
|
+
default_value=_b('').decode('utf-8'),
|
|
568
|
+
message_type=None,
|
|
569
|
+
enum_type=None,
|
|
570
|
+
containing_type=None,
|
|
571
|
+
is_extension=False,
|
|
572
|
+
extension_scope=None,
|
|
573
|
+
options=None),
|
|
574
|
+
],
|
|
575
|
+
extensions=[],
|
|
576
|
+
nested_types=[],
|
|
577
|
+
enum_types=[],
|
|
578
|
+
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(),
|
|
579
|
+
_b('8\001')),
|
|
580
|
+
is_extendable=False,
|
|
581
|
+
syntax='proto3',
|
|
582
|
+
extension_ranges=[],
|
|
583
|
+
oneofs=[],
|
|
584
|
+
serialized_start=1550,
|
|
585
|
+
serialized_end=1605,
|
|
586
|
+
)
|
|
587
|
+
|
|
588
|
+
_PBRESPONSE_CONTEXTFEATURESENTRY = _descriptor.Descriptor(
|
|
589
|
+
name='ContextFeaturesEntry',
|
|
590
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ContextFeaturesEntry',
|
|
591
|
+
filename=None,
|
|
592
|
+
file=DESCRIPTOR,
|
|
593
|
+
containing_type=None,
|
|
594
|
+
fields=[
|
|
595
|
+
_descriptor.FieldDescriptor(
|
|
596
|
+
name='key',
|
|
597
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ContextFeaturesEntry.key',
|
|
598
|
+
index=0,
|
|
599
|
+
number=1,
|
|
600
|
+
type=9,
|
|
601
|
+
cpp_type=9,
|
|
602
|
+
label=1,
|
|
603
|
+
has_default_value=False,
|
|
604
|
+
default_value=_b('').decode('utf-8'),
|
|
605
|
+
message_type=None,
|
|
606
|
+
enum_type=None,
|
|
607
|
+
containing_type=None,
|
|
608
|
+
is_extension=False,
|
|
609
|
+
extension_scope=None,
|
|
610
|
+
options=None),
|
|
611
|
+
_descriptor.FieldDescriptor(
|
|
612
|
+
name='value',
|
|
613
|
+
full_name='com.alibaba.pairec.processor.PBResponse.ContextFeaturesEntry.value',
|
|
614
|
+
index=1,
|
|
615
|
+
number=2,
|
|
616
|
+
type=11,
|
|
617
|
+
cpp_type=10,
|
|
618
|
+
label=1,
|
|
619
|
+
has_default_value=False,
|
|
620
|
+
default_value=None,
|
|
621
|
+
message_type=None,
|
|
622
|
+
enum_type=None,
|
|
623
|
+
containing_type=None,
|
|
624
|
+
is_extension=False,
|
|
625
|
+
extension_scope=None,
|
|
626
|
+
options=None),
|
|
627
|
+
],
|
|
628
|
+
extensions=[],
|
|
629
|
+
nested_types=[],
|
|
630
|
+
enum_types=[],
|
|
631
|
+
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(),
|
|
632
|
+
_b('8\001')),
|
|
633
|
+
is_extendable=False,
|
|
634
|
+
syntax='proto3',
|
|
635
|
+
extension_ranges=[],
|
|
636
|
+
oneofs=[],
|
|
637
|
+
serialized_start=651,
|
|
638
|
+
serialized_end=752,
|
|
639
|
+
)
|
|
640
|
+
|
|
641
|
+
_PBRESPONSE_RAWFEATURESENTRY = _descriptor.Descriptor(
|
|
642
|
+
name='RawFeaturesEntry',
|
|
643
|
+
full_name='com.alibaba.pairec.processor.PBResponse.RawFeaturesEntry',
|
|
644
|
+
filename=None,
|
|
645
|
+
file=DESCRIPTOR,
|
|
646
|
+
containing_type=None,
|
|
647
|
+
fields=[
|
|
648
|
+
_descriptor.FieldDescriptor(
|
|
649
|
+
name='key',
|
|
650
|
+
full_name='com.alibaba.pairec.processor.PBResponse.RawFeaturesEntry.key',
|
|
651
|
+
index=0,
|
|
652
|
+
number=1,
|
|
653
|
+
type=9,
|
|
654
|
+
cpp_type=9,
|
|
655
|
+
label=1,
|
|
656
|
+
has_default_value=False,
|
|
657
|
+
default_value=_b('').decode('utf-8'),
|
|
658
|
+
message_type=None,
|
|
659
|
+
enum_type=None,
|
|
660
|
+
containing_type=None,
|
|
661
|
+
is_extension=False,
|
|
662
|
+
extension_scope=None,
|
|
663
|
+
options=None),
|
|
664
|
+
_descriptor.FieldDescriptor(
|
|
665
|
+
name='value',
|
|
666
|
+
full_name='com.alibaba.pairec.processor.PBResponse.RawFeaturesEntry.value',
|
|
667
|
+
index=1,
|
|
668
|
+
number=2,
|
|
669
|
+
type=9,
|
|
670
|
+
cpp_type=9,
|
|
671
|
+
label=1,
|
|
672
|
+
has_default_value=False,
|
|
673
|
+
default_value=_b('').decode('utf-8'),
|
|
674
|
+
message_type=None,
|
|
675
|
+
enum_type=None,
|
|
676
|
+
containing_type=None,
|
|
677
|
+
is_extension=False,
|
|
678
|
+
extension_scope=None,
|
|
679
|
+
options=None),
|
|
680
|
+
],
|
|
681
|
+
extensions=[],
|
|
682
|
+
nested_types=[],
|
|
683
|
+
enum_types=[],
|
|
684
|
+
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(),
|
|
685
|
+
_b('8\001')),
|
|
686
|
+
is_extendable=False,
|
|
687
|
+
syntax='proto3',
|
|
688
|
+
extension_ranges=[],
|
|
689
|
+
oneofs=[],
|
|
690
|
+
serialized_start=1710,
|
|
691
|
+
serialized_end=1760,
|
|
692
|
+
)
|
|
693
|
+
|
|
694
|
+
_PBRESPONSE_TFOUTPUTSENTRY = _descriptor.Descriptor(
|
|
695
|
+
name='TfOutputsEntry',
|
|
696
|
+
full_name='com.alibaba.pairec.processor.PBResponse.TfOutputsEntry',
|
|
697
|
+
filename=None,
|
|
698
|
+
file=DESCRIPTOR,
|
|
699
|
+
containing_type=None,
|
|
700
|
+
fields=[
|
|
701
|
+
_descriptor.FieldDescriptor(
|
|
702
|
+
name='key',
|
|
703
|
+
full_name='com.alibaba.pairec.processor.PBResponse.TfOutputsEntry.key',
|
|
704
|
+
index=0,
|
|
705
|
+
number=1,
|
|
706
|
+
type=9,
|
|
707
|
+
cpp_type=9,
|
|
708
|
+
label=1,
|
|
709
|
+
has_default_value=False,
|
|
710
|
+
default_value=_b('').decode('utf-8'),
|
|
711
|
+
message_type=None,
|
|
712
|
+
enum_type=None,
|
|
713
|
+
containing_type=None,
|
|
714
|
+
is_extension=False,
|
|
715
|
+
extension_scope=None,
|
|
716
|
+
options=None),
|
|
717
|
+
_descriptor.FieldDescriptor(
|
|
718
|
+
name='value',
|
|
719
|
+
full_name='com.alibaba.pairec.processor.PBResponse.TfOutputsEntry.value',
|
|
720
|
+
index=1,
|
|
721
|
+
number=2,
|
|
722
|
+
type=11,
|
|
723
|
+
cpp_type=10,
|
|
724
|
+
label=1,
|
|
725
|
+
has_default_value=False,
|
|
726
|
+
default_value=None,
|
|
727
|
+
message_type=None,
|
|
728
|
+
enum_type=None,
|
|
729
|
+
containing_type=None,
|
|
730
|
+
is_extension=False,
|
|
731
|
+
extension_scope=None,
|
|
732
|
+
options=None),
|
|
733
|
+
],
|
|
734
|
+
extensions=[],
|
|
735
|
+
nested_types=[],
|
|
736
|
+
enum_types=[],
|
|
737
|
+
options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(),
|
|
738
|
+
_b('8\001')),
|
|
739
|
+
is_extendable=False,
|
|
740
|
+
syntax='proto3',
|
|
741
|
+
extension_ranges=[],
|
|
742
|
+
oneofs=[],
|
|
743
|
+
serialized_start=1762,
|
|
744
|
+
serialized_end=1838,
|
|
745
|
+
)
|
|
746
|
+
|
|
747
|
+
_PBRESPONSE = _descriptor.Descriptor(
|
|
748
|
+
name='PBResponse',
|
|
749
|
+
full_name='com.alibaba.pairec.processor.PBResponse',
|
|
750
|
+
filename=None,
|
|
751
|
+
file=DESCRIPTOR,
|
|
752
|
+
containing_type=None,
|
|
753
|
+
fields=[
|
|
754
|
+
_descriptor.FieldDescriptor(
|
|
755
|
+
name='results',
|
|
756
|
+
full_name='com.alibaba.pairec.processor.PBResponse.results',
|
|
757
|
+
index=0,
|
|
758
|
+
number=1,
|
|
759
|
+
type=11,
|
|
760
|
+
cpp_type=10,
|
|
761
|
+
label=3,
|
|
762
|
+
has_default_value=False,
|
|
763
|
+
default_value=[],
|
|
764
|
+
message_type=None,
|
|
765
|
+
enum_type=None,
|
|
766
|
+
containing_type=None,
|
|
767
|
+
is_extension=False,
|
|
768
|
+
extension_scope=None,
|
|
769
|
+
options=None),
|
|
770
|
+
_descriptor.FieldDescriptor(
|
|
771
|
+
name='item_features',
|
|
772
|
+
full_name='com.alibaba.pairec.processor.PBResponse.item_features',
|
|
773
|
+
index=1,
|
|
774
|
+
number=2,
|
|
775
|
+
type=11,
|
|
776
|
+
cpp_type=10,
|
|
777
|
+
label=3,
|
|
778
|
+
has_default_value=False,
|
|
779
|
+
default_value=[],
|
|
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='generate_features',
|
|
788
|
+
full_name='com.alibaba.pairec.processor.PBResponse.generate_features',
|
|
789
|
+
index=2,
|
|
790
|
+
number=3,
|
|
791
|
+
type=11,
|
|
792
|
+
cpp_type=10,
|
|
793
|
+
label=3,
|
|
794
|
+
has_default_value=False,
|
|
795
|
+
default_value=[],
|
|
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='context_features',
|
|
804
|
+
full_name='com.alibaba.pairec.processor.PBResponse.context_features',
|
|
805
|
+
index=3,
|
|
806
|
+
number=4,
|
|
807
|
+
type=11,
|
|
808
|
+
cpp_type=10,
|
|
809
|
+
label=3,
|
|
810
|
+
has_default_value=False,
|
|
811
|
+
default_value=[],
|
|
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='error_msg',
|
|
820
|
+
full_name='com.alibaba.pairec.processor.PBResponse.error_msg',
|
|
821
|
+
index=4,
|
|
822
|
+
number=5,
|
|
823
|
+
type=9,
|
|
824
|
+
cpp_type=9,
|
|
825
|
+
label=1,
|
|
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='status_code',
|
|
836
|
+
full_name='com.alibaba.pairec.processor.PBResponse.status_code',
|
|
837
|
+
index=5,
|
|
838
|
+
number=6,
|
|
839
|
+
type=14,
|
|
840
|
+
cpp_type=8,
|
|
841
|
+
label=1,
|
|
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='item_ids',
|
|
852
|
+
full_name='com.alibaba.pairec.processor.PBResponse.item_ids',
|
|
853
|
+
index=6,
|
|
854
|
+
number=7,
|
|
855
|
+
type=9,
|
|
856
|
+
cpp_type=9,
|
|
857
|
+
label=3,
|
|
858
|
+
has_default_value=False,
|
|
859
|
+
default_value=[],
|
|
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='outputs',
|
|
868
|
+
full_name='com.alibaba.pairec.processor.PBResponse.outputs',
|
|
869
|
+
index=7,
|
|
870
|
+
number=8,
|
|
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='raw_features',
|
|
884
|
+
full_name='com.alibaba.pairec.processor.PBResponse.raw_features',
|
|
885
|
+
index=8,
|
|
886
|
+
number=9,
|
|
887
|
+
type=11,
|
|
888
|
+
cpp_type=10,
|
|
889
|
+
label=3,
|
|
890
|
+
has_default_value=False,
|
|
891
|
+
default_value=[],
|
|
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='tf_outputs',
|
|
900
|
+
full_name='com.alibaba.pairec.processor.PBResponse.tf_outputs',
|
|
901
|
+
index=9,
|
|
902
|
+
number=10,
|
|
903
|
+
type=11,
|
|
904
|
+
cpp_type=10,
|
|
905
|
+
label=3,
|
|
906
|
+
has_default_value=False,
|
|
907
|
+
default_value=[],
|
|
908
|
+
message_type=None,
|
|
909
|
+
enum_type=None,
|
|
910
|
+
containing_type=None,
|
|
911
|
+
is_extension=False,
|
|
912
|
+
extension_scope=None,
|
|
913
|
+
options=None),
|
|
914
|
+
],
|
|
915
|
+
extensions=[],
|
|
916
|
+
nested_types=[
|
|
917
|
+
_PBRESPONSE_RESULTSENTRY,
|
|
918
|
+
_PBRESPONSE_ITEMFEATURESENTRY,
|
|
919
|
+
_PBRESPONSE_GENERATEFEATURESENTRY,
|
|
920
|
+
_PBRESPONSE_CONTEXTFEATURESENTRY,
|
|
921
|
+
_PBRESPONSE_RAWFEATURESENTRY,
|
|
922
|
+
_PBRESPONSE_TFOUTPUTSENTRY,
|
|
923
|
+
],
|
|
924
|
+
enum_types=[],
|
|
925
|
+
options=None,
|
|
926
|
+
is_extendable=False,
|
|
927
|
+
syntax='proto3',
|
|
928
|
+
extension_ranges=[],
|
|
929
|
+
oneofs=[],
|
|
930
|
+
serialized_start=786,
|
|
931
|
+
serialized_end=1838,
|
|
932
|
+
)
|
|
933
|
+
|
|
934
|
+
_CONTEXTFEATURES.fields_by_name['features'].message_type = _PBFEATURE
|
|
935
|
+
_PBFEATURE.oneofs_by_name['value'].fields.append(
|
|
936
|
+
_PBFEATURE.fields_by_name['int_feature'])
|
|
937
|
+
_PBFEATURE.fields_by_name[
|
|
938
|
+
'int_feature'].containing_oneof = _PBFEATURE.oneofs_by_name['value']
|
|
939
|
+
_PBFEATURE.oneofs_by_name['value'].fields.append(
|
|
940
|
+
_PBFEATURE.fields_by_name['long_feature'])
|
|
941
|
+
_PBFEATURE.fields_by_name[
|
|
942
|
+
'long_feature'].containing_oneof = _PBFEATURE.oneofs_by_name['value']
|
|
943
|
+
_PBFEATURE.oneofs_by_name['value'].fields.append(
|
|
944
|
+
_PBFEATURE.fields_by_name['string_feature'])
|
|
945
|
+
_PBFEATURE.fields_by_name[
|
|
946
|
+
'string_feature'].containing_oneof = _PBFEATURE.oneofs_by_name['value']
|
|
947
|
+
_PBFEATURE.oneofs_by_name['value'].fields.append(
|
|
948
|
+
_PBFEATURE.fields_by_name['float_feature'])
|
|
949
|
+
_PBFEATURE.fields_by_name[
|
|
950
|
+
'float_feature'].containing_oneof = _PBFEATURE.oneofs_by_name['value']
|
|
951
|
+
_PBREQUEST_USERFEATURESENTRY.fields_by_name['value'].message_type = _PBFEATURE
|
|
952
|
+
_PBREQUEST_USERFEATURESENTRY.containing_type = _PBREQUEST
|
|
953
|
+
_PBREQUEST_CONTEXTFEATURESENTRY.fields_by_name[
|
|
954
|
+
'value'].message_type = _CONTEXTFEATURES
|
|
955
|
+
_PBREQUEST_CONTEXTFEATURESENTRY.containing_type = _PBREQUEST
|
|
956
|
+
_PBREQUEST.fields_by_name[
|
|
957
|
+
'user_features'].message_type = _PBREQUEST_USERFEATURESENTRY
|
|
958
|
+
_PBREQUEST.fields_by_name[
|
|
959
|
+
'context_features'].message_type = _PBREQUEST_CONTEXTFEATURESENTRY
|
|
960
|
+
_PBRESPONSE_RESULTSENTRY.fields_by_name['value'].message_type = _RESULTS
|
|
961
|
+
_PBRESPONSE_RESULTSENTRY.containing_type = _PBRESPONSE
|
|
962
|
+
_PBRESPONSE_ITEMFEATURESENTRY.containing_type = _PBRESPONSE
|
|
963
|
+
_PBRESPONSE_GENERATEFEATURESENTRY.containing_type = _PBRESPONSE
|
|
964
|
+
_PBRESPONSE_CONTEXTFEATURESENTRY.fields_by_name[
|
|
965
|
+
'value'].message_type = _CONTEXTFEATURES
|
|
966
|
+
_PBRESPONSE_CONTEXTFEATURESENTRY.containing_type = _PBRESPONSE
|
|
967
|
+
_PBRESPONSE_RAWFEATURESENTRY.containing_type = _PBRESPONSE
|
|
968
|
+
_PBRESPONSE_TFOUTPUTSENTRY.fields_by_name[
|
|
969
|
+
'value'].message_type = easy__rec_dot_python_dot_protos_dot_tf__predict__pb2._ARRAYPROTO
|
|
970
|
+
_PBRESPONSE_TFOUTPUTSENTRY.containing_type = _PBRESPONSE
|
|
971
|
+
_PBRESPONSE.fields_by_name['results'].message_type = _PBRESPONSE_RESULTSENTRY
|
|
972
|
+
_PBRESPONSE.fields_by_name[
|
|
973
|
+
'item_features'].message_type = _PBRESPONSE_ITEMFEATURESENTRY
|
|
974
|
+
_PBRESPONSE.fields_by_name[
|
|
975
|
+
'generate_features'].message_type = _PBRESPONSE_GENERATEFEATURESENTRY
|
|
976
|
+
_PBRESPONSE.fields_by_name[
|
|
977
|
+
'context_features'].message_type = _PBRESPONSE_CONTEXTFEATURESENTRY
|
|
978
|
+
_PBRESPONSE.fields_by_name['status_code'].enum_type = _STATUSCODE
|
|
979
|
+
_PBRESPONSE.fields_by_name[
|
|
980
|
+
'raw_features'].message_type = _PBRESPONSE_RAWFEATURESENTRY
|
|
981
|
+
_PBRESPONSE.fields_by_name[
|
|
982
|
+
'tf_outputs'].message_type = _PBRESPONSE_TFOUTPUTSENTRY
|
|
983
|
+
DESCRIPTOR.message_types_by_name['ContextFeatures'] = _CONTEXTFEATURES
|
|
984
|
+
DESCRIPTOR.message_types_by_name['PBFeature'] = _PBFEATURE
|
|
985
|
+
DESCRIPTOR.message_types_by_name['PBRequest'] = _PBREQUEST
|
|
986
|
+
DESCRIPTOR.message_types_by_name['Results'] = _RESULTS
|
|
987
|
+
DESCRIPTOR.message_types_by_name['PBResponse'] = _PBRESPONSE
|
|
988
|
+
DESCRIPTOR.enum_types_by_name['StatusCode'] = _STATUSCODE
|
|
989
|
+
_sym_db.RegisterFileDescriptor(DESCRIPTOR)
|
|
990
|
+
|
|
991
|
+
ContextFeatures = _reflection.GeneratedProtocolMessageType(
|
|
992
|
+
'ContextFeatures',
|
|
993
|
+
(_message.Message,),
|
|
994
|
+
dict(
|
|
995
|
+
DESCRIPTOR=_CONTEXTFEATURES,
|
|
996
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
997
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.ContextFeatures)
|
|
998
|
+
))
|
|
999
|
+
_sym_db.RegisterMessage(ContextFeatures)
|
|
1000
|
+
|
|
1001
|
+
PBFeature = _reflection.GeneratedProtocolMessageType(
|
|
1002
|
+
'PBFeature',
|
|
1003
|
+
(_message.Message,),
|
|
1004
|
+
dict(
|
|
1005
|
+
DESCRIPTOR=_PBFEATURE,
|
|
1006
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1007
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBFeature)
|
|
1008
|
+
))
|
|
1009
|
+
_sym_db.RegisterMessage(PBFeature)
|
|
1010
|
+
|
|
1011
|
+
PBRequest = _reflection.GeneratedProtocolMessageType(
|
|
1012
|
+
'PBRequest',
|
|
1013
|
+
(_message.Message,),
|
|
1014
|
+
dict(
|
|
1015
|
+
UserFeaturesEntry=_reflection.GeneratedProtocolMessageType(
|
|
1016
|
+
'UserFeaturesEntry',
|
|
1017
|
+
(_message.Message,),
|
|
1018
|
+
dict(
|
|
1019
|
+
DESCRIPTOR=_PBREQUEST_USERFEATURESENTRY,
|
|
1020
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1021
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBRequest.UserFeaturesEntry)
|
|
1022
|
+
)),
|
|
1023
|
+
ContextFeaturesEntry=_reflection.GeneratedProtocolMessageType(
|
|
1024
|
+
'ContextFeaturesEntry',
|
|
1025
|
+
(_message.Message,),
|
|
1026
|
+
dict(
|
|
1027
|
+
DESCRIPTOR=_PBREQUEST_CONTEXTFEATURESENTRY,
|
|
1028
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1029
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBRequest.ContextFeaturesEntry)
|
|
1030
|
+
)),
|
|
1031
|
+
DESCRIPTOR=_PBREQUEST,
|
|
1032
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1033
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBRequest)
|
|
1034
|
+
))
|
|
1035
|
+
_sym_db.RegisterMessage(PBRequest)
|
|
1036
|
+
_sym_db.RegisterMessage(PBRequest.UserFeaturesEntry)
|
|
1037
|
+
_sym_db.RegisterMessage(PBRequest.ContextFeaturesEntry)
|
|
1038
|
+
|
|
1039
|
+
Results = _reflection.GeneratedProtocolMessageType(
|
|
1040
|
+
'Results',
|
|
1041
|
+
(_message.Message,),
|
|
1042
|
+
dict(
|
|
1043
|
+
DESCRIPTOR=_RESULTS,
|
|
1044
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1045
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.Results)
|
|
1046
|
+
))
|
|
1047
|
+
_sym_db.RegisterMessage(Results)
|
|
1048
|
+
|
|
1049
|
+
PBResponse = _reflection.GeneratedProtocolMessageType(
|
|
1050
|
+
'PBResponse',
|
|
1051
|
+
(_message.Message,),
|
|
1052
|
+
dict(
|
|
1053
|
+
ResultsEntry=_reflection.GeneratedProtocolMessageType(
|
|
1054
|
+
'ResultsEntry',
|
|
1055
|
+
(_message.Message,),
|
|
1056
|
+
dict(
|
|
1057
|
+
DESCRIPTOR=_PBRESPONSE_RESULTSENTRY,
|
|
1058
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1059
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBResponse.ResultsEntry)
|
|
1060
|
+
)),
|
|
1061
|
+
ItemFeaturesEntry=_reflection.GeneratedProtocolMessageType(
|
|
1062
|
+
'ItemFeaturesEntry',
|
|
1063
|
+
(_message.Message,),
|
|
1064
|
+
dict(
|
|
1065
|
+
DESCRIPTOR=_PBRESPONSE_ITEMFEATURESENTRY,
|
|
1066
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1067
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBResponse.ItemFeaturesEntry)
|
|
1068
|
+
)),
|
|
1069
|
+
GenerateFeaturesEntry=_reflection.GeneratedProtocolMessageType(
|
|
1070
|
+
'GenerateFeaturesEntry',
|
|
1071
|
+
(_message.Message,),
|
|
1072
|
+
dict(
|
|
1073
|
+
DESCRIPTOR=_PBRESPONSE_GENERATEFEATURESENTRY,
|
|
1074
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1075
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBResponse.GenerateFeaturesEntry)
|
|
1076
|
+
)),
|
|
1077
|
+
ContextFeaturesEntry=_reflection.GeneratedProtocolMessageType(
|
|
1078
|
+
'ContextFeaturesEntry',
|
|
1079
|
+
(_message.Message,),
|
|
1080
|
+
dict(
|
|
1081
|
+
DESCRIPTOR=_PBRESPONSE_CONTEXTFEATURESENTRY,
|
|
1082
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1083
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBResponse.ContextFeaturesEntry)
|
|
1084
|
+
)),
|
|
1085
|
+
RawFeaturesEntry=_reflection.GeneratedProtocolMessageType(
|
|
1086
|
+
'RawFeaturesEntry',
|
|
1087
|
+
(_message.Message,),
|
|
1088
|
+
dict(
|
|
1089
|
+
DESCRIPTOR=_PBRESPONSE_RAWFEATURESENTRY,
|
|
1090
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1091
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBResponse.RawFeaturesEntry)
|
|
1092
|
+
)),
|
|
1093
|
+
TfOutputsEntry=_reflection.GeneratedProtocolMessageType(
|
|
1094
|
+
'TfOutputsEntry',
|
|
1095
|
+
(_message.Message,),
|
|
1096
|
+
dict(
|
|
1097
|
+
DESCRIPTOR=_PBRESPONSE_TFOUTPUTSENTRY,
|
|
1098
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1099
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBResponse.TfOutputsEntry)
|
|
1100
|
+
)),
|
|
1101
|
+
DESCRIPTOR=_PBRESPONSE,
|
|
1102
|
+
__module__='easy_rec.python.protos.predict_pb2'
|
|
1103
|
+
# @@protoc_insertion_point(class_scope:com.alibaba.pairec.processor.PBResponse)
|
|
1104
|
+
))
|
|
1105
|
+
_sym_db.RegisterMessage(PBResponse)
|
|
1106
|
+
_sym_db.RegisterMessage(PBResponse.ResultsEntry)
|
|
1107
|
+
_sym_db.RegisterMessage(PBResponse.ItemFeaturesEntry)
|
|
1108
|
+
_sym_db.RegisterMessage(PBResponse.GenerateFeaturesEntry)
|
|
1109
|
+
_sym_db.RegisterMessage(PBResponse.ContextFeaturesEntry)
|
|
1110
|
+
_sym_db.RegisterMessage(PBResponse.RawFeaturesEntry)
|
|
1111
|
+
_sym_db.RegisterMessage(PBResponse.TfOutputsEntry)
|
|
1112
|
+
|
|
1113
|
+
_PBREQUEST_USERFEATURESENTRY.has_options = True
|
|
1114
|
+
_PBREQUEST_USERFEATURESENTRY._options = _descriptor._ParseOptions(
|
|
1115
|
+
descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
1116
|
+
_PBREQUEST_CONTEXTFEATURESENTRY.has_options = True
|
|
1117
|
+
_PBREQUEST_CONTEXTFEATURESENTRY._options = _descriptor._ParseOptions(
|
|
1118
|
+
descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
1119
|
+
_RESULTS.fields_by_name['scores'].has_options = True
|
|
1120
|
+
_RESULTS.fields_by_name['scores']._options = _descriptor._ParseOptions(
|
|
1121
|
+
descriptor_pb2.FieldOptions(), _b('\020\001'))
|
|
1122
|
+
_PBRESPONSE_RESULTSENTRY.has_options = True
|
|
1123
|
+
_PBRESPONSE_RESULTSENTRY._options = _descriptor._ParseOptions(
|
|
1124
|
+
descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
1125
|
+
_PBRESPONSE_ITEMFEATURESENTRY.has_options = True
|
|
1126
|
+
_PBRESPONSE_ITEMFEATURESENTRY._options = _descriptor._ParseOptions(
|
|
1127
|
+
descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
1128
|
+
_PBRESPONSE_GENERATEFEATURESENTRY.has_options = True
|
|
1129
|
+
_PBRESPONSE_GENERATEFEATURESENTRY._options = _descriptor._ParseOptions(
|
|
1130
|
+
descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
1131
|
+
_PBRESPONSE_CONTEXTFEATURESENTRY.has_options = True
|
|
1132
|
+
_PBRESPONSE_CONTEXTFEATURESENTRY._options = _descriptor._ParseOptions(
|
|
1133
|
+
descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
1134
|
+
_PBRESPONSE_RAWFEATURESENTRY.has_options = True
|
|
1135
|
+
_PBRESPONSE_RAWFEATURESENTRY._options = _descriptor._ParseOptions(
|
|
1136
|
+
descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
1137
|
+
_PBRESPONSE_TFOUTPUTSENTRY.has_options = True
|
|
1138
|
+
_PBRESPONSE_TFOUTPUTSENTRY._options = _descriptor._ParseOptions(
|
|
1139
|
+
descriptor_pb2.MessageOptions(), _b('8\001'))
|
|
1140
|
+
# @@protoc_insertion_point(module_scope)
|