MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 3 callersFunctioncheck_version
Log error and exit when the installed version of paddlepaddle is not satisfied.
KG/DuKEVU_Baseline/paddle-video-classify-tag/utils/utility.py:57
↓ 3 callersFunctionclamp
clamp value
NLP/Text2SQL-BASELINE/text2sql/utils/linking_utils.py:46
↓ 3 callersFunctionclean_str
Tokenization/string cleaning for all datasets except for SST. Original taken from https://github.com/yoonkim/CNN_sentence/blob/master/process
NLP/NAACL2019-MPM/reader.py:436
↓ 3 callersFunctioncls_from_ernie
cls_from_ernie
KG/DuEL_Baseline/ernie/finetune/type_pairwise_ranker.py:33
↓ 3 callersFunctionconv_bn_layer
(input, num_filters, filter_size, stride=1,
CV/AGEchallenge/LocalizationUNet/res_unet_paddle.py:8
↓ 3 callersFunctionconvert
(args)
CV/landmark/inference/convert_binary_model.py:41
↓ 3 callersMethodconvert_to_ids
Convert the question and passage in the original dataset to ids Args: vocab: the vocabulary on this dataset
NLP/ACL2018-DuReader/src/dataset.py:202
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:35
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/common_lib.py:57
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/NAACL2021-RocketQA/model/src/tokenization.py:30
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/MRQA2019-D-NET/server/bert_server/task_reader/tokenization.py:26
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/tokenization.py:26
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/ACL2021-PAIR/model/src/tokenization.py:30
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:26
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_record/tokenization.py:26
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_squad/tokenization.py:26
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/DuReader-Robust-BASELINE/src/tokenization.py:27
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/UNIMO/src/model/tokenization.py:31
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/MRQA2019-BASELINE/src/tokenization.py:26
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
KG/AAAI2021_SSAN/utils/tokenization.py:30
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
KG/DuIE_Baseline/ernie/tokenization.py:30
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
KG/DuEL_Baseline/ernie/tokenization.py:28
↓ 3 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
KG/DuEE_baseline/bin/tokenization.py:30
↓ 3 callersFunctionconvert_tokens_to_ids
convert input ids
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:391
↓ 3 callersMethodconvert_tokens_to_ids
convert_tokens_to_ids
KG/DuEL_Baseline/ernie/tokenization.py:131
↓ 3 callersMethodconvert_tokens_to_ids
convert_tokens_to_ids
KG/DuEE_baseline/bin/tokenization.py:133
↓ 3 callersFunctioncorrelation
(input1, input2, pad_size, kernel_size, max_displacement, stride1, stride2, corr_type_multiply=1)
CV/PWCNet/correlation_op/correlation.py:21
↓ 3 callersFunctioncos
Desc: 对于一个节点, invec为进入这个节点的向量, outvec为从这个节点退出的向量 计算进入向量与退出向量之间夹角cos Args: invec : invec, (inx, iny) outvec : outvec
ST_DM/GenRegion/src/generate/gen/generator.py:15
↓ 3 callersMethodcreate
Create generator.
NLP/Dialogue-PLATO/plato/models/generator.py:78
↓ 3 callersMethodcreate_data_layers
Create data layer
NLP/ACL2018-DAM/net.py:82
↓ 3 callersFunctioncreate_model
create_model
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/train.py:38
↓ 3 callersFunctioncreate_model
(args, num_labels, is_prediction=False)
NLP/ACL2019-DuConv/retrieval_paddle/train.py:38
↓ 3 callersFunctioncreate_model
create_model
KG/DuEL_Baseline/ernie/finetune/type_pairwise_ranker.py:62
↓ 3 callersMethodcreate_network
Create network
NLP/ACL2018-DAM/net.py:127
↓ 3 callersMethodcreate_places
create platform places fluid.cpu_places()
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:481
↓ 3 callersFunctioncreate_prompt
Create prompt for a given example. Args: eg: example dict data_name: name of the dataset/task
NLP/ACL2024-NACL/src/eval_utils.py:137
↓ 3 callersFunctioncreate_readerMT
Return iterable data reader. Args: max_iter (int): number of iterations.
CV/PaddleReid/reid/data/reader_mt.py:373
↓ 3 callersMethodcv2_imread
(self, file_path, flag=cv2.IMREAD_COLOR)
CV/SemSegPaddle/src/datasets/baseseg.py:149
↓ 3 callersMethoddata_generator
Generate data for train, dev or test.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:256
↓ 3 callersMethoddata_generator
Generate data for train, dev or test.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:132
↓ 3 callersMethoddata_generator
Generate data for train, dev or test.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:250
↓ 3 callersMethoddata_generator
Generate data for train, dev or test.
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:132
↓ 3 callersMethoddata_generator
(self, data_dir, mode, batch_size,
KG/AAAI2021_SSAN/dataset.py:152
↓ 3 callersFunctiondata_zip
(utterance, goal_input, label)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_binary_lstm.py:69
↓ 3 callersMethoddecode_token
(self, token)
NLP/UNIMO-2/src/model/roberta_tokenization.py:231
↓ 3 callersMethoddenumericalize
(self, indices)
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataset.py:109
↓ 3 callersFunctiondot_attention
dot attention
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/models/knowledge_seq2seq.py:204
↓ 3 callersFunctiondot_attention
dot attention
NLP/ACL2019-DuConv/generative_paddle/source/models/knowledge_seq2seq.py:207
↓ 3 callersFunctiondot_product_attention
Args: query: a tensor with shape [batch, Q_time, Q_dimension] key: a tensor with shape [batch, time, K_dimension] val
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:132
↓ 3 callersFunctiondot_product_attention
Args: query: a tensor with shape [batch, Q_time, Q_dimension] key: a tensor with shape [batch, time, K_dimension] val
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:132
↓ 3 callersFunctiondot_product_attention
Args: query: a tensor with shape [batch, Q_time, Q_dimension] key: a tensor with shape [batch, time, K_dimension] val
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:132
↓ 3 callersMethodempty
are all allocatable pages available
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:260
↓ 3 callersMethodencode
(self, text_input=None, text_mask=None, gather_idx=None, image_input=None, image_mask=None, dec
NLP/UNIMO-2/src/model/unimo_grounded.py:251
↓ 3 callersMethodencode
(self, text_input=None, text_mask=None, gather_idx=None, image_input=None, image_mask=None, dec
NLP/UNIMO-2/src/model/unimo_grounded_baseline.py:215
↓ 3 callersMethodencode
bpe encoding
NLP/UNIMO-2/src/model/roberta_tokenization.py:211
↓ 3 callersMethodencode
(self, text_input=None, text_mask=None, gather_idx=None, image_input=None, image_mask=None, dec
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:781
↓ 3 callersMethodencode
bpe encoding
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:210
↓ 3 callersMethodencode
bpe encoding
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:181
↓ 3 callersMethodencode
bpe encoding
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:210
↓ 3 callersFunctionencoder_layer
The encoder layers that can be stacked to form a deep encoder. This module consits of a multi-head (self) attention followed by position-wise
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer_encoder.py:282
↓ 3 callersMethodend
(self)
NLP/Dialogue-PLATO/tools/timer.py:28
↓ 3 callersMethodeval_exact_match
wrapper of evaluate examct match, to process `SQL1 intersect/union SQL2` vs `SQL2 intersect/union SQL1` Args: pred (TYPE)
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:721
↓ 3 callersMethodeval_partial_match
eval_partial_match
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:752
↓ 3 callersFunctionevaluate
(ground_truth_file, prediction_file)
NLP/UNIMO-2/src/utils/cmrc2018_eval.py:84
↓ 3 callersFunctionevaluate_dataset
(phase, path)
NLP/UNIMO-2/src/run_img2txt_oscar.py:69
↓ 3 callersFunctionevaluate_dataset
run evaluation
NLP/UNIMO/src/run_seq2seq.py:43
↓ 3 callersFunctionevaluate_dataset
run evaluation
NLP/UNIMO/src/run_img2txt.py:49
↓ 3 callersFunctionevaluate_wrapper
evaluate_wrapper
KG/DuEE_baseline/bin/run_event_role.py:315
↓ 3 callersFunctionevaluate_wrapper
evaluate_wrapper
KG/DuEE_baseline/bin/run_event_trigger.py:316
↓ 3 callersMethodexecute
(self, program, feed, fetch_dict, return_numpy=True)
NLP/IJCAI2019-MMPMS/mmpms/models/model_base.py:60
↓ 3 callersFunctionfil_base
(input_file, output_file)
KG/CoKE/bin/pathquery_data_preprocess.py:193
↓ 3 callersFunctionfile_loader
(file_path)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/data_generator.py:62
↓ 3 callersMethodfind
find key
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/kvdict/kvdict.py:38
↓ 3 callersMethodgather_tensor
多卡Tensor聚合
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/trainer/evaluator.py:204
↓ 3 callersMethodgen_mini_batches
Generate data batches for a specific dataset (train/dev/test) Args: set_name: train/dev/test to indicate the set
NLP/ACL2018-DuReader/src/dataset.py:218
↓ 3 callersFunctiongeohash_to_bits
w4gx223 -> 00001 11001 01101 ...
ST_DM/KDD2021-HGAMN/src/geohash.py:42
↓ 3 callersMethodget_config
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:32
↓ 3 callersFunctionget_data
(file_path, data_tag, test=False)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:72
↓ 3 callersFunctionget_data
(file_path, data_tag, test=False)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:73
↓ 3 callersMethodget_dev_examples
Gets a collection of `InputExample`s for the dev set.
NLP/NAACL2019-MPM/reader.py:57
↓ 3 callersFunctionget_dict
get_dict
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/eval.py:26
↓ 3 callersFunctionget_dict
get_dict
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/tools/eval.py:27
↓ 3 callersFunctionget_dict
get_dict
NLP/ACL2019-DuConv/retrieval_paddle/tools/eval.py:26
↓ 3 callersFunctionget_dict
get_dict
NLP/ACL2019-DuConv/generative_paddle/tools/eval.py:27
↓ 3 callersFunctionget_embedding
get embedding
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/models/knowledge_seq2seq.py:19
↓ 3 callersFunctionget_embedding
get embedding
NLP/ACL2019-DuConv/generative_paddle/source/models/knowledge_seq2seq.py:19
↓ 3 callersMethodget_features
(self, examples, is_training)
NLP/DuReader-Robust-BASELINE/src/reader/squad.py:482
↓ 3 callersMethodget_features
(self, examples, is_training)
NLP/MRQA2019-BASELINE/src/reader/mrqa.py:639
↓ 3 callersMethodget_feed_names
Return feed names
NLP/ACL2018-DAM/net.py:113
↓ 3 callersMethodget_infer_program
get infer program
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:505
↓ 3 callersMethodget_infer_program
get infer program
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:492
↓ 3 callersFunctionget_loss_and_logits
(text_feats, image_feats)
NLP/UNIMO/src/finetune/visual_entailment.py:80
↓ 3 callersMethodget_num_examples
Get number of examples for train, dev or test.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:246
↓ 3 callersMethodget_num_examples
Get number of examples for train, dev or test.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:240
↓ 3 callersMethodget_path_pairs
(self)
CV/SemSegPaddleDG/src/datasets/pascal_context.py:160
↓ 3 callersMethodget_pooled_output
Get the first feature of each sequence for classification
ST_DM/KDD2021-HGAMN/src/model/cnn.py:196
↓ 3 callersMethodget_pooled_text_output
Get the first feature of each sequence for classification
NLP/UNIMO/src/model/unimo_finetune.py:382
↓ 3 callersFunctionget_recall_k
scores: sample x len x 5 idx: 1 means text retrieval(i2c), 2 means image retrieval(c2i)
NLP/UNIMO-2/src/finetune/img_eval.py:19
↓ 3 callersMethodget_train_examples
Gets a collection of `InputExample`s for the train set.
NLP/NAACL2019-MPM/reader.py:53
↓ 3 callersFunctionget_trans_res
Get trans
NLP/EMNLP2019-MAL/src/infer.py:246
← previousnext →701–800 of 7,542, ranked by callers