MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersMethodsgd_optimizer
(self, lr_policy, loss)
CV/SemSegPaddle/src/utils/solver.py:100
↓ 1 callersMethodsharding_generator
Use line id as shard key for multiprocess io It's a normal generator if pid=0, num_processes=1
CV/SemSegPaddle/src/datasets/baseseg.py:56
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name, if_first=False)
CV/PaddleReid/reid/model/resnext_vd_multi_branch.py:179
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name, if_first=False)
CV/PaddleReid/reid/model/se_resnext_vd.py:166
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name, if_first=False)
CV/PaddleReid/reid/model/resnext_vd.py:188
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name)
CV/PaddleReid/reid/model/resnext101_wsl.py:120
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name)
CV/webvision2018/models/resnext_32x4d.py:130
↓ 1 callersMethodshortcut
(self, input, data_residual)
CV/SemSegPaddle/src/models/backbone/mobilenet_v2.py:184
↓ 1 callersMethodshortcut
shortcut
CV/landmark/inference/models/resnet_vd_fc.py:158
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name, if_first=False)
CV/landmark/inference/models/resnet_vd_embedding.py:155
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, if_first=False)
CV/landmark/inference/models/resnet_vd_v0_embedding.py:122
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name, if_first=False)
CV/landmark/inference/models/resnet_vd.py:163
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name, if_first=False)
CV/landmark/inference/models/se_resnext_vd_embedding.py:121
↓ 1 callersMethodshortcut
(self, input, ch_out, stride, name)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn_res_model.py:65
↓ 1 callersFunctionshuffle
Creates a data reader whose data output is shuffled. Output from the iterator that created by original reader will be buffered into shuf
NLP/EMNLP2019-MAL/src/reader.py:189
↓ 1 callersMethodshuffle_dataset
:return:
NLP/EMNLP2019-MAL/src/gen_records.py:84
↓ 1 callersMethodshuffle_print
shuffle and print to file
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/feature_imp/replace_column.py:63
↓ 1 callersMethodshuffle_samples
shuffle_samples
NLP/UNIMO-2/src/reader/retrieval_grounded_reader.py:192
↓ 1 callersMethodshuffle_samples
shuffle_samples
NLP/UNIMO-2/src/reader/retrieval_grounded_reader.py:347
↓ 1 callersMethodshuffle_samples
(self, sample_generator, buffer=1000)
NLP/UNIMO-2/src/reader/img2txt_oscar_reader.py:216
↓ 1 callersMethodshuffle_samples
shuffle_samples
NLP/UNIMO/src/reader/visual_entailment_reader.py:164
↓ 1 callersMethodshuffle_samples
shuffle samples
NLP/UNIMO/src/reader/img2txt_reader.py:225
↓ 1 callersMethodshuffle_samples
shuffle_samples
NLP/UNIMO/src/reader/retrieval_reader.py:237
↓ 1 callersMethodshuffle_samples
shuffle_samples
NLP/UNIMO/src/reader/retrieval_reader.py:449
↓ 1 callersMethodshutdown
(self)
NLP/NAACL2021-RocketQA/metric/dpr/utils/tokenizers.py:146
↓ 1 callersFunctionside
Desc: 计算outvec相对于invec的位置, 左侧left, 右侧right, 如果是中间, 反悔 Args: invec: invec, (inx, iny) outvec: outvec, (outx, outy) Return
ST_DM/GenRegion/src/generate/gen/generator.py:36
↓ 1 callersFunctionsimple_accuracy
simple_accuracy
NLP/UNIMO-2/src/finetune/glue_eval.py:160
↓ 1 callersFunctionsimple_accuracy
simple_accuracy
NLP/EMNLP2021-SgSum/src/eval/glue_eval.py:158
↓ 1 callersFunctionsimple_accuracy
simple_accuracy
NLP/UNIMO/src/eval/glue_eval.py:95
↓ 1 callersFunctionsimple_accuracy
(preds, labels)
KG/DuEL_Baseline/ernie/finetune/type_pairwise_ranker.py:421
↓ 1 callersFunctionspan_masking
(sentence, spans, vocab_size, mask_id=50264, mask_pos=None)
NLP/UNIMO-2/src/reader/unimo_grounded_batching.py:191
↓ 1 callersFunctionsparse_max_pool
Downsample the input by considering 0 values as invalid. Unfortunately, no generic interpolation mode can resize a sparse map correctly, the
CV/PWCNet/src/multiscaleloss.py:40
↓ 1 callersMethodspecific_method
(self, x, y)
CV/PaddleFSL/methods/template.py:44
↓ 1 callersFunctionsplit
split for multi-gpu
NLP/EMNLP2019-MAL/src/reader.py:537
↓ 1 callersFunctionsplit
(data_reader, count)
NLP/ACL2019-JEMT/train.py:367
↓ 1 callersFunctionsplit
Split id list by separator.
NLP/Dialogue-PLATO/run.py:128
↓ 1 callersFunctionsplit_c
Split c is a list, example context split_id is a integer, conf[_EOS_] return nested list
NLP/ACL2018-DAM/reader.py:45
↓ 1 callersFunctionsplit_segs_by_segs
Desc: 计算seg与seg之间的交点, 并将seg打断成多个不同的seg 保证任意两个seg之间没有除首尾点之外的交点 Args: segs : list of mygeo.Segment grid_size : 计算过程
ST_DM/GenRegion/src/generate/gen/algorithm.py:85
↓ 1 callersMethodsplit_sentences
ROUGE requires texts split into sentences. In case the texts are not already split, this method can be used.
NLP/ACL2020-GraphSum/src/tools/my_pyrouge.py:203
↓ 1 callersMethodsplit_sentences
ROUGE requires texts split into sentences. In case the texts are not already split, this method can be used.
NLP/EMNLP2021-SgSum/src/tools/my_pyrouge.py:203
↓ 1 callersMethodsplit_sentences
ROUGE requires texts split into sentences. In case the texts are not already split, this method can be used.
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/bs_pyrouge.py:210
↓ 1 callersFunctionsplitedsegs_2_regions
Desc: 将线段围绕组成的区域构建出一个region, 返回所有构建成功的region, 输入的segs中, 任意两个seg之间没有除首尾点之外的交点 Args: segs : 线段集合 Return: new r
ST_DM/GenRegion/src/generate/gen/algorithm.py:103
↓ 1 callersMethodsqueeze_excitation
(self, input, num_channels, r
CV/PaddleReid/reid/model/se_resnext_vd.py:290
↓ 1 callersMethodsqueeze_excitation
(self, input, num_channels, reduction_ratio, name=None)
CV/landmark/inference/models/se_resnext_vd_embedding.py:212
↓ 1 callersFunctionstack
Data generator for multi-devices
NLP/EMNLP2019-MAL/src/reader.py:511
↓ 1 callersFunctionstack
(data_reader, count, clip_last=True)
NLP/ACL2019-JEMT/train.py:344
↓ 1 callersMethodstart
Start worker threads which add data from the generator into the queue. Args: workers (int): number of worker threads
CV/SemSegPaddle/src/datasets/data_utils.py:33
↓ 1 callersMethodstart
(self)
CV/SemSegPaddleDG/src/utils/timer.py:23
↓ 1 callersFunctionstart_procs
start_procs
NLP/UNIMO-2/src/launch.py:41
↓ 1 callersFunctionstart_procs
start_procs
NLP/ACL2020-GraphSum/src/launch.py:43
↓ 1 callersFunctionstart_procs
start_procs
NLP/EMNLP2019-MAL/src/launch.py:53
↓ 1 callersFunctionstart_procs
start_procs
NLP/EMNLP2021-SgSum/src/launch.py:43
↓ 1 callersFunctionstart_procs
start_procs
NLP/UNIMO/src/launch.py:53
↓ 1 callersFunctionstart_procs
(args)
KG/DuIE_Baseline/ernie/finetune_launch.py:62
↓ 1 callersFunctionstat_numberic_list
(li, name="default")
KG/DuKEVU_Baseline/paddle-video-semantic-tag/prepare_semantic_tag.py:62
↓ 1 callersFunctionstate_sequence_expand
(state, y)
NLP/IJCAI2019-MMPMS/mmpms/modules/generator.py:37
↓ 1 callersMethodstep
step function
NLP/IJCAI2019-MMPMS/mmpms/modules/decoder.py:24
↓ 1 callersMethodstop_words
(self)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/doc2vec.py:15
↓ 1 callersFunctionstr_to_year
str to year
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:141
↓ 1 callersMethodsubtract
Desc: self - region的差集 Args: self : self region : 另一个region Return: list of region, 只保留多
ST_DM/GenRegion/src/region/geometry.py:835
↓ 1 callersFunctionsubtract_vars
Subtract one variable sequence from another.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/model_state.py:25
↓ 1 callersFunctionsummary
It can summary model's PARAMS, FLOPs until now. It support common operator like conv, fc, pool, relu, sigmoid, bn etc. Args: main
CV/astar2019/utils.py:67
↓ 1 callersMethodsync_transform
(self, image, label, aug=True)
CV/SemSegPaddleDG/src/datasets/pascal_context.py:69
↓ 1 callersMethodsync_transform
(self, image, label, aug=True)
CV/SemSegPaddleDG/src/datasets/base.py:30
↓ 1 callersMethodsync_val_transform
(self, image, label)
CV/SemSegPaddleDG/src/datasets/pascal_context.py:136
↓ 1 callersMethodsync_val_transform
(self, image, label)
CV/SemSegPaddleDG/src/datasets/base.py:97
↓ 1 callersFunctiontagging
(dataset, nlp)
NLP/ACL2019-KTNET/retrieve_concepts/ner_tagging_squad/tagging.py:72
↓ 1 callersFunctiontask_iterator
(qry_user2samples, candidates, user2itemset, yield_batch_size, align_qry_samples=None)
ST_DM/KDD2021-CHAML/utils/metadataset.py:212
↓ 1 callersFunctiontask_to_device
(x_spt, y_spt, x_qry, y_qry, poiid_embs, device)
ST_DM/KDD2021-CHAML/main.py:120
↓ 1 callersFunctiontest
Test for whole dataset Args: dataloader: paddle.io.DataLoader, dataloader instance model: nn.Layer, a ViT model criterion:
CV/SMILE/test.py:71
↓ 1 callersFunctiontest
()
CV/PaddleFSL/test.py:14
↓ 1 callersFunctiontest
print kwargs
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/load_conf_file.py:201
↓ 1 callersFunctiontest
print kwargs
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/load_conf_file.py:193
↓ 1 callersFunctiontest
test
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/network.py:390
↓ 1 callersFunctiontest
(exe=test_exe, pyreader=pyreader)
NLP/ACL2019-JEMT/train.py:489
↓ 1 callersFunctiontest
Test
NLP/ACL2018-DAM/main.py:351
↓ 1 callersFunctiontest
test
NLP/ACL2019-DuConv/generative_paddle/network.py:390
↓ 1 callersFunctiontest_cnn
(args)
CV/SMILE/test.py:113
↓ 1 callersFunctiontest_context
(exe, train_exe, dev_count)
NLP/ACL2019-JEMT/train.py:437
↓ 1 callersFunctiontest_gpt_bpe_tokenizer
test the tokenizer
NLP/UNIMO-2/src/model/roberta_tokenization.py:583
↓ 1 callersFunctiontest_gpt_bpe_tokenizer
test the tokenizer
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:550
↓ 1 callersFunctiontest_gpt_bpe_tokenizer
test the tokenizer
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:486
↓ 1 callersFunctiontest_gpt_bpe_tokenizer
test the tokenizer
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:550
↓ 1 callersFunctiontest_rank_acc
()
NLP/UNIMO-2/src/finetune/img_eval.py:192
↓ 1 callersFunctiontest_rouge
(cand, ref)
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/eval.py:62
↓ 1 callersFunctiontest_with_dataloader
(exe, compiled_test_prog, test_dataloader,
KG/DuKEVU_Baseline/paddle-video-classify-tag/utils/train_utils.py:50
↓ 1 callersFunctiontest_with_feed
Test with feed
NLP/ACL2018-DAM/main.py:55
↓ 1 callersFunctiontest_with_pyreader
Test with pyreader
NLP/ACL2018-DAM/main.py:81
↓ 1 callersMethodtext_encode
(self, text_input, text_mask, gather_idx=None, decoding_step=False)
NLP/UNIMO-2/src/model/unimo_grounded.py:566
↓ 1 callersMethodtext_encode
(self, text_input, text_mask, gather_idx=None, decoding_step=False)
NLP/UNIMO-2/src/model/unimo_grounded_baseline.py:419
↓ 1 callersMethodtext_encode
(self, text_input, text_mask, gather_idx=None)
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:995
↓ 1 callersMethodtext_encode
(self, text_input, text_mask, gather_idx=None)
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:1575
↓ 1 callersFunctiontext_generator
(word_dict, documents)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/data_generator.py:179
↓ 1 callersFunctiontimestr_to_timeid
(timestr)
ST_DM/KDD2021-CHAML/preprocess/step3.py:16
↓ 1 callersMethodto_example
:param source: :param target: :return:
NLP/EMNLP2019-MAL/src/gen_records.py:70
↓ 1 callersFunctionto_png_fn
Append png as filename postfix
CV/SemSegPaddle/vis.py:98
↓ 1 callersFunctionto_unicode
:param s: :param ignore_errors: :return:
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:88
↓ 1 callersMethodtoken_choice
token_choice
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:421
↓ 1 callersMethodtoken_infer
token infer
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:621
↓ 1 callersFunctiontokenize
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:84
← previousnext →4,301–4,400 of 7,542, ranked by callers