MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 3 callersMethod__init__
(self, hparams, bpe)
NLP/Dialogue-PLATO/plato/models/generator.py:132
↓ 3 callersMethod__init_points
Desc: 初始化 Args: self : self points : 构成polygon的点, 首点和末点不相同 holes : 区域内洞的表达 Return:
ST_DM/GenRegion/src/region/geometry.py:475
↓ 3 callersMethod__operate
Desc: 两个region进行交集, 差集, 并集运算 Args: self : self op : "interact", "subtract", "union" regi
ST_DM/GenRegion/src/region/geometry.py:788
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer_encoder.py:96
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
ST_DM/KDD2021-HGAMN/src/model/transformer_encoder.py:77
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/NAACL2021-RocketQA/model/src/model/transformer_encoder.py:77
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/UNIMO-2/src/model/transformer_encoder.py:86
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/UNIMO-2/src/model/vision_transformer_encoder.py:95
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/encoders/transformer.py:73
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/module/transformer_encoder.py:105
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/nets/transformer_encoder.py:78
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/module/transformer_encoder.py:105
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/MRQA2019-D-NET/server/xlnet_server/model/transformer_encoder.py:78
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/EMNLP2019-MAL/src/relative_model.py:120
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/EMNLP2019-MAL/src/forward_model.py:119
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/EMNLP2019-MAL/src/dense_model.py:118
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/ACL2021-PAIR/model/src/model/transformer_encoder.py:77
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/EMNLP2021-SgSum/src/roberta/roberta_encoder.py:75
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_encoder.py:75
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/ACL2019-DuConv/retrieval_paddle/source/encoders/transformer.py:73
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/ACL2019-KTNET/reading_comprehension/src/model/transformer_encoder.py:108
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/DuReader-Robust-BASELINE/src/model/transformer_encoder.py:78
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/UNIMO/src/model/transformer_encoder.py:78
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/MRQA2019-BASELINE/src/model/transformer_encoder.py:78
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
KG/AAAI2021_SSAN/model/SSAN_encoder.py:81
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
KG/DuIE_Baseline/ernie/model/transformer_encoder.py:77
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
KG/DuEL_Baseline/ernie/model/transformer_encoder.py:88
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
KG/CoKE/bin/model/transformer_encoder.py:115
↓ 3 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
KG/DuEE_baseline/bin/model/transformer_encoder.py:77
↓ 3 callersFunction__split_heads
Reshape the last dimension of input tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
KG/ACL2021_GRAN/src/model/graph_encoder.py:118
↓ 3 callersMethod_add_constructor
(self, sum_type_name, constructor)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:179
↓ 3 callersMethod_build_model
(self, src_ids, position_ids, sentence_ids, input_mask, gather_idx=None, role_ids=None, t
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/ernie_gen.py:261
↓ 3 callersMethod_build_model
(self, text_input=None, text_mask=None, gather_idx=None, image_input=None, image_mask=None)
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:1380
↓ 3 callersMethod_build_model
(self, src_ids, position_ids, task_ids, n_head_self_attn_mask)
NLP/EMNLP2021-SgSum/src/roberta/roberta.py:93
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:370
↓ 3 callersMethod_create_examples
Creates examples for the training and dev sets.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:359
↓ 3 callersFunction_data_generator
stdin sample generator: read from stdin
ST_DM/KDD2020-P3AC/datasets/poi_qac_personalized/qac_personalized.py:347
↓ 3 callersMethod_eval_exact_match
eval_exact_match
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:688
↓ 3 callersMethod_eval_exact_match
eval_exact_match
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:707
↓ 3 callersFunction_foreign_key_id
Args: db (TYPE): NULL col (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/linking_utils.py:394
↓ 3 callersMethod_gen_input
:param src_ids: :param position_ids: :param sentence_ids: :param task_ids: :param input_mask: :return
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/ernie_gen.py:115
↓ 3 callersMethod_gen_input
encode images and texts independently by Vit and RoBERTa, get the optimal grounded tokens
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:1135
↓ 3 callersMethod_gen_input
(self, text_input=None, text_mask=None, image_input=None, image_mask=None, gather_idx=None,
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:1634
↓ 3 callersMethod_get_abs_string_index
Get the absolute index for the list of layers
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:87
↓ 3 callersMethod_get_ids
(self, seg_info)
ST_DM/KDD2020-P3AC/datasets/poi_qac_personalized/qac_personalized.py:158
↓ 3 callersMethod_get_ids
(self, seg_info)
ST_DM/KDD2021-MSTPAC/code/ST-PAC/datasets/poi_qac_personalized/qac_personalized.py:164
↓ 3 callersMethod_get_ids
(self, seg_info)
ST_DM/KDD2021-MSTPAC/code/MST-PAC/datasets/poi_qac_personalized/qac_personalized.py:162
↓ 3 callersMethod_index
get token id
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:489
↓ 3 callersMethod_init_subtokens_from_list
Initialize token information from a list of subtoken strings. Args: subtoken_strings: a list of subtokens reserved_tokens
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:664
↓ 3 callersMethod_is_data_parallel_mode
(self)
NLP/Dialogue-PLATO/plato/modules/parallel.py:266
↓ 3 callersFunction_is_whitespace
Checks whether `chars` is a whitespace character.
ST_DM/KDD2021-HGAMN/src/tokenization.py:428
↓ 3 callersMethod_load_dataset
Loads the dataset Args: data_path: the data file to load
NLP/ACL2018-DuReader/src/dataset.py:65
↓ 3 callersFunction_make_divisible
(v, divisor, min_value=None)
CV/SMILE/backbones/mobilenetv2.py:32
↓ 3 callersFunction_model
(is_noise=False)
NLP/NAACL2021-RocketQA/model/src/finetune/cross_encoder.py:54
↓ 3 callersFunction_nltk_tokenize
(sequence)
NLP/ACL2018-DuReader/utils/marco_tokenize_data.py:20
↓ 3 callersMethod_pad_batch_records
(self, batch_records, do_decode, place)
NLP/UNIMO/src/reader/img2txt_reader.py:344
↓ 3 callersMethod_parse_flags
(self, args=None)
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/flags.py:32
↓ 3 callersMethod_parse_flags
(self, args=None)
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/flags.py:31
↓ 3 callersMethod_read_csv
Reads a comma separated value file.
NLP/NAACL2019-MPM/reader.py:427
↓ 3 callersMethod_read_data
Reads a tab separated value file.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:237
↓ 3 callersMethod_read_data
Reads a tab separated value file.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:231
↓ 3 callersMethod_read_json_file
_read_json_file
KG/DuEE_baseline/bin/reader/task_reader.py:389
↓ 3 callersMethod_read_json_file
_read_json_file
KG/DuEE_baseline/bin/reader/task_reader.py:680
↓ 3 callersFunction_resplit
resplit
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:102
↓ 3 callersFunction_resplit
resplit
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:106
↓ 3 callersMethod_split_heads
(self, x, is_key=False)
NLP/Dialogue-PLATO/plato/modules/multihead_attention.py:48
↓ 3 callersMethod_to_lodtensor
(self, data, place, lod=None)
NLP/UNIMO-2/src/reader/img2txt_oscar_reader.py:301
↓ 3 callersMethod_to_lodtensor
(self, data, place, lod=None)
NLP/UNIMO/src/reader/img2txt_reader.py:337
↓ 3 callersMethod_to_lodtensor
(self, data, place, lod=None)
NLP/UNIMO/src/reader/seq2seq_reader.py:374
↓ 3 callersFunction_tokenize_chinese_chars
:param text: input text, unicode string :return: tokenized text, list
NLP/DuReader-Robust-BASELINE/evaluate.py:19
↓ 3 callersMethod_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
NLP/NAACL2021-RocketQA/model/src/reader/reader_de.py:111
↓ 3 callersMethod_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
NLP/ACL2021-PAIR/model/src/reader/reader_de.py:111
↓ 3 callersMethodadd_exsits_vocab
:param filename
NLP/EMNLP2019-MAL/src/preprocess/problem.py:206
↓ 3 callersMethodapply_rule
apply rule
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:521
↓ 3 callersFunctionbbox_area
(src_bbox)
CV/astar2019/image_util.py:45
↓ 3 callersFunctionbeam_search
(model, orig_item, preproc_item, beam_size, max_steps)
NLP/Text2SQL-BASELINE/text2sql/models/beam_search.py:35
↓ 3 callersFunctionbgr_mapping
(img_val)
CV/AICity2020-Anomaly-Detection/pixel_track/coarse_ddet/utils_func.py:6
↓ 3 callersFunctionbuild_batches
Build batches
NLP/ACL2018-DAM/reader.py:172
↓ 3 callersMethodbuild_examples
(self, data_file)
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataset.py:116
↓ 3 callersMethodbuild_from_corpus
:param filenames: :param vocab_size: :return:
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:780
↓ 3 callersFunctionbuild_model
(main_prog, start_prog, phase=ModelPhase.TRAIN)
CV/SemSegPaddle/src/models/model_builder.py:113
↓ 3 callersMethodcal_max_len
calculate max sequence length
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:229
↓ 3 callersFunctioncalc_cover_rate
calc_cover_rate
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/eval.py:77
↓ 3 callersFunctioncalc_cover_rate
calc_cover_rate
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/tools/eval.py:78
↓ 3 callersFunctioncalc_cover_rate
calc_cover_rate
NLP/ACL2019-DuConv/retrieval_paddle/tools/eval.py:77
↓ 3 callersFunctioncalc_cover_rate
calc_cover_rate
NLP/ACL2019-DuConv/generative_paddle/tools/eval.py:78
↓ 3 callersFunctioncalc_mrr_k
calc mrr at k for dataset
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/mrr_ndcg.py:207
↓ 3 callersFunctioncalc_mrr_k
calc mrr at k for dataset
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/calc_ndcg_mrr.py:44
↓ 3 callersFunctioncalc_ndcg_k
calc ndcg at k for dataset
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/mrr_ndcg.py:187
↓ 3 callersFunctioncalc_ndcg_k
calc ndcg at k for dataset
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/calc_ndcg_mrr.py:24
↓ 3 callersFunctioncalculate_f1
calculate_f1
KG/DuEE_baseline/bin/finetune/sequence_label.py:160
↓ 3 callersFunctioncandidate_slection
candidate slection
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/construct_candidate.py:43
↓ 3 callersFunctioncandidate_slection
candidate slection
NLP/ACL2019-DuConv/retrieval_paddle/tools/construct_candidate.py:43
↓ 3 callersMethodcapacity
size of allocated memory
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:170
↓ 3 callersMethodchange_data_format
Reformat the data and drop literals if necessary.
KG/ACL2021_GRAN/preprocessing.py:195
↓ 3 callersMethodchange_data_format
Reformat the data.
KG/ACL2021_GRAN/preprocessing.py:370
↓ 3 callersMethodchange_data_format
Reformat the data.
KG/ACL2021_GRAN/preprocessing.py:541
↓ 3 callersMethodcheck_and_infer
(self)
CV/SemSegPaddle/src/utils/collect.py:91
↓ 3 callersFunctioncheck_cuda
(use_cuda, err = \ "\nYou can not set use_cuda = True in the model because you are using paddlepaddle-cpu.
NLP/NAACL2021-RocketQA/model/src/utils/args.py:74
↓ 3 callersFunctioncheck_cuda
(use_cuda, err = \ "\nYou can not set use_gpu = True in the model because you are using paddlepaddle-cpu.\
KG/DuKEVU_Baseline/paddle-video-classify-tag/utils/utility.py:45
← previousnext →601–700 of 7,542, ranked by callers