MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 3 callersMethodimport_variables
Restore the variables.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/model_state.py:67
↓ 3 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program)
NLP/ACL2021-PAIR/model/src/utils/init.py:33
↓ 3 callersMethodinit_emb
(self, max_size, embed_dim)
ST_DM/KDD2021-CHAML/model/learner.py:36
↓ 3 callersFunctioninit_logger
init the logger file
NLP/EMNLP2021-SgSum/src/utils/logging.py:23
↓ 3 callersMethodinner_func
inner_func
NLP/EMNLP2019-MAL/src/beam_search.py:162
↓ 3 callersMethodis_finished
is_finished
NLP/EMNLP2019-MAL/src/beam_search.py:180
↓ 3 callersFunctionis_friend_dist
Desc: 判断dist是否符合friend的条件 Args: self : self dist : (dist_x, dist_y) Return: True, if friend dist, False, if not
ST_DM/GenRegion/src/generate/gen/cluster.py:213
↓ 3 callersMethodis_predict
(phase)
CV/SemSegPaddle/src/models/model_builder.py:35
↓ 3 callersFunctionis_spo_in_list
target spo是否在golden_spo_list中
KG/DuIE_Baseline/script/re_official_evaluation.py:175
↓ 3 callersFunctionis_unicode
:param s: :return:
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:61
↓ 3 callersFunctionknowledge_seq2seq
knowledge seq2seq
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/models/knowledge_seq2seq.py:328
↓ 3 callersFunctionknowledge_seq2seq
knowledge seq2seq
NLP/ACL2019-DuConv/generative_paddle/source/models/knowledge_seq2seq.py:332
↓ 3 callersMethodlayer1
(self, input, name=None)
CV/SemSegPaddle/src/models/backbone/hrnet.py:153
↓ 3 callersMethodlinestring
Desc: 将seg转换为spgeo.LineString Args: self : self Return: spgeo.LineString Raise:
ST_DM/GenRegion/src/region/geometry.py:295
↓ 3 callersMethodload
(self, vocab_dict)
NLP/IJCAI2019-MMPMS/mmpms/inputters/vocabulary.py:124
↓ 3 callersFunctionload_id_text
load tsv files
NLP/NAACL2021-RocketQA/data_process/utils.py:7
↓ 3 callersFunctionload_id_text
load tsv files
NLP/ACL2021-PAIR/data_process/utils.py:7
↓ 3 callersFunctionload_tables
load tables from json files
NLP/Text2SQL-BASELINE/text2sql/dataproc/dusql_dataset_v2.py:113
↓ 3 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
ST_DM/KDD2021-HGAMN/src/tokenization.py:75
↓ 3 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/UNIMO-2/src/model/roberta_tokenization.py:77
↓ 3 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:76
↓ 3 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:67
↓ 3 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:76
↓ 3 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/UNIMO/src/model/tokenization.py:80
↓ 3 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
KG/CoKE/bin/kbc_data_preprocess.py:58
↓ 3 callersFunctionmake_eval_dict
(exact_scores, f1_scores, qid_list=None)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:111
↓ 3 callersFunctionmake_precision_recall_eval
(scores, na_probs, num_true_pos, qid_to_has_ans, out_image=None, title=None)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:142
↓ 3 callersFunctionmemcopy
copy data from 'src' to 'dst' in bytes
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:68
↓ 3 callersFunctionmetric_max_over_ground_truths
This function calculates and returns the precision, recall and f1-score Args: metric_fn: metric function pointer which calculates sco
NLP/ACL2018-DuReader/utils/preprocess.py:86
↓ 3 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer.py:126
↓ 3 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/EMNLP2019-MAL/src/relative_model.py:78
↓ 3 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/EMNLP2019-MAL/src/forward_model.py:78
↓ 3 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/EMNLP2019-MAL/src/dense_model.py:77
↓ 3 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/ACL2019-JEMT/model.py:79
↓ 3 callersFunctionnormalize_length
_list is a list or nested list, example turns/r/single turn c cut_type is head or tail, if _list len > length is used return a list len=
NLP/ACL2018-DAM/reader.py:63
↓ 3 callersMethodowner
get owner
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:107
↓ 3 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and attention bias.
ST_DM/KDD2021-HGAMN/src/batching.py:165
↓ 3 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and attention bias.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:100
↓ 3 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and input mask.
NLP/MRQA2019-D-NET/server/bert_server/task_reader/batching.py:137
↓ 3 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and input mask.
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/batching.py:137
↓ 3 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and attention bias.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:96
↓ 3 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and input mask.
NLP/NAACL2019-MPM/batching.py:143
↓ 3 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and input mask.
NLP/DuReader-Robust-BASELINE/src/batching.py:140
↓ 3 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and input mask.
NLP/MRQA2019-BASELINE/src/batching.py:137
↓ 3 callersMethodpad_data
padding ids
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:216
↓ 3 callersMethodparse
(self, code, section)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:115
↓ 3 callersFunctionparse_args
return all args
CV/PaddleReid/config.py:153
↓ 3 callersFunctionparse_condition
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:343
↓ 3 callersFunctionparse_condition
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:340
↓ 3 callersFunctionparse_config
Load a config file into AttrDict
KG/DuKEVU_Baseline/paddle-video-classify-tag/utils/config_utils.py:28
↓ 3 callersMethodparse_from
(self, from_, infer_from_conditions=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:313
↓ 3 callersMethodparse_from
(self, from_, infer_from_conditions=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:318
↓ 3 callersMethodparse_order_by
(self, order_by)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:322
↓ 3 callersMethodparse_order_by
(self, order_by)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:327
↓ 3 callersMethodparse_select
(self, select)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:292
↓ 3 callersMethodparse_select
(self, select)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:302
↓ 3 callersFunctionparse_sql
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:590
↓ 3 callersFunctionparse_sql
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:582
↓ 3 callersMethodparse_sql
(self, sql, optional=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:210
↓ 3 callersMethodparse_sql
(self, sql, optional=False)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:220
↓ 3 callersFunctionparse_val_unit
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:238
↓ 3 callersFunctionparse_val_unit
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:236
↓ 3 callersMethodparse_val_unit
(self, val_unit)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:169
↓ 3 callersFunctionparse_value
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:287
↓ 3 callersFunctionparse_value
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:284
↓ 3 callersMethodpeek_ap_at_n
Peek the non-interpolated average precision at n. Returns: The non-interpolated average precision at n (default 0). If n is larger th
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/average_precision_calculator.py:142
↓ 3 callersMethodpil_imread
read pseudo-color label
CV/SemSegPaddle/src/datasets/baseseg.py:144
↓ 3 callersFunctionpos_samples2pos_and_neg
(pos_spt_samples, task_candidates, task_user2itemset, negative_ratio=1)
ST_DM/KDD2021-CHAML/utils/metadataset.py:44
↓ 3 callersFunctionposition_encoding_init
Generate the initial values for the sinusoid position encoding table.
NLP/ACL2020-GraphSum/src/models/neural_modules.py:103
↓ 3 callersMethodpost
TBD
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/trainer/infer_plugins/compose.py:81
↓ 3 callersFunctionpredict
(test_exe, test_program, test_pyreader, fetch_list, processor, eval_concept_settings, eval_output_name='eval_r
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad.py:245
↓ 3 callersFunctionpredict
(test_exe, test_program, test_pyreader, fetch_list, processor, eval_concept_settings, eval_output_name='eval_r
NLP/ACL2019-KTNET/reading_comprehension/src/run_record.py:245
↓ 3 callersFunctionpredict
(test_exe, test_program, test_pyreader, fetch_list, processor, eval_concept_settings, eval_output_name='eval_r
NLP/ACL2019-KTNET/reading_comprehension/src/run_record_twomemory.py:268
↓ 3 callersFunctionpredict
(test_exe, test_program, test_pyreader, fetch_list, processor, eval_concept_settings, eval_output_name='eval_r
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad_twomemory.py:268
↓ 3 callersFunctionprepare_bleu
Prepares data for calculation of bleu and rouge scores.
NLP/ACL2018-DuReader/utils/dureader_eval.py:265
↓ 3 callersFunctionprepare_data_generator
Data generator wrapper for DataReader. If use py_reader, set the data provider for py_reader
NLP/EMNLP2019-MAL/src/reader.py:505
↓ 3 callersFunctionprepare_data_generator
Data generator wrapper for DataReader. If use py_reader, set the data provider for py_reader
NLP/ACL2019-JEMT/train.py:314
↓ 3 callersFunctionprepare_logger
(logger, debug=False, save_to_file=None)
NLP/NAACL2021-RocketQA/model/src/utils/args.py:33
↓ 3 callersFunctionpreprocess_text
(inputs, lower=False, remove_space=True, keep_accents=False)
NLP/MRQA2019-D-NET/server/xlnet_server/prepro_utils.py:49
↓ 3 callersFunctionpretrained_graph_encoder
:param sents_vec: # (batch_size, n_blocks, emb_dim) :param src_sents_slf_attn_bias: (batch_size, n_head, n_block, n_block) :param graph
NLP/EMNLP2021-SgSum/src/models/encoder.py:325
↓ 3 callersFunctionprint_arguments
Print arguments
NLP/ACL2020-GraphSum/src/utils/args.py:48
↓ 3 callersFunctionprint_arguments
(args)
KG/DuIE_Baseline/ernie/utils/args.py:67
↓ 3 callersFunctionprint_arguments_dict
(cfgs)
CV/PaddleReid/config.py:99
↓ 3 callersMethodprint_config
(self)
NLP/NAACL2021-RocketQA/model/src/model/ernie.py:49
↓ 3 callersMethodprint_config
(self)
NLP/UNIMO-2/src/model/unimo_grounded.py:61
↓ 3 callersMethodprint_config
(self)
NLP/MRQA2019-BASELINE/src/model/bert.py:44
↓ 3 callersFunctionprint_configs
(cfg, mode)
KG/DuKEVU_Baseline/paddle-video-classify-tag/utils/config_utils.py:68
↓ 3 callersFunctionprint_para
Print para info for debug purpose
NLP/ACL2018-DuReader/src/run.py:136
↓ 3 callersMethodprint_statistic
(self, imageset, pids, set_name)
CV/PaddleReid/reid/data/source/dataset.py:91
↓ 3 callersFunctionre_search
Args: patt (TYPE): NULL text (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:332
↓ 3 callersFunctionread_by_lines
read the data by line
KG/DuEE_baseline/DuEE-PaddleHub/data_process.py:23
↓ 3 callersMethodread_data
read_data
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:53
↓ 3 callersMethodread_data
read_data
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:53
↓ 3 callersFunctionread_mrqa_examples
Read a MRQA json file into a list of MRQAExample.
NLP/MRQA2019-D-NET/server/bert_server/task_reader/mrqa.py:98
↓ 3 callersFunctionread_mrqa_examples
Read a MRQA json file into a list of MRQAExample.
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/mrqa_infer.py:98
↓ 3 callersFunctionread_txt
(path)
CV/PaddleReid/reid/data/source/dataset.py:6
↓ 3 callersFunctionread_txt_to_index
(file)
CV/PWCNet/src/read_files.py:7
↓ 3 callersFunctionreader
()
CV/SemSegPaddleDG/src/datasets/cityscapes.py:187
↓ 3 callersFunctionreader_flyingchairs
(dataset)
CV/PWCNet/data/datasets.py:217
↓ 3 callersFunctionreader_generater
reader_generater
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_binary_lstm.py:60
← previousnext →801–900 of 7,542, ranked by callers