MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersMethodexit_flow
(self, data)
CV/SemSegPaddle/src/models/backbone/xception.py:201
↓ 1 callersMethodexpand_cand_seq
expand the alive seq by concatenating the topk candidates
NLP/UNIMO-2/src/finetune/trigram_blocking.py:74
↓ 1 callersMethodexpand_cand_seq
expand the alive seq by concatenating the topk candidates
NLP/ACL2020-GraphSum/src/models/trigram_blocking.py:67
↓ 1 callersFunctionexport_results_to_txt
(image_path, bbox_results, save_root)
CV/VehicleCounting/PaddleDetection/tools/infer.py:98
↓ 1 callersMethodext_predict
Create predict network
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_model.py:406
↓ 1 callersMethodextract_date_from_text
Args: text (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:243
↓ 1 callersFunctionextract_predict_utterance
convert_result_for_eval
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/extract_predict_utterance.py:22
↓ 1 callersFunctionextract_predict_utterance
convert_result_for_eval
NLP/ACL2019-DuConv/retrieval_paddle/tools/extract_predict_utterance.py:22
↓ 1 callersMethodextract_values_from_column
extract values from column
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:306
↓ 1 callersMethodextract_values_from_text
extract values from text
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:294
↓ 1 callersMethodextract_year_from_text
extract year from text
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:229
↓ 1 callersFunctionf1_score
(preds, labels)
NLP/NAACL2021-RocketQA/model/src/finetune/cross_encoder.py:252
↓ 1 callersFunctionf1_score
f1_score
NLP/UNIMO-2/src/finetune/glue_eval.py:111
↓ 1 callersFunctionf1_score
(preds, labels)
NLP/ACL2021-PAIR/model/src/finetune/dual_encoder.py:344
↓ 1 callersFunctionf1_score
f1_score
NLP/EMNLP2021-SgSum/src/eval/glue_eval.py:109
↓ 1 callersFunctionf1_score
(preds, labels)
KG/DuEL_Baseline/ernie/finetune/type_pairwise_ranker.py:373
↓ 1 callersFunctionfast_decode
Use beam search to decode. Caches will be used to store states of history steps which can make the decoding faster.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer.py:812
↓ 1 callersMethodfast_decode
(self)
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:227
↓ 1 callersMethodfast_decode
Inference process of the model
NLP/ACL2020-GraphSum/src/networks/graphsum/graphsum_model.py:483
↓ 1 callersMethodfast_decode
create model for inference
NLP/UNIMO/src/finetune/seq2seq.py:185
↓ 1 callersMethodfast_decode
create model for inference
NLP/UNIMO/src/finetune/img2txt.py:839
↓ 1 callersFunctionfast_infer
Inference by beam search decoder based solely on Fluid operators.
NLP/EMNLP2019-MAL/src/infer.py:262
↓ 1 callersFunctionfast_infer
Inference by beam search decoder based solely on Fluid operators.
NLP/ACL2019-JEMT/infer.py:209
↓ 1 callersFunctionfeature_interpolation
(fm_src, fm_tgt, lam, index_perb)
CV/SMILE/finetune.py:123
↓ 1 callersMethodfetch_task_batch
(self, task_idx2results=None, stage='stage1', curriculum=True, hard_task=True, batch_id=0)
ST_DM/KDD2021-CHAML/utils/metadataset.py:117
↓ 1 callersFunctionffn
Position-wise Feed-Forward Network
NLP/ACL2018-DAM/layers.py:44
↓ 1 callersFunctionfile_saver
file_saver
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/goal_planning.py:175
↓ 1 callersFunctionfill_tags
For entities that appear in text, replace their tags with 'B-ENT/I-ENT'.
KG/DuKEVU_Baseline/paddle-video-semantic-tag/prepare_semantic_tag.py:32
↓ 1 callersFunctionfilter_base_data
(raw_train_file, raw_dev_file, raw_test_file, train_base_file, dev_base_file, test_base_f
KG/CoKE/bin/pathquery_data_preprocess.py:191
↓ 1 callersMethodfilter_pred
src_filter_pred
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:36
↓ 1 callersMethodfilter_pred
src_filter_pred
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:36
↓ 1 callersMethodfilter_tokens_by_cnt
filter the tokens in vocab by their count Args: min_cnt: tokens with frequency less than min_cnt is filtered
NLP/ACL2018-DuReader/src/vocab.py:116
↓ 1 callersMethodfinalize_metrics
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/kinetics/accuracy_metrics.py:40
↓ 1 callersFunctionfind_all_best_thresh
(main_eval, preds, exact_raw, f1_raw, na_probs, qid_to_has_ans)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:252
↓ 1 callersFunctionfind_best_answer_for_inst
Finds the best answer for a sample given start_prob and end_prob for each position. This will call find_best_answer_for_passage because there
NLP/ACL2018-DuReader/src/run.py:176
↓ 1 callersFunctionfind_best_answer_for_passage
Finds the best answer with the maximum start_prob * end_prob from a single passage
NLP/ACL2018-DuReader/src/run.py:154
↓ 1 callersFunctionfind_fake_answer
For each document, finds the most related paragraph based on recall, then finds a span that maximize the f1_score compared with the gold answ
NLP/ACL2018-DuReader/utils/preprocess.py:142
↓ 1 callersFunctionfind_fake_answer
For each document, finds the most related paragraph based on recall, then finds a span that maximize the f1_score compared with the gold answ
NLP/ACL2018-DuReader/src/preprocess.py:142
↓ 1 callersFunctionfind_largest_connected_component_area
Find the largest connected component area froma mask image. ---- Args: mask: 2D array, 0 for background and 1 for foreground.
CV/robust_vessel_segmentation/data_aug.py:18
↓ 1 callersFunctionfind_lcs
(s1, s2)
NLP/UNIMO-2/src/utils/cmrc2018_eval.py:69
↓ 1 callersFunctionfind_lcs
find the longest common subsequence between s1 ans s2
NLP/DuReader-Checklist-BASELINE/evaluate.py:85
↓ 1 callersFunctionfind_lcs
find the longest common subsequence between s1 ans s2
NLP/DuReader-Robust-BASELINE/evaluate.py:85
↓ 1 callersFunctionfind_lcs
find_lcs
KG/DuEE_baseline/bin/utils/cmrc2018_eval.py:88
↓ 1 callersMethodfind_word_occurrences
find word occurrences
NLP/Text2SQL-BASELINE/text2sql/models/encoder_v2.py:62
↓ 1 callersFunctionfinetune_cnn
(args)
CV/SMILE/finetune.py:274
↓ 1 callersMethodfinetuning_adapt
(self, x_spt, y_spt, poiid_emb, scaler=None, meta_feature=None)
ST_DM/KDD2021-CHAML/model/meta.py:140
↓ 1 callersMethodfinish
finish
NLP/Text2SQL-BASELINE/text2sql/dataproc/vocab.py:106
↓ 1 callersMethodfix_sql_value
fix sql value to 'value' token Args: sql_json (TYPE): NULL value_dict (TYPE): Returns: TODO Raises
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_preproc_v2.py:239
↓ 1 callersFunctionfix_tokenization
(text)
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/eval.py:145
↓ 1 callersFunctionflatten_batch
(batch)
NLP/IJCAI2019-MMPMS/mmpms/engine.py:39
↓ 1 callersFunctionflow_compute_color
Applies the flow color wheel to (possibly clipped) flow components u and v. According to the C++ source code of Daniel Scharstein Accord
CV/PWCNet/src/flow_vis.py:68
↓ 1 callersFunctionformat_metrics
Format metrics. 'err' field returns any error occured during evaluation. Args: metrics: A dict object contains metrics for different
NLP/ACL2018-DuReader/utils/dureader_eval.py:444
↓ 1 callersMethodforward
(self, inputs)
CV/PaddleFSL/methods/relationnet.py:48
↓ 1 callersMethodforward
(self, samples, labels)
CV/PaddleFSL/methods/template.py:31
↓ 1 callersMethodforward
(self, save_file)
ST_DM/KDD2021-CHAML/preprocess/step4.py:25
↓ 1 callersMethodforward
(self, *inputs, **kwargs)
NLP/Dialogue-PLATO/plato/modules/parallel.py:156
↓ 1 callersMethodforward
Forward process, include real forward, collect metrices and optimize(optional) @params : inputs : input data @type : dict of
NLP/Dialogue-PLATO/plato/models/model_base.py:110
↓ 1 callersMethodforward
forward function
NLP/IJCAI2019-MMPMS/mmpms/modules/decoder.py:28
↓ 1 callersMethodforward
(self, input, is_training)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/attention_lstm/lstm_attention.py:31
↓ 1 callersMethodforward_features
(self, x)
CV/SMILE/backbones/vit.py:394
↓ 1 callersMethodforward_features
forward
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/model/brain_intracranial_hemorrhage_clas/swin_transformers_update.py:667
↓ 1 callersFunctionframes_loader
(recode, nsample, seglen, mode)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/kinetics_reader.py:342
↓ 1 callersMethodfree_page
free 'page_num' pages start from 'start'
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:355
↓ 1 callersMethodfreeze_embedding
freeze embedding
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/ernie_encoder.py:99
↓ 1 callersFunctionfreeze_layer
freeze layer
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer_encoder.py:367
↓ 1 callersMethodfrom_dict
doc
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_label.py:93
↓ 1 callersMethodfuse_layers
(self, x, channels, multi_scale_output=True, name=None)
CV/SemSegPaddle/src/models/backbone/hrnet.py:82
↓ 1 callersFunctiongather_text_and_tags
(sample, test_only=False)
KG/DuKEVU_Baseline/paddle-video-semantic-tag/prepare_semantic_tag.py:31
↓ 1 callersFunctiongcn_module
input: any tensor of 3D, B,C,N
CV/SemSegPaddle/src/models/modeling/glore.py:26
↓ 1 callersFunctiongen
()
NLP/NAACL2021-RocketQA/model/src/reader/reader_de_infer.py:43
↓ 1 callersFunctiongen
()
NLP/NAACL2021-RocketQA/model/src/reader/reader_de.py:43
↓ 1 callersFunctiongen
()
NLP/NAACL2021-RocketQA/model/src/reader/reader_ce.py:43
↓ 1 callersFunctiongen
()
NLP/ACL2021-PAIR/model/src/reader/reader_de_infer.py:43
↓ 1 callersFunctiongen
()
NLP/ACL2021-PAIR/model/src/reader/reader_de.py:43
↓ 1 callersFunctiongen
()
KG/AAAI2021_SSAN/dataset.py:42
↓ 1 callersFunctiongen
gen
KG/DuEL_Baseline/ernie/reader/type_pairwise_ranker_reader.py:43
↓ 1 callersFunctiongen
gen
KG/DuEE_baseline/bin/reader/task_reader.py:47
↓ 1 callersMethodgen_bottleneck_params
(self, backbone='xception_65')
CV/SemSegPaddle/src/models/backbone/xception.py:60
↓ 1 callersFunctiongen_conds
Args: cond_cols (TYPE): NULL rows (TYPE): NULL Returns: (col_id, col_name, col_name_original, value) Raises: NULL
NLP/Text2SQL-DA-HIER/clause2subquestion/auto_gen/auto_gen_simple_query.py:251
↓ 1 callersFunctiongen_config
read configs from file, and updating it by command-line arguments Args: config_path (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/global_config.py:101
↓ 1 callersMethodgen_data_fnames
generate filenames for train and valid return: train_filenames, valid_filenames
NLP/EMNLP2019-MAL/src/gen_records.py:29
↓ 1 callersMethodgen_dataset_mapping
global index -> dataset index file_dataset_mapping: key = global index value = (dataset id, dataset ind
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/tasks/task.py:52
↓ 1 callersFunctiongen_instance
Args: select_cols (TYPE): [(col_id1, col_name1, col_name1_orignial), (...), ...] other_cols (TYPE): [(col_id1, col_name1, col_nam
NLP/Text2SQL-DA-HIER/clause2subquestion/auto_gen/auto_gen_simple_query.py:313
↓ 1 callersFunctiongen_regions
Desc: 从reg_file中生成regions Args: reg_file : region file Return: None Raise: None
ST_DM/GenRegion/src/region/geometry.py:1132
↓ 1 callersFunctiongen_segments
Desc: seg generator Args: seg_file : segment file Return: None Raise: None
ST_DM/GenRegion/src/region/geometry.py:1080
↓ 1 callersFunctiongen_seq2seq_mask
generate input mask for seq2seq
NLP/UNIMO/src/reader/batching.py:110
↓ 1 callersMethodgen_token
gen token
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:549
↓ 1 callersMethodgen_token_loss
gen token loss
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:568
↓ 1 callersFunctiongeneral_attention
mode: mlp, concat, general, location score(st,hi)=st^t * Wa * hi
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:107
↓ 1 callersFunctiongeneral_attention
mode: mlp, concat, general, location score(st,hi)=st^t * Wa * hi
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:107
↓ 1 callersFunctiongeneral_attention
mode: mlp, concat, general, location score(st,hi)=st^t * Wa * hi
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:107
↓ 1 callersFunctiongeneral_attention
mode: mlp, concat, general, location score(st,hi)=st^t * Wa * hi
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/net_helper.py:44
↓ 1 callersFunctiongenerate
Generate lines for vocabulary generation.
NLP/EMNLP2019-MAL/src/preprocess/gen_utils.py:27
↓ 1 callersFunctiongenerate
Generate lines for vocabulary generation.
NLP/EMNLP2019-MAL/src/preprocess/subword_decode.py:27
↓ 1 callersFunctiongenerate_base_cities
(cities)
ST_DM/KDD2021-CHAML/preprocess/step3.py:190
↓ 1 callersMethodgenerate_batch_data
generate_batch_data
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:220
↓ 1 callersMethodgenerate_batch_data
(self, batch_data, voc_size=-1,
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:215
↓ 1 callersFunctiongenerate_city
(file_name)
ST_DM/KDD2021-CHAML/preprocess/fake_data_generator.py:21
↓ 1 callersFunctiongenerate_city_names_config
(names, role)
ST_DM/KDD2021-CHAML/preprocess/fake_data_generator.py:39
↓ 1 callersFunctiongenerate_eval_files
(vocab_path, raw_test_file, train_base_file, dev_base_file, test_base_file, sen_candli
KG/CoKE/bin/pathquery_data_preprocess.py:222
← previousnext →3,101–3,200 of 7,542, ranked by callers