MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersMethod_run_strip_accents
Strips accents from a piece of text.
NLP/DuReader-Robust-BASELINE/src/tokenization.py:192
↓ 1 callersMethod_run_strip_accents
Strips accents from a piece of text.
NLP/UNIMO/src/model/tokenization.py:408
↓ 1 callersMethod_run_strip_accents
Strips accents from a piece of text.
NLP/MRQA2019-BASELINE/src/tokenization.py:195
↓ 1 callersMethod_run_strip_accents
Strips accents from a piece of text.
KG/AAAI2021_SSAN/utils/tokenization.py:195
↓ 1 callersMethod_run_strip_accents
Strips accents from a piece of text.
KG/DuIE_Baseline/ernie/tokenization.py:195
↓ 1 callersMethod_run_strip_accents
Strips accents from a piece of text.
KG/DuEL_Baseline/ernie/tokenization.py:202
↓ 1 callersMethod_run_strip_accents
Strips accents from a piece of text.
KG/DuEE_baseline/bin/tokenization.py:203
↓ 1 callersMethod_safe_id_to_token
:param idx: :return:
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:856
↓ 1 callersMethod_sampling
Sampling function.
NLP/Dialogue-PLATO/plato/models/generator.py:138
↓ 1 callersFunction_scaled_dot_product_attention
Scaled Dot-Product Attention
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer.py:91
↓ 1 callersMethod_set_env
(self, city)
ST_DM/CIKM2019-MONOPOLY/datasets/house_price/baseline_sklearn.py:42
↓ 1 callersFunction_set_proc_name
set process name on local machine
NLP/Text2SQL-BASELINE/script/text2sql_main.py:252
↓ 1 callersMethod_setup
setup input/output queues and workers
CV/PaddleReid/reid/data/parallel_map.py:91
↓ 1 callersMethod_setup
(self)
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:417
↓ 1 callersMethod_shuffle
(predictions, actuals)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/average_precision_calculator.py:251
↓ 1 callersMethod_skip
(gram)
NLP/ACL2021-PAIR/metric/tokenizers.py:99
↓ 1 callersFunction_split_aggs
split aggs in select
NLP/Text2SQL-BASELINE/tools/evaluation/utils.py:96
↓ 1 callersFunction_split_input_json
(input_json)
NLP/MRQA2019-D-NET/server/bert_server/mrc_service.py:38
↓ 1 callersFunction_split_input_json
(input_json)
NLP/MRQA2019-D-NET/server/ernie_server/mrc_service.py:38
↓ 1 callersFunction_split_input_json
(input_json)
NLP/MRQA2019-D-NET/server/xlnet_server/server_utils.py:38
↓ 1 callersMethod_split_tensors
(self, coalesced_grads_and_grad_vars)
NLP/Dialogue-PLATO/plato/modules/parallel.py:204
↓ 1 callersMethod_subtoken_ids_to_tokens
Converts a list of subtoken ids to a list of tokens. Args: subtokens: a list of integers in the range [0, vocab_size) Retur
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:367
↓ 1 callersFunction_summary_model
Compute operator's params and flops. Args: block_vars: all vars of one block one_op: one operator to count Returns:
CV/astar2019/utils.py:101
↓ 1 callersMethod_token_to_subtoken_ids
Converts token to a list of subtoken ids. Args: token: a string. Returns: a list of integers in the range [0, voc
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:350
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:257
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
ST_DM/KDD2021-HGAMN/src/tokenization.py:317
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/NAACL2021-RocketQA/model/src/tokenization.py:226
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/UNIMO-2/src/model/roberta_tokenization.py:432
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/MRQA2019-D-NET/server/bert_server/task_reader/tokenization.py:226
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/tokenization.py:226
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/ACL2021-PAIR/model/src/tokenization.py:226
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:399
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:358
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:399
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:222
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_record/tokenization.py:185
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_squad/tokenization.py:185
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/Dialogue-PLATO/plato/data/tokenizer.py:290
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/DuReader-Robust-BASELINE/src/tokenization.py:223
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/UNIMO/src/model/tokenization.py:439
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
NLP/MRQA2019-BASELINE/src/tokenization.py:226
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
KG/AAAI2021_SSAN/utils/tokenization.py:226
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
KG/DuIE_Baseline/ernie/tokenization.py:226
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
KG/DuEL_Baseline/ernie/tokenization.py:233
↓ 1 callersMethod_tokenize_chinese_chars
Adds whitespace around any CJK character.
KG/DuEE_baseline/bin/tokenization.py:234
↓ 1 callersMethod_train
Args: inputs (TYPE): NULL labels (TYPE)
NLP/Text2SQL-BASELINE/text2sql/models/enc_dec.py:80
↓ 1 callersFunction_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
NLP/NAACL2019-MPM/reader.py:330
↓ 1 callersMethod_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
NLP/NAACL2021-RocketQA/model/src/reader/reader_ce.py:109
↓ 1 callersMethod_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
NLP/UNIMO-2/src/reader/classification_grounded_reader.py:111
↓ 1 callersMethod_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
NLP/UNIMO/src/reader/regression_reader.py:96
↓ 1 callersMethod_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
NLP/UNIMO/src/reader/classification_reader.py:96
↓ 1 callersMethod_truncate_seq_pair
Truncates a sequence pair in place to the maximum length.
KG/DuEE_baseline/bin/reader/task_reader.py:115
↓ 1 callersFunction_unescape_token
Inverse of _escape_token(). Args: escaped_token: a unicode string Returns: token: a unicode string
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:129
↓ 1 callersFunction_uniq
(li, is_ref)
NLP/ACL2018-DuReader/utils/dureader_eval.py:382
↓ 1 callersMethod_update_dic
Update config from dic based base_dic
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:100
↓ 1 callersFunctiona_star
a_star
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:109
↓ 1 callersFunctiona_star
a_star
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:110
↓ 1 callersMethodaccumulate
Accumulate the predictions and their ground truth labels. After the function call, we may call peek_ap_at_n to actually calculate the average
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/average_precision_calculator.py:92
↓ 1 callersFunctionaccuracy
Get the class-level top1 and top5 of model. Usage: .. code-blcok::python top1, top5 = accuracy(targets, preds) :params args: e
CV/webvision2018/utils/class_accuracy.py:22
↓ 1 callersMethodadam_optimizer
(self, lr_policy, loss)
CV/SemSegPaddle/src/utils/solver.py:137
↓ 1 callersMethodadd_item
add an item
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_preproc_v2.py:296
↓ 1 callersMethodadd_sentinel
:param expanded_bert: [batch_size, seq_size, 1, mem_emb_size] :param memory_embs: [batch_size, seq_size, concept_size, mem_emb_size]
NLP/ACL2019-KTNET/reading_comprehension/src/model/layers.py:178
↓ 1 callersFunctionadd_vars
Add two variable sequences.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/model_state.py:32
↓ 1 callersMethodadd_word
add_word
NLP/Text2SQL-BASELINE/text2sql/dataproc/vocab.py:102
↓ 1 callersFunctionagg_col
(agg, col)
NLP/Text2SQL-BASELINE/tools/evaluation/utils.py:201
↓ 1 callersFunctionanalyze_annots
(stats_list)
KG/DuKEVU_Baseline/paddle-video-semantic-tag/prepare_semantic_tag.py:74
↓ 1 callersFunctionappend_nccl2_prepare
(startup_prog, trainer_id, worker_endpoints, current_endpoint)
NLP/ACL2019-JEMT/train.py:169
↓ 1 callersFunctionappend_one_task
(x_spt, y_spt, x_qry, y_qry, task_poiid_emb)
ST_DM/KDD2021-CHAML/utils/metadataset.py:62
↓ 1 callersFunctionapply_dynamic_loss_scaling
apply dynamic loss scaling
NLP/ACL2020-GraphSum/src/utils/fp16.py:58
↓ 1 callersFunctionapply_dynamic_loss_scaling
apply dynamic loss scaling
NLP/EMNLP2021-SgSum/src/utils/fp16.py:58
↓ 1 callersFunctionapply_dynamic_loss_scaling
(loss_scaling, master_params_grads, incr_every_n_steps, decr_every_n_nan_or_inf
NLP/DuReader-Robust-BASELINE/src/utils/fp16.py:56
↓ 1 callersFunctionapply_dynamic_loss_scaling
(loss_scaling, master_params_grads, incr_every_n_steps, decr_every_n_nan_or_inf
KG/AAAI2021_SSAN/utils/fp16.py:55
↓ 1 callersFunctionapply_dynamic_loss_scaling
(loss_scaling, master_params_grads, incr_every_n_steps, decr_every_n_nan_or_inf
KG/DuIE_Baseline/ernie/utils/fp16.py:56
↓ 1 callersFunctionapply_dynamic_loss_scaling
apply_dynamic_loss_scaling
KG/DuEL_Baseline/ernie/utils/fp16.py:63
↓ 1 callersFunctionapply_dynamic_loss_scaling
apply_dynamic_loss_scaling
KG/DuEE_baseline/bin/utils/fp16.py:59
↓ 1 callersFunctionapply_vessel_aug
Apply vessel augmentation on an fundus image. ---- Args: image: uint8, 3D array in RGB order, the original image. Returns:
CV/robust_vessel_segmentation/data_aug.py:109
↓ 1 callersFunctionargmax_metrics
argmax_metrics
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:191
↓ 1 callersFunctionargmax_metrics
argmax_metrics
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:194
↓ 1 callersFunctionarray2tensor
convert numpy array to PaddleTensor
KG/DuEL_Baseline/ernie/infer_type_ranker.py:338
↓ 1 callersMethodaskey
Desc: segment作为key的对象 Args: self : self Return: None Raise: None
ST_DM/GenRegion/src/region/geometry.py:238
↓ 1 callersFunctionattention
Compute 'Scaled Dot Product Attention
NLP/Text2SQL-BASELINE/text2sql/models/attention.py:45
↓ 1 callersMethodattention
attention
ST_DM/KDD2020-ConSTGAT/constgat.py:229
↓ 1 callersMethodattention
:param K: (batch_size, d) :param V: (batch_size, hist_len, d) :return: (batch_size, d)
ST_DM/KDD2021-CHAML/model/learner.py:59
↓ 1 callersMethodattention
attention
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/models/retrieval_model.py:193
↓ 1 callersFunctionauto_gen
Args: db_id (TYPE): NULL header (TYPE): NULL rows (TYPE): NULL ofs (TYPE): NULL Returns: TODO Raises:
NLP/Text2SQL-DA-HIER/clause2subquestion/auto_gen/auto_gen_simple_query.py:548
↓ 1 callersFunctionauto_gen_one_table
Args: db_id (TYPE): NULL table (TYPE): (table_id, table_name) schema (TYPE): [(col_name, col_name_original), ...]
NLP/Text2SQL-DA-HIER/clause2subquestion/auto_gen/auto_gen_simple_query.py:513
↓ 1 callersFunctionaverage_vars
Average a sequence of variable sequences.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/model_state.py:16
↓ 1 callersMethodbasic_block
(self, input, num_filters, stride, name, if_first, reduction_ratio)
CV/PaddleReid/reid/model/se_resnet_vd.py:226
↓ 1 callersMethodbasic_block
(self, input, num_filters, stride, name, if_first)
CV/PaddleReid/reid/model/resnet_vd.py:243
↓ 1 callersMethodbasic_block
(self, input, num_filters, stride, is_first, name)
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/resnet.py:168
↓ 1 callersMethodbasic_block
(self, input, num_filters, stride=1, downsample=False, name=None)
CV/SemSegPaddle/src/models/backbone/hrnet.py:60
↓ 1 callersMethodbasic_block
(self, input, num_filters, stride, is_first, name)
CV/SemSegPaddle/src/models/backbone/resnet.py:262
↓ 1 callersMethodbasic_block
(self, input, num_filters, stride, is_first, name)
CV/AGEchallenge/LocalizationFCN/resnet_modified.py:168
↓ 1 callersMethodbasic_block
(self, input, num_filters, stride, is_first, name)
CV/AGEchallenge/Classification/resnet.py:167
↓ 1 callersMethodbasic_block
(self, input, num_filters, stride, is_first, name)
CV/AGEchallenge/LocalizationUNet/resnet.py:157
↓ 1 callersFunctionbatch_arrange
(batch_samples, fields)
CV/PaddleReid/reid/data/reader_mt.py:85
↓ 1 callersFunctionbatch_eval
(logits, ent_masks, label_ids)
KG/AAAI2021_SSAN/relation_extraction.py:147
↓ 1 callersFunctionbatch_evaluation
Perform batch evaluation.
KG/ACL2021_GRAN/src/evaluation.py:70
↓ 1 callersMethodbatch_fn
batch_fn batch producer
ST_DM/KDD2021-HGAMN/src/dataset/base_dataset.py:88
↓ 1 callersFunctionbatch_iter
node_batch_iter
ST_DM/KDD2021-HGAMN/src/dataset/base_dataset.py:43
← previousnext →2,501–2,600 of 7,542, ranked by callers