MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 2 callersFunctionpredict_wrapper
(args, reader, exe, test_prog, test_pyreader, graph_vars, epoch, steps)
NLP/NAACL2021-RocketQA/model/src/train_de.py:337
↓ 2 callersFunctionpredict_wrapper
(args, reader, exe, test_prog, test_pyreader, graph_vars, epoch, steps)
NLP/NAACL2021-RocketQA/model/src/train_ce.py:366
↓ 2 callersFunctionpredict_wrapper
(args, reader, exe, test_prog, test_pyreader, graph_vars, epoch, steps)
NLP/ACL2021-PAIR/model/src/train_de.py:337
↓ 2 callersFunctionpredict_wrapper
(reader, exe, test_prog, test_pyreader, graph_vars, epoch, steps)
KG/DuIE_Baseline/ernie/run_duie.py:334
↓ 2 callersFunctionpredict_wrapper
predict_wrapper
KG/DuEL_Baseline/ernie/run_type_pairwise_ranker.py:458
↓ 2 callersMethodprepare
(self, args)
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/algorithm/multitask.py:36
↓ 2 callersMethodprepare
(self, args)
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/algorithm/multitask.py:36
↓ 2 callersFunctionprepare_batch_data
generate self attention mask, [shape: batch_size * max_len * max_len]
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:45
↓ 2 callersFunctionprepare_batch_data
1. generate Tensor of data 2. generate Tensor of position 3. generate self attention mask, [shape: batch_size * max_len * max_len]
NLP/MRQA2019-D-NET/server/bert_server/task_reader/batching.py:74
↓ 2 callersFunctionprepare_batch_data
generate self attention mask, [shape: batch_size * max_len * max_len]
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:45
↓ 2 callersFunctionprepare_batch_data
1. generate Tensor of data 2. generate Tensor of position 3. generate self attention mask, [shape: batch_size * max_len * max_len]
NLP/ACL2019-KTNET/reading_comprehension/src/batching_twomemory.py:77
↓ 2 callersFunctionprepare_batch_data
1. generate Tensor of data 2. generate Tensor of position 3. generate self attention mask, [shape: batch_size * max_len * max_len]
NLP/ACL2019-KTNET/reading_comprehension/src/batching.py:77
↓ 2 callersMethodprepare_batch_data
generate input tensor data
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:184
↓ 2 callersMethodprepare_batch_data
generate input tensor data
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:184
↓ 2 callersFunctionprepare_batch_input
Put all padded data needed by training into a dict.
NLP/ACL2019-JEMT/train.py:275
↓ 2 callersFunctionprepare_batch_input
Put all padded data needed by beam search decoder into a dict.
NLP/ACL2019-JEMT/infer.py:134
↓ 2 callersFunctionprepare_dataloader
(args)
CV/PaddleFSL/utils.py:65
↓ 2 callersFunctionprepare_feed_dict_list
Prepare the list of feed dict for multi-devices.
NLP/ACL2019-JEMT/train.py:389
↓ 2 callersFunctionprepare_logger
(logger, debug=False, save_to_file=None)
NLP/ACL2021-PAIR/model/src/utils/args.py:33
↓ 2 callersFunctionprepare_logger
(logger, debug=False, save_to_file=None)
KG/AAAI2021_SSAN/utils/args.py:33
↓ 2 callersFunctionprepare_logger
(logger, debug=False, save_to_file=None)
KG/DuIE_Baseline/ernie/utils/args.py:30
↓ 2 callersFunctionprepare_logger
prepare_logger
KG/DuEL_Baseline/ernie/utils/args.py:32
↓ 2 callersFunctionprepare_logger
prepare_logger
KG/DuEE_baseline/bin/utils/args.py:33
↓ 2 callersFunctionprepare_model
(args)
CV/PaddleFSL/utils.py:43
↓ 2 callersFunctionprepare_optimizer
(args, model)
CV/PaddleFSL/utils.py:52
↓ 2 callersFunctionpreprocess
(img, bbox_labels, mode, settings)
CV/astar2019/reader.py:106
↓ 2 callersFunctionpreprocessing_for_one_conversation
preprocessing for one conversation
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/convert_conversation_corpus_to_model_text.py:77
↓ 2 callersFunctionpreprocessing_for_one_conversation
preprocessing_for_one_conversation
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/tools/convert_conversation_corpus_to_model_text.py:22
↓ 2 callersFunctionpreprocessing_for_one_conversation
preprocessing for one conversation
NLP/ACL2019-DuConv/retrieval_paddle/tools/convert_conversation_corpus_to_model_text.py:77
↓ 2 callersFunctionpreprocessing_for_one_conversation
preprocessing_for_one_conversation
NLP/ACL2019-DuConv/generative_paddle/tools/convert_conversation_corpus_to_model_text.py:22
↓ 2 callersFunctionprint_arguments
Print argparse's arguments. Usage: .. code-block:: python parser = argparse.ArgumentParser() parser.add_argument("name", de
CV/webvision2018/utils/utility.py:22
↓ 2 callersFunctionprint_arguments
print_arguments
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/args.py:134
↓ 2 callersFunctionprint_arguments
(args, log = None)
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/toolkit/configure.py:100
↓ 2 callersFunctionprint_arguments
(args, log = None)
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/toolkit/configure.py:100
↓ 2 callersFunctionprint_arguments
(args)
NLP/ACL2021-PAIR/model/src/utils/args.py:67
↓ 2 callersFunctionprint_arguments
(args)
NLP/ACL2019-DuConv/retrieval_paddle/args.py:133
↓ 2 callersFunctionprint_arguments
(args)
NLP/DuReader-Robust-BASELINE/src/utils/args.py:46
↓ 2 callersFunctionprint_arguments
print_arguments
KG/DuEL_Baseline/ernie/utils/args.py:75
↓ 2 callersFunctionprint_arguments
(args)
KG/CoKE/bin/utils/args.py:51
↓ 2 callersFunctionprint_arguments
print_arguments
KG/DuEE_baseline/bin/utils/args.py:82
↓ 2 callersFunctionprint_config
visualize configs Arguments: config: configs
ST_DM/CIKM2022-DuMapper/DME/utils/config.py:37
↓ 2 callersMethodprint_config
(self)
NLP/ACL2021-PAIR/model/src/model/ernie.py:49
↓ 2 callersMethodprint_config
(self)
KG/DuIE_Baseline/ernie/model/ernie.py:49
↓ 2 callersMethodprint_config
print_config
KG/DuEL_Baseline/ernie/model/ernie.py:53
↓ 2 callersMethodprint_config
func
KG/DuEE_baseline/bin/model/ernie.py:56
↓ 2 callersFunctionprint_eval_log
(ret)
NLP/UNIMO-2/src/utils/utils.py:35
↓ 2 callersFunctionprocess_image
(image_id, image_path, target_shape_h=224, target_shape_
NLP/UNIMO-2/src/utils/image_utils.py:158
↓ 2 callersMethodprocess_image
process_image
CV/SemSegPaddle/src/datasets/baseseg.py:162
↓ 2 callersMethodprocess_image
Given an image, process it and return the array.
NLP/UNIMO-2/src/utils/image_utils.py:103
↓ 2 callersFunctionprocess_session_data
(input_filename, output_filename)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/process_data_for_goal_planning.py:51
↓ 2 callersMethodproperty_chars
get unicode of specified chars
NLP/EMNLP2019-MAL/src/bleu_hook.py:129
↓ 2 callersFunctionpsnr1
(img1, img2)
CV/AICity2020-Anomaly-Detection/pixel_track/post_process/similar.py:21
↓ 2 callersFunctionquery2sql
(query, cols, single_equal=False, with_value=True)
NLP/Text2SQL-BASELINE/tools/evaluation/utils.py:212
↓ 2 callersFunctionrandom_brightness
(img, settings)
CV/astar2019/image_util.py:182
↓ 2 callersFunctionrandom_contrast
(img, settings)
CV/astar2019/image_util.py:191
↓ 2 callersFunctionrandom_hue
(img, settings)
CV/astar2019/image_util.py:209
↓ 2 callersFunctionrandom_saturation
(img, settings)
CV/astar2019/image_util.py:200
↓ 2 callersFunctionread_concept_embedding
(embedding_path)
NLP/ACL2019-KTNET/reading_comprehension/src/run_record_twomemory.py:309
↓ 2 callersFunctionread_concept_embedding
(embedding_path)
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad_twomemory.py:309
↓ 2 callersFunctionread_examples
Read a n-ary json file into a list of NaryExample.
KG/ACL2021_GRAN/src/reader/data_reader.py:101
↓ 2 callersFunctionread_file
Read predict answers or reference answers from file. Args: file_name: the name of the file containing predict result or reference
NLP/ACL2018-DuReader/utils/dureader_eval.py:80
↓ 2 callersMethodread_file
(self, file)
NLP/UNIMO-2/src/reader/img2txt_oscar_reader.py:200
↓ 2 callersFunctionread_meta_testing_data
(cities, is_test=False)
ST_DM/KDD2021-CHAML/preprocess/step3.py:240
↓ 2 callersFunctionread_mrqa_examples
Read a MRQA json file into a list of MRQAExample.
NLP/MRQA2019-BASELINE/src/reader/mrqa.py:97
↓ 2 callersFunctionread_multiple
Stack data from reader for multi-devices.
NLP/ACL2018-DuReader/src/run.py:99
↓ 2 callersFunctionread_record_examples
Read a ReCoRD json file into a list of ReCoRDExample.
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_record/do_tokenization.py:70
↓ 2 callersFunctionread_squad_examples
Read a SQuAD json file into a list of SQuADExample.
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_squad/do_tokenization.py:72
↓ 2 callersFunctionread_squad_examples
Read a SQuAD json file into a list of SquadExample.
NLP/DuReader-Robust-BASELINE/src/reader/squad.py:97
↓ 2 callersFunctionreader
reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_binary_lstm.py:62
↓ 2 callersFunctionreader
reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:65
↓ 2 callersFunctionreader
reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:66
↓ 2 callersFunctionrect_cluster
Desc: 根据设定矩形大小的聚类算法, 每个类的MBR <= width * width 采用层次聚类, 层次聚类选择合并的依据是 min (delta_x + delta_y) cluster A 的宽度为(xa, ya), cluster B
ST_DM/GenRegion/src/generate/gen/algorithm.py:20
↓ 2 callersFunctionregist_metrics
(name, metrics)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:249
↓ 2 callersFunctionregist_model
(name, model)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/model.py:186
↓ 2 callersFunctionregist_reader
(name, reader)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/reader_utils.py:75
↓ 2 callersFunctionrelative_attention_logits
relative attention logits(scores) Args: query (TYPE): NULL key (TYPE): NULL relation (TYPE): NULL Returns: Tensor, s
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:75
↓ 2 callersFunctionrelative_fast_decode
Use beam search to decode. Caches will be used to store states of history steps which can make the decoding faster.
NLP/EMNLP2019-MAL/src/relative_model.py:799
↓ 2 callersFunctionrelative_transformer
transformer
NLP/EMNLP2019-MAL/src/relative_model.py:532
↓ 2 callersFunctionremove_punc
(text)
NLP/ACL2024-NACL/src/eval_utils.py:322
↓ 2 callersFunctionremove_punc
(text)
NLP/ACL2024-NACL/src/compute_scores.py:29
↓ 2 callersFunctionremove_punctuation
remove punctuation
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:760
↓ 2 callersFunctionremove_punctuation
(in_str)
NLP/UNIMO-2/src/utils/cmrc2018_eval.py:52
↓ 2 callersFunctionremove_punctuation
remove_punctuation
KG/DuEE_baseline/bin/utils/cmrc2018_eval.py:70
↓ 2 callersMethodremove_punctuation
(self, line)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/doc2vec.py:64
↓ 2 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/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_functional.py:30
↓ 2 callersMethodrestart
(self)
CV/SemSegPaddle/src/utils/timer.py:43
↓ 2 callersFunctionrouge_results_to_str
report rouge results
NLP/ACL2020-GraphSum/src/tools/cal_rouge.py:93
↓ 2 callersMethodrule_infer
rule infer
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:539
↓ 2 callersMethodrun
Desc: 区域生成, 对于一个link经过同一个节点, 则形成环 Args: self : self Return: None Raise: None
ST_DM/GenRegion/src/generate/gen/generator.py:266
↓ 2 callersMethodrun
start predict
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/cpu_predictor.py:68
↓ 2 callersMethodrun
start predict
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/cpu_predictor.py:55
↓ 2 callersMethodrun2
Args: server_conf : 服务配置
ST_DM/CIKM2022-DuMapper/DME/metric/signboard_pr.py:37
↓ 2 callersMethodrun_inference
TBD
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/trainer/evaluator.py:103
↓ 2 callersFunctionsave
(model, model_path)
NLP/Dialogue-PLATO/plato/trainer.py:82
↓ 2 callersMethodsave
(self, is_best)
NLP/IJCAI2019-MMPMS/mmpms/engine.py:144
↓ 2 callersFunctionsave_checkpoint
Save checkpoint for evaluation or resume training
CV/SemSegPaddle/train.py:88
↓ 2 callersMethodsave_ckpt
save current model Args: path: 存储路径
ST_DM/CIKM2022-DuMapper/DME/engine/trainer.py:354
↓ 2 callersMethodsave_home_dir
Set ROUGE home directory
NLP/ACL2020-GraphSum/src/tools/my_pyrouge.py:116
↓ 2 callersMethodsave_home_dir
Set ROUGE home directory
NLP/EMNLP2021-SgSum/src/tools/my_pyrouge.py:116
↓ 2 callersMethodsave_home_dir
(self)
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/bs_pyrouge.py:128
← previousnext →1,701–1,800 of 7,542, ranked by callers