MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 2 callersFunctionloss
Calculate the sigmoid cross entropy with logits for input(x). Args: x: Variable with shape with shape [batch, dim] y: Input label
NLP/ACL2018-DAM/layers.py:21
↓ 2 callersMethodloss
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:115
↓ 2 callersMethodloss
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/attention_lstm/attention_lstm.py:126
↓ 2 callersFunctionlower
(text)
NLP/ACL2024-NACL/src/eval_utils.py:326
↓ 2 callersFunctionlower
(text)
NLP/ACL2024-NACL/src/compute_scores.py:33
↓ 2 callersFunctionmain
main_func
NLP/UNIMO-2/src/launch.py:126
↓ 2 callersFunctionmake_all_py_reader_inputs
(input_fields, is_test=False)
NLP/ACL2019-JEMT/model.py:568
↓ 2 callersFunctionmake_tarfile
(folder_path, remove=True)
KG/ACL2021_GRAN/src/run.py:106
↓ 2 callersFunctionmakedirs
(directory)
CV/SemSegPaddle/vis.py:71
↓ 2 callersFunctionmaybe_mask
(attn, attn_mask)
NLP/Text2SQL-BASELINE/text2sql/models/attention.py:35
↓ 2 callersFunctionmean_iou
(pred, label, iou)
CV/SemSegPaddleDG/train.py:181
↓ 2 callersFunctionmerge_cfg_from_list
Set the above global configurations using the cfg_list.
NLP/EMNLP2019-MAL/src/config.py:172
↓ 2 callersFunctionmerge_cfg_from_list
Set the above global configurations using the cfg_list.
NLP/ACL2019-JEMT/config.py:117
↓ 2 callersFunctionmerge_flip_feas
(ori_feas, flip_feas)
CV/PaddleReid/test_query_gallery.py:63
↓ 2 callersFunctionmetric_max_over_ground_truths
(metric_fn, prediction, ground_truths)
NLP/MRQA2019-D-NET/multi_task_learning/scripts/evaluate-v1.1.py:46
↓ 2 callersFunctionmixed_segmentation
# split Chinese with English
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:728
↓ 2 callersFunctionmixed_segmentation
(in_str, rm_punc=False)
NLP/UNIMO-2/src/utils/cmrc2018_eval.py:22
↓ 2 callersFunctionmixed_segmentation
mixed_segmentation
KG/DuEE_baseline/bin/utils/cmrc2018_eval.py:39
↓ 2 callersFunctionmlp_pool
mlp pool after emb->conv->att names: #prefix #field #prefix_raw,prefix_att #name,addr #name_r
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:57
↓ 2 callersFunctionmlp_pool
mlp pool after emb->conv->att names: #prefix #field #prefix_raw,prefix_att #name,addr #name_r
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:57
↓ 2 callersFunctionmlp_pool
mlp pool after emb->conv->att names: #prefix #field #prefix_raw,prefix_att #name,addr #name_r
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:57
↓ 2 callersMethodmode
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:182
↓ 2 callersFunctionmodel_config
model config
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/network.py:29
↓ 2 callersFunctionmodel_config
model config
NLP/ACL2019-DuConv/generative_paddle/network.py:29
↓ 2 callersFunctionmulti_cross_entropy_loss
(pred1, pred2, label, num_classes=19, weight=None)
CV/SemSegPaddleDG/src/utils/loss.py:9
↓ 2 callersFunctionmulti_device
multi device
ST_DM/KDD2021-HGAMN/src/monitor/listwise_monitor.py:23
↓ 2 callersMethodmultiprocess_generator
(self, max_queue_size=32, num_processes=8)
CV/SemSegPaddle/src/datasets/baseseg.py:71
↓ 2 callersMethodndcg_score
Normalized discounted cumulative gain (NDCG) at rank K. Normalized Discounted Cumulative Gain (NDCG) measures the performance of a re
ST_DM/KDD2021-CHAML/utils/metrics.py:44
↓ 2 callersMethodnet
(self, input, class_dim=1000)
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/resnet.py:45
↓ 2 callersMethodnet
(self, input, class_dim=1000)
CV/landmark/inference/models/resnet_vd.py:35
↓ 2 callersMethodnet
must implement in subclass
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/base_net.py:87
↓ 2 callersMethodnet_multi_branch
(self, input, is_train=True, class_dim=751, num_features=512)
CV/PaddleReid/reid/model/__init__.py:46
↓ 2 callersMethodnext
get next transformed sample
CV/PaddleReid/reid/data/parallel_map.py:215
↓ 2 callersFunctionngrams
generate n-grams from tok_list Args: tok_list (TYPE): NULL n (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:81
↓ 2 callersFunctionnormalize_answer
Lower text and remove punctuation, articles and extra whitespace.
NLP/ACL2024-NACL/src/eval_utils.py:313
↓ 2 callersFunctionnormalize_answer
Lower text and remove punctuation, articles and extra whitespace.
NLP/ACL2024-NACL/src/compute_scores.py:20
↓ 2 callersFunctionnormalize_zh_answer
Lower text and remove punctuation, extra whitespace.
NLP/ACL2024-NACL/src/eval_utils.py:332
↓ 2 callersFunctionnormalize_zh_answer
Chinese version. Lower text and remove punctuation, extra whitespace.
NLP/ACL2024-NACL/src/compute_scores.py:39
↓ 2 callersFunctionnormwidth
(size, margin=32)
CV/landmark/inference/infer_retrieval.py:25
↓ 2 callersFunctionnormwidth
(size, margin=32)
CV/landmark/inference/infer_recognition.py:199
↓ 2 callersMethodnumericalize
(self, tokens)
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataset.py:102
↓ 2 callersFunctionone_meta_training_step
(task_gen, meta_model, optimizer, device, parameters, task_idx2results, stage, curriculum, hard_task, batc
ST_DM/KDD2021-CHAML/main.py:215
↓ 2 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
NLP/UNIMO-2/src/utils/optimization_fleet.py:31
↓ 2 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
KG/CoKE/bin/optimization.py:55
↓ 2 callersFunctionoptimization
optimization
KG/DuEE_baseline/bin/optimization.py:58
↓ 2 callersMethodoutputs
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:122
↓ 2 callersFunctionpad_bath_kn_data
pad_bath_kn_data
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:89
↓ 2 callersFunctionpad_input
(x0)
CV/PWCNet/train.py:58
↓ 2 callersFunctionpad_mini_batch
:param batch: :return:
NLP/EMNLP2019-MAL/src/preprocess/gen_utils.py:145
↓ 2 callersFunctionpad_mini_batch
:param batch: :return:
NLP/EMNLP2019-MAL/src/preprocess/subword_decode.py:145
↓ 2 callersFunctionpad_phoneme_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and attention bias.
NLP/ACL2019-JEMT/train.py:189
↓ 2 callersMethodparse_agg
(self, agg)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:302
↓ 2 callersFunctionparse_args
()
CV/PaddleFSL/utils.py:8
↓ 2 callersFunctionparse_args
Parse hyper-parameters from cmdline.
NLP/Dialogue-PLATO/plato/args.py:64
↓ 2 callersFunctionparse_args
()
NLP/ACL2024-NACL/src/args.py:5
↓ 2 callersFunctionparse_args
()
NLP/ACL2018-DuReader/src/args.py:23
↓ 2 callersFunctionparse_col
:returns next idx, column id
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:176
↓ 2 callersFunctionparse_col
:returns next idx, column id
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:175
↓ 2 callersFunctionparse_line
parse line
ST_DM/CIKM2019-MONOPOLY/datasets/house_price/feature_preprocess.py:31
↓ 2 callersFunctionparse_line
parse training data
NLP/EMNLP2019-MAL/src/reader.py:307
↓ 2 callersMethodparse_line
parse one line to token_ids, sentence_ids, pos_ids, label
NLP/UNIMO-2/src/reader/img2txt_oscar_reader.py:111
↓ 2 callersMethodparse_line
parse one line to token_ids, sentence_ids, pos_ids, label
NLP/UNIMO/src/reader/visual_entailment_reader.py:61
↓ 2 callersMethodparse_line
parse one line to token_ids, sentence_ids, pos_ids, label
NLP/UNIMO/src/reader/img2txt_reader.py:89
↓ 2 callersMethodparse_oneline
datareader interface
ST_DM/KDD2020-P3AC/datasets/poi_qac_personalized/qac_personalized.py:246
↓ 2 callersMethodparse_oneline
parse sample line with the sample corresponding format
ST_DM/KDD2021-MSTPAC/code/ST-PAC/datasets/base_dataset.py:49
↓ 2 callersMethodparse_oneline
parse sample line with the sample corresponding format
ST_DM/KDD2021-MSTPAC/code/MST-PAC/datasets/base_dataset.py:49
↓ 2 callersFunctionparse_output
(text, tagging_output, begin_offset=0)
NLP/ACL2019-KTNET/retrieve_concepts/ner_tagging_squad/tagging.py:47
↓ 2 callersFunctionparse_poi_neigh
load poi graph
ST_DM/KDD2021-HGAMN/src/dataset/pointwise_dataset.py:309
↓ 2 callersMethodparse_val
(self, val)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:135
↓ 2 callersMethodparse_val
(self, val)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:144
↓ 2 callersMethodparse_val_unit
(self, val_unit)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:160
↓ 2 callersFunctionpartial_match
check partial match
NLP/Text2SQL-BASELINE/text2sql/utils/linking_utils.py:247
↓ 2 callersFunctionpascalvoc
(settings, file_list, mode, batch_size, shuffle)
CV/astar2019/reader.py:226
↓ 2 callersFunctionpgd_with_l2
(loss, delta)
NLP/UNIMO/src/finetune/visual_entailment.py:132
↓ 2 callersMethodpickle_dumps_to_str
from object to str
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/object_transform.py:32
↓ 2 callersMethodpickle_dumps_to_str
from object to str
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/object_transform.py:20
↓ 2 callersMethodpickle_loads_from_str
from str to object
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/object_transform.py:44
↓ 2 callersMethodpickle_loads_from_str
from str to object
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/object_transform.py:32
↓ 2 callersFunctionpoi_field_attention
attention pool
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:174
↓ 2 callersFunctionpoi_field_attention
attention pool
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:174
↓ 2 callersFunctionpoi_field_attention
attention pool
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:174
↓ 2 callersFunctionpoints_2_segs
Desc: 点转换为seg Args: points : points Return: list of mygeo.Segment Raise: None
ST_DM/GenRegion/src/generate/gen/regionalg.py:209
↓ 2 callersFunctionpositionwise_feed_forward
Position-wise Feed-Forward Networks. This module consists of two linear transformations with a ReLU activation in between, which is appli
NLP/EMNLP2019-MAL/src/relative_model.py:212
↓ 2 callersFunctionpositionwise_feed_forward
Position-wise Feed-Forward Networks. This module consists of two linear transformations with a ReLU activation in between, which is appli
NLP/EMNLP2019-MAL/src/forward_model.py:211
↓ 2 callersFunctionpositionwise_feed_forward
Position-wise Feed-Forward Networks. This module consists of two linear transformations with a ReLU activation in between, which is appli
NLP/EMNLP2019-MAL/src/dense_model.py:201
↓ 2 callersFunctionpositionwise_feed_forward
Position-wise Feed-Forward Networks. This module consists of two linear transformations with a ReLU activation in between, which is appli
NLP/ACL2019-JEMT/model.py:235
↓ 2 callersFunctionpost_process
(inference)
KG/DuIE_Baseline/ernie/finetune/relation_extraction_multi_cls.py:325
↓ 2 callersFunctionpost_process_seq
Post-process the beam-search decoded sequence. Truncate from the first <eos> and remove the <bos> and <eos> tokens currently.
NLP/ACL2020-GraphSum/src/networks/graphsum/run_graphsum.py:421
↓ 2 callersFunctionprecision_recall_f1
This function calculates and returns the precision, recall and f1-score Args: prediction: prediction string or list to be matched
NLP/ACL2018-DuReader/utils/preprocess.py:29
↓ 2 callersFunctionprecision_recall_f1
This function calculates and returns the precision, recall and f1-score Args: prediction: prediction string or list to be matched
NLP/ACL2018-DuReader/src/preprocess.py:29
↓ 2 callersFunctionpredict
(exe, test_program, test_pyreader, graph_vars, dev_count=1)
NLP/NAACL2021-RocketQA/model/src/finetune/cross_encoder.py:298
↓ 2 callersFunctionpredict
predict
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/conversation_strategy.py:41
↓ 2 callersFunctionpredict
predict
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/tools/conversation_strategy.py:31
↓ 2 callersFunctionpredict
predict
NLP/ACL2019-DuConv/retrieval_paddle/tools/conversation_strategy.py:41
↓ 2 callersFunctionpredict
predict
NLP/ACL2019-DuConv/generative_paddle/tools/conversation_strategy.py:31
↓ 2 callersFunctionpredict
predict
NLP/UNIMO/src/finetune/regression.py:84
↓ 2 callersFunctionpredict
(test_exe, test_program, test_pyreader, fetch_list, processor, prefix='')
NLP/MRQA2019-BASELINE/src/run_mrqa.py:174
↓ 2 callersFunctionpredict
( exe, test_program, test_pyreader, graph_vars, dev_count=1, is_classify=False, is
KG/DuEL_Baseline/ernie/finetune/type_pairwise_ranker.py:427
↓ 2 callersFunctionpredict
(test_exe, test_program, test_pyreader, fetch_list, all_examples, args)
KG/CoKE/bin/run.py:209
↓ 2 callersFunctionpredict
func
KG/DuEE_baseline/bin/finetune/sequence_label.py:217
← previousnext →1,601–1,700 of 7,542, ranked by callers