MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersFunctionremove_punc
(text)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:51
↓ 1 callersFunctionremove_repeat
(goal_seq, kg_seq)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/train_generator.py:99
↓ 1 callersMethodremove_special_tokens
Remove special tokens from output sequence
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:443
↓ 1 callersMethodremove_special_tokens
Remove special tokens from output sequence
NLP/UNIMO/src/finetune/seq2seq.py:377
↓ 1 callersMethodremove_special_tokens
Remove special tokens from output sequence
NLP/UNIMO/src/finetune/img2txt.py:1025
↓ 1 callersFunctionrender_cam
Render Class Activation Map to png.
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/get_cam_heatmap.py:100
↓ 1 callersFunctionrepeat
repeat
NLP/EMNLP2019-MAL/src/reader.py:325
↓ 1 callersFunctionrepeat
(var, times)
NLP/Dialogue-PLATO/plato/models/generator.py:31
↓ 1 callersFunctionreplace_llama_attn_with_nacl_eviction
()
NLP/ACL2024-NACL/src/llama_nacl_patch.py:377
↓ 1 callersFunctionreport_rouge
Calculating Rouge
NLP/ACL2020-GraphSum/src/networks/graphsum/run_graphsum.py:444
↓ 1 callersMethodreset
reset for a new epoch of samples
CV/PaddleReid/reid/data/parallel_map.py:249
↓ 1 callersMethodreset
(self)
NLP/IJCAI2019-MMPMS/mmpms/utils/metrics.py:34
↓ 1 callersMethodreset
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/kinetics/accuracy_metrics.py:33
↓ 1 callersFunctionresize
r"""Resize the input numpy ndarray to the given size. Args: img (numpy ndarray): Image to be resized. size (sequence or int): Desi
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/functional.py:101
↓ 1 callersFunctionresize_image
(image, out_h, out_w, mode=Image.BILINEAR)
CV/SemSegPaddleDG/eval.py:110
↓ 1 callersFunctionresize_img
Reisze the input image.
CV/robust_vessel_segmentation/vessel_segmentation_demo.py:24
↓ 1 callersFunctionresize_short
resize_short
CV/landmark/inference/infer_retrieval.py:36
↓ 1 callersFunctionresize_short
resize_short
CV/landmark/inference/infer_recognition.py:211
↓ 1 callersFunctionresnet
(input)
CV/SemSegPaddle/src/models/modeling/pspnet.py:61
↓ 1 callersFunctionresnet
(input)
CV/SemSegPaddle/src/models/modeling/deeplabv3.py:130
↓ 1 callersFunctionresnet
(input)
CV/SemSegPaddle/src/models/modeling/glore.py:84
↓ 1 callersFunctionresponse_generation
Generate system response by dialogue context and retrieved knowledge.
NLP/EMNLP2022-Q-TOD/infer.py:118
↓ 1 callersFunctionrnn_decoder
rnn decoder
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/models/knowledge_seq2seq.py:283
↓ 1 callersFunctionrnn_decoder
rnn decoder
NLP/ACL2019-DuConv/generative_paddle/source/models/knowledge_seq2seq.py:287
↓ 1 callersFunctionrotate_image
Rotate an image. ---- Args: image: uint8, 2D numpy array range from 0 to 255, the input image angle: float, scalar, the r
CV/robust_vessel_segmentation/data_aug.py:62
↓ 1 callersFunctionrouge_results_to_str
report rouge results
NLP/EMNLP2021-SgSum/src/tools/cal_rouge.py:93
↓ 1 callersFunctionrouge_results_to_str
(results_dict)
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/eval.py:97
↓ 1 callersFunctionrouge_score
(prediction, ground_truth, **kwargs)
NLP/ACL2024-NACL/src/eval_utils.py:367
↓ 1 callersFunctionrun
(args)
NLP/DuReader-Checklist-BASELINE/src/run.py:118
↓ 1 callersMethodrun
Desc: 进行线段打断, 过滤掉重复的seg Args: self : self Return: list of new segs Raise: None
ST_DM/GenRegion/src/generate/gen/segspliter.py:139
↓ 1 callersMethodrun
Desc: 层次聚类算法的实现 Args: self : self points : 所有的点 Return: list of clusters Raise:
ST_DM/GenRegion/src/generate/gen/cluster.py:462
↓ 1 callersMethodrun
Desc: 根据给定的阈值, 进行区域合并 Args: grid_size : 网格大小, 用于判断两个区域之间的包含, 相交关系 area_thres : 面积阈值, 低于这个面积的区域会被合并
ST_DM/GenRegion/src/generate/gen/regionalg.py:562
↓ 1 callersMethodrun
Desc: 运行region filter Args: self : self Return: region list after filter Raise:
ST_DM/GenRegion/src/generate/gen/regionalg.py:630
↓ 1 callersFunctionrun_city
(city, input_path, output_path)
ST_DM/GenRegion/src/generate/block.py:79
↓ 1 callersFunctionrun_precision_recall_analysis
(main_eval, exact_raw, f1_raw, na_probs, qid_to_has_ans, out_image_dir)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:165
↓ 1 callersMethodrun_server
set default run_server
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:378
↓ 1 callersMethodrun_server
set default run_server
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:366
↓ 1 callersMethodrun_stream
stream
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/precision_recall.py:32
↓ 1 callersMethodrun_worker
set default run worker
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:384
↓ 1 callersMethodrun_worker
set default run worker
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:372
↓ 1 callersFunctionsatisfy_sample_constraint
(sampler, sample_bbox, bbox_labels)
CV/astar2019/image_util.py:89
↓ 1 callersFunctionsave_test
(data, city)
ST_DM/KDD2021-CHAML/preprocess/step3.py:183
↓ 1 callersMethodsave_vocab
(self, vocab_file)
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataset.py:59
↓ 1 callersMethodscale_loss
Scale the loss. In data parallel mode, the loss should be scale with the number of trainers. If not in data parallel mode, return the
NLP/Dialogue-PLATO/plato/modules/parallel.py:167
↓ 1 callersFunctionscale_vars
Scale a variable sequence.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/model_state.py:38
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer_encoder.py:130
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
ST_DM/KDD2021-HGAMN/src/model/transformer_encoder.py:111
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/NAACL2021-RocketQA/model/src/model/transformer_encoder.py:111
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/UNIMO-2/src/model/transformer_encoder.py:119
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/UNIMO-2/src/model/vision_transformer_encoder.py:128
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/encoders/transformer.py:107
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/module/transformer_encoder.py:139
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/nets/transformer_encoder.py:112
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/module/transformer_encoder.py:139
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/MRQA2019-D-NET/server/xlnet_server/model/transformer_encoder.py:112
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/EMNLP2019-MAL/src/relative_model.py:157
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/EMNLP2019-MAL/src/forward_model.py:156
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/EMNLP2019-MAL/src/dense_model.py:155
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/ACL2021-PAIR/model/src/model/transformer_encoder.py:111
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/ACL2019-JEMT/model.py:202
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/EMNLP2021-SgSum/src/roberta/roberta_encoder.py:109
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/EMNLP2021-SgSum/src/models/attention.py:207
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_encoder.py:109
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/ACL2019-DuConv/retrieval_paddle/source/encoders/transformer.py:107
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/ACL2019-KTNET/reading_comprehension/src/model/transformer_encoder.py:142
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/DuReader-Robust-BASELINE/src/model/transformer_encoder.py:112
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/UNIMO/src/model/transformer_encoder.py:112
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
NLP/MRQA2019-BASELINE/src/model/transformer_encoder.py:112
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
KG/AAAI2021_SSAN/model/SSAN_encoder.py:115
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
KG/DuIE_Baseline/ernie/model/transformer_encoder.py:111
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
KG/DuEL_Baseline/ernie/model/transformer_encoder.py:125
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
KG/CoKE/bin/model/transformer_encoder.py:149
↓ 1 callersFunctionscaled_dot_product_attention
Scaled Dot-Product Attention
KG/DuEE_baseline/bin/model/transformer_encoder.py:111
↓ 1 callersFunctionscaled_dot_product_attention_with_sen_norm
Scaled Dot-Product Attention with sentence-level normalize :param q: (batch_size, n_head, tgt_len, dim_per_head) :param k: (b
NLP/ACL2020-GraphSum/src/models/attention.py:908
↓ 1 callersFunctionscaled_dot_product_attention_with_sen_norm
Scaled Dot-Product Attention with sentence-level normalize :param q: (batch_size, n_head, tgt_len, dim_per_head) :param k: (b
NLP/EMNLP2021-SgSum/src/models/attention.py:910
↓ 1 callersMethodscan
(self)
ST_DM/KDD2021-HGAMN/src/dataset/base_dataset.py:135
↓ 1 callersFunctionscan_alias
Scan the index of 'as' and build the map for all alias
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:154
↓ 1 callersFunctionscan_alias
Scan the index of 'as' and build the map for all alias
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:153
↓ 1 callersFunctionscan_batch_iter
node_batch_iter
ST_DM/KDD2021-HGAMN/src/dataset/base_dataset.py:60
↓ 1 callersFunctionscan_link
scan the url link
NLP/ACL2020-GraphSum/src/utils/stream.py:22
↓ 1 callersFunctionscan_link
scan the url link
NLP/EMNLP2021-SgSum/src/utils/stream.py:22
↓ 1 callersFunctionschema_process
schema_process
KG/DuEE_baseline/DuEE-PaddleHub/data_process.py:89
↓ 1 callersFunctionsearch
(index, emb_file, qid_list, outfile, top_k)
NLP/NAACL2021-RocketQA/model/src/index_search.py:38
↓ 1 callersFunctionsearch
(index, emb_file, qid_list, outfile, top_k)
NLP/ACL2021-PAIR/model/src/index_search.py:38
↓ 1 callersFunctionsearch_values
search cells of col_id Args: query (TYPE): NULL db (TYPE): NULL extra_values (TYPE): values from sql if is_train Ret
NLP/Text2SQL-BASELINE/script/schema_linking.py:210
↓ 1 callersFunctionsegment
(input_js)
NLP/ACL2018-DuReader/utils/marco_tokenize_data.py:34
↓ 1 callersMethodself_attention_model
self_attention with support/query distinguish
ST_DM/KDD2021-SSML/ssml_model.py:432
↓ 1 callersFunctionself_attention_pooling_layer
enc_input: # (batch_size*n_blocks, n_tokens, emb_dim) attn_bias: # (batch_size*n_blocks, n_head, n_tokens, n_tokens)
NLP/ACL2020-GraphSum/src/models/encoder.py:147
↓ 1 callersFunctionsequence_but
(T, place, position="first")
NLP/IJCAI2019-MMPMS/mmpms/utils/misc.py:43
↓ 1 callersMethodset_optimizer
set optimizer
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:332
↓ 1 callersMethodset_optimizer
set optimizer
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:320
↓ 1 callersFunctionset_paddle_flags
(**kwargs)
CV/VehicleCounting/PaddleDetection/tools/infer.py:26
↓ 1 callersMethodset_post_paddle_env
set paddle env. eg. dataset, exe, .
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:633
↓ 1 callersMethodset_post_paddle_env
set paddle env. eg. dataset, exe, .
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:622
↓ 1 callersMethodset_precision
Desc: 设置精度 Args: precision : 精度, int Return: None Raise: None
ST_DM/GenRegion/src/region/geometry.py:29
↓ 1 callersFunctionset_seed
(args)
NLP/DuReader-Checklist-BASELINE/src/run.py:40
↓ 1 callersMethodset_special_tokens
Add a list of additional tokens to the encoder. The additional tokens are indexed starting from the last index of the current
NLP/Dialogue-PLATO/plato/data/tokenizer.py:526
↓ 1 callersMethodset_word_embedding
Set word embedding
NLP/ACL2018-DAM/net.py:119
↓ 1 callersFunctionsetup_args
Setup arguments.
NLP/EMNLP2022-Q-TOD/infer.py:29
↓ 1 callersFunctionsetup_args
Setup arguments.
NLP/EMNLP2022-Q-TOD/evaluate.py:27
← previousnext →4,201–4,300 of 7,542, ranked by callers