MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 2 callersFunctionget_sql
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:656
↓ 2 callersFunctionget_sql
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:648
↓ 2 callersMethodget_startup_program
get startup program.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:476
↓ 2 callersFunctionget_sys_env
collect environment information
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/utils/sys_env.py:90
↓ 2 callersFunctionget_task_poiid_embs
(id_emb_path, cities)
ST_DM/KDD2021-CHAML/utils/metadataset.py:82
↓ 2 callersMethodget_test_examples
Gets a collection of `InputExample`s for prediction.
NLP/NAACL2019-MPM/reader.py:61
↓ 2 callersMethodget_thread_num
get thread_num for multi_thread dataset.
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:538
↓ 2 callersFunctionget_time
()
NLP/UNIMO-2/src/utils/utils.py:45
↓ 2 callersFunctionget_tokens
(s)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:58
↓ 2 callersMethodget_train_progress
Gets progress for training phase.
NLP/NAACL2019-MPM/reader.py:125
↓ 2 callersMethodget_train_progress
Gets progress for training phase.
NLP/UNIMO/src/reader/seq2seq_reader.py:66
↓ 2 callersMethodget_train_progress
Gets progress for training phase.
KG/AAAI2021_SSAN/dataset.py:102
↓ 2 callersMethodget_train_progress
Gets progress for training phase.
KG/DuEE_baseline/bin/reader/task_reader.py:98
↓ 2 callersMethodget_weights
get model weight file path, download weight from Paddle if not exist
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/model.py:106
↓ 2 callersFunctionget_word_end
(anchor, seg_label, sent_length)
NLP/UNIMO-2/src/reader/unimo_grounded_batching.py:245
↓ 2 callersFunctionget_yesno_result
Prepare answers for task 'yesno'. Args: qid: question_id. pred_result: A dict include all question_id's result information r
NLP/ACL2018-DuReader/utils/dureader_eval.py:367
↓ 2 callersFunctiongraph_encoder_layer
:param enc_input: (batch_size, n_blocks, emb_dim) :param attn_bias: (batch_size, n_head, n_blocks, n_blocks) :param graph_attn_bias: (
NLP/EMNLP2021-SgSum/src/models/encoder.py:193
↓ 2 callersFunctiongraph_scaled_dot_product_attention
Graph Scaled Dot-Product Attention :param q: (batch_size, n_head, n_block, dim_per_head) :param k: (batch_size, n_head, n_b
NLP/ACL2020-GraphSum/src/models/attention.py:439
↓ 2 callersFunctiongraph_scaled_dot_product_attention
Graph Scaled Dot-Product Attention :param q: (batch_size, n_head, n_block, dim_per_head) :param k: (batch_size, n_head, n_b
NLP/EMNLP2021-SgSum/src/models/attention.py:440
↓ 2 callersFunctiongroup_crop
(np_imgs, target_size, is_center=True)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/kinetics_reader.py:254
↓ 2 callersFunctiongru_fun
gru fun
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/models/knowledge_seq2seq.py:167
↓ 2 callersFunctiongru_fun
gru fun
NLP/ACL2019-DuConv/generative_paddle/source/models/knowledge_seq2seq.py:167
↓ 2 callersMethodgumbel_softmax
(self, logits, tau, eps=1e-10)
NLP/IJCAI2019-MMPMS/mmpms/models/mmpms.py:125
↓ 2 callersMethodhas
:param key: :return:
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/ernie_encoder.py:386
↓ 2 callersMethodhas_key
(self, key)
NLP/MRQA2019-D-NET/server/xlnet_server/model/xlnet.py:72
↓ 2 callersMethodhigh_resolution_module
(self, x, channels, multi_scale_output=True, name=None)
CV/SemSegPaddle/src/models/backbone/hrnet.py:120
↓ 2 callersFunctionhistogram_na_prob
(na_probs, qid_list, image_dir, name)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:189
↓ 2 callersMethodhits_score
(self, ground_truth, predictions, k=5)
ST_DM/KDD2021-CHAML/utils/metrics.py:36
↓ 2 callersFunctionhrnet
()
CV/SemSegPaddle/src/models/backbone/hrnet.py:212
↓ 2 callersFunctionid_to_text
convert id seq to str seq
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/utils/utils.py:58
↓ 2 callersFunctionid_to_text
convert id seq to str seq
NLP/ACL2019-DuConv/generative_paddle/source/utils/utils.py:58
↓ 2 callersFunctionimgs_transform
(imgs, mode, seg_num, seglen, shor
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/kinetics_reader.py:227
↓ 2 callersMethodinfer
Inference interface. @param : data_iter @type : DataLoader @param : parse_dict @type : dict of function
NLP/Dialogue-PLATO/plato/trainer.py:236
↓ 2 callersFunctioninference
inference
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:329
↓ 2 callersFunctioninference
inference
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:337
↓ 2 callersFunctioninit_checkpoint
Init the model checkpoint
NLP/ACL2020-GraphSum/src/utils/init.py:47
↓ 2 callersFunctioninit_checkpoint
Init the model checkpoint
NLP/EMNLP2021-SgSum/src/utils/init.py:47
↓ 2 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16=False)
NLP/DuReader-Robust-BASELINE/src/utils/init.py:40
↓ 2 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16=False)
NLP/MRQA2019-BASELINE/src/utils/init.py:40
↓ 2 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16=False)
KG/AAAI2021_SSAN/utils/init.py:50
↓ 2 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16=False)
KG/DuIE_Baseline/ernie/utils/init.py:50
↓ 2 callersFunctioninit_checkpoint
init_checkpoint
KG/DuEL_Baseline/ernie/utils/init.py:53
↓ 2 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16
KG/CoKE/bin/utils/init.py:47
↓ 2 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16=False)
KG/ACL2021_GRAN/src/utils/init.py:45
↓ 2 callersFunctioninit_delta
(input, mask, shape, name='text')
NLP/UNIMO/src/finetune/visual_entailment.py:109
↓ 2 callersFunctioninit_logger
init the logger file
NLP/ACL2020-GraphSum/src/utils/logging.py:23
↓ 2 callersFunctioninit_model
init model params
NLP/UNIMO/src/utils/init.py:86
↓ 2 callersMethodinit_params
init pretrain vars vec param = fluid.default_main_program().global_block().var('fc.b') param.set(xxx, place)
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/base_net.py:79
↓ 2 callersMethodinit_params
init pretrain vars vec param = fluid.default_main_program().global_block().var('fc.b') param.set(xxx, place)
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/base_net.py:79
↓ 2 callersFunctioninit_pretraining_params
(exe, pretraining_params_path, main_program)
NLP/UNIMO-2/src/utils/init.py:62
↓ 2 callersFunctioninit_pretraining_params
(exe, pretraining_params_path, main_program,
KG/DuIE_Baseline/ernie/utils/init.py:70
↓ 2 callersFunctioninit_pretraining_params
init_pretraining_params
KG/DuEL_Baseline/ernie/utils/init.py:77
↓ 2 callersFunctioninit_pretraining_params
(exe, pretraining_params_path, main_program,
KG/CoKE/bin/utils/init.py:84
↓ 2 callersFunctioninit_pretraining_params
func
KG/DuEE_baseline/bin/utils/init.py:75
↓ 2 callersFunctioninterpolate_vars
Interpolate between two sequences of variables.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/model_state.py:10
↓ 2 callersMethodinverted_residual_unit
(self, input, num_in_filter,
CV/SemSegPaddle/src/models/backbone/mobilenet_v2.py:187
↓ 2 callersFunctionis_ascii
check if s is English album or number Args: s (str): NULL Returns: bool
NLP/Text2SQL-BASELINE/script/schema_linking.py:57
↓ 2 callersFunctionis_counter_clockwise
Desc: 判断points构建的ring的时钟方向 Args: self : self Return: True, if ring is counter clockwise, otherwise False Raise:
ST_DM/GenRegion/src/region/geometry.py:966
↓ 2 callersFunctionis_float
is float
NLP/Text2SQL-BASELINE/tools/evaluation/utils.py:40
↓ 2 callersMethodis_running
Returns: bool: Whether the worker theads are running.
CV/SemSegPaddle/src/datasets/data_utils.py:79
↓ 2 callersMethodis_small_region
Desc: 判断当前region是否是一个小region Args: self : self area_thers : 面积阈值 width_thers : 宽度阈值 Retur
ST_DM/GenRegion/src/generate/gen/regionalg.py:352
↓ 2 callersFunctionis_whitespace
(c)
NLP/MRQA2019-D-NET/server/bert_server/task_reader/mrqa.py:101
↓ 2 callersFunctionis_whitespace
(c)
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/mrqa_infer.py:101
↓ 2 callersFunctionis_whitespace
(c)
NLP/MRQA2019-BASELINE/src/reader/mrqa.py:102
↓ 2 callersFunctioniter_jsonl
(fname, cnt=None)
NLP/ACL2024-NACL/src/eval_utils.py:97
↓ 2 callersFunctionkl_divergence_with_logits
symmetric KL-divergence (See SMART, Sec 3.1) q_logits: logits p_logits: delta_logits
NLP/UNIMO/src/finetune/visual_entailment.py:32
↓ 2 callersFunctionlabel_add
label_add
KG/DuEE_baseline/DuEE-PaddleHub/data_process.py:92
↓ 2 callersFunctionlabel_data
label_data
KG/DuEE_baseline/DuEE-PaddleHub/data_process.py:41
↓ 2 callersMethodlazy_load_dataset
Dataset generator. Don't do extra stuff here, like printing, because they will be postponed to the first loading time. Return
NLP/ACL2020-GraphSum/src/networks/graphsum/graphsum_reader.py:92
↓ 2 callersMethodlazy_load_dataset
Dataset generator. Don't do extra stuff here, like printing, because they will be postponed to the first loading time. Return
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_reader.py:99
↓ 2 callersMethodlength
Desc: 计算region的周长 Args: self : self Return: float, region的周长 Raise: None
ST_DM/GenRegion/src/region/geometry.py:878
↓ 2 callersFunctionline_reader
cycle reader
NLP/EMNLP2019-MAL/src/reader.py:467
↓ 2 callersFunctionload
load
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/conversation_strategy.py:34
↓ 2 callersFunctionload
load model
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/tools/conversation_strategy.py:24
↓ 2 callersFunctionload
load
NLP/ACL2019-DuConv/retrieval_paddle/tools/conversation_strategy.py:34
↓ 2 callersFunctionload
load model
NLP/ACL2019-DuConv/generative_paddle/tools/conversation_strategy.py:24
↓ 2 callersFunctionload_candidate_set
load candidate set
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/construct_candidate.py:32
↓ 2 callersFunctionload_candidate_set
load candidate set
NLP/ACL2019-DuConv/retrieval_paddle/tools/construct_candidate.py:32
↓ 2 callersFunctionload_dict
load vocabulary dict
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:33
↓ 2 callersFunctionload_dict
load vocabulary dict
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:33
↓ 2 callersMethodload_feature
加载feature文件 Args: file_path: feature文件地址 Returns: features: feature结果
ST_DM/CIKM2022-DuMapper/DME/metric/topkmap.py:53
↓ 2 callersFunctionload_id2str_dict
load id2str dict
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/utils/utils.py:28
↓ 2 callersFunctionload_id2str_dict
load id2str dict
NLP/ACL2019-DuConv/generative_paddle/source/utils/utils.py:28
↓ 2 callersMethodload_info
加载label文件 Args: file_path: label文件地址 Returns: data_info_list: label结果
ST_DM/CIKM2022-DuMapper/DME/metric/topkmap.py:28
↓ 2 callersMethodload_state_dict
(self, state_dict)
NLP/Dialogue-PLATO/plato/metrics/metrics_tracker.py:60
↓ 2 callersMethodload_test_weights
(self, exe, weights, prog)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/model.py:156
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:78
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/NAACL2021-RocketQA/model/src/tokenization.py:73
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/MRQA2019-D-NET/server/bert_server/task_reader/tokenization.py:69
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/tokenization.py:69
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/ACL2021-PAIR/model/src/tokenization.py:73
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:69
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/DuReader-Robust-BASELINE/src/tokenization.py:70
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
NLP/MRQA2019-BASELINE/src/tokenization.py:69
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
KG/AAAI2021_SSAN/utils/tokenization.py:73
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
KG/DuIE_Baseline/ernie/tokenization.py:73
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
KG/DuEL_Baseline/ernie/tokenization.py:71
↓ 2 callersFunctionload_vocab
Loads a vocabulary file into a dictionary.
KG/DuEE_baseline/bin/tokenization.py:73
↓ 2 callersFunctionloadconfig
load config from file
CV/landmark/inference/infer_recognition.py:204
↓ 2 callersFunctionlog_train_step
TODO: Docstring for log_train_step. Args: epoch (TYPE): NULL batch (TYPE): NULL steps_loss (TYPE): NULL cost_time
NLP/Text2SQL-BASELINE/text2sql/launch/trainer.py:39
← previousnext →1,501–1,600 of 7,542, ranked by callers