MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 14 callersFunctionfilter_nones
(d)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:44
↓ 14 callersFunctionfilter_nones
(d)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:44
↓ 14 callersMethodfrom_pretrained
(self, embeds, place, scale=0.05)
NLP/IJCAI2019-MMPMS/mmpms/modules/embedder.py:48
↓ 14 callersMethodfull
are all allocatable pages used
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:266
↓ 14 callersMethodtokenize
(self, text)
NLP/NAACL2021-RocketQA/model/src/tokenization.py:122
↓ 13 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/PaddleReid/reid/model/se_resnext_vd.py:228
↓ 13 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/landmark/inference/models/se_resnext_vd_embedding.py:154
↓ 13 callersMethodcount
Desc: 统计元素的数量 Args: self : self Return: None Raise: None
ST_DM/GenRegion/src/generate/gen/cluster.py:46
↓ 13 callersMethodencode
transformer encode
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/ernie_gen.py:193
↓ 13 callersMethodis_empty
Desc: 判断这个对象是否为空对象 Args: self : self point : Point Return: True, if empty; False, if not
ST_DM/GenRegion/src/generate/gen/cluster.py:72
↓ 13 callersFunctionnew_name
(name, postfix)
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:63
↓ 13 callersMethodpolygon
Desc: 将region转换成spgeo.Polygon Args: self : self Return: spgeo.Polygon Raise:
ST_DM/GenRegion/src/region/geometry.py:763
↓ 13 callersMethodtokenize
(self, text)
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:118
↓ 13 callersMethodunion
Desc: self - region的并集 Args: self : self region : 另一个region Return: list of reg
ST_DM/GenRegion/src/region/geometry.py:848
↓ 12 callersFunction_dump_vec
(data, name)
ST_DM/KDD2020-P3AC/datasets/poi_qac_personalized/qac_personalized.py:344
↓ 12 callersMethoddata_generator
(self, data_path, batch_size, phase='trai
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad.py:594
↓ 12 callersMethoddecode
bpe decoding
NLP/UNIMO-2/src/model/roberta_tokenization.py:219
↓ 12 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and attention bias.
KG/DuEL_Baseline/ernie/batching.py:170
↓ 12 callersFunctionreader
This function read a MRQA data file. :param filename: name of a MRQA data file. :return: original samples of a MRQA data file.
NLP/MRQA2019-BASELINE/data/convert_mrqa2squad.py:27
↓ 12 callersMethodupdate
(self, metrics, num_samples)
NLP/Dialogue-PLATO/plato/metrics/metrics_tracker.py:30
↓ 12 callersFunctionwrap_layer_with_block
Make layer define support indicating block, by which we can add layers to other blocks within current block. This will make it easy to define
NLP/ACL2020-GraphSum/src/models/attention.py:24
↓ 12 callersFunctionwrap_layer_with_block
Make layer define support indicating block, by which we can add layers to other blocks within current block. This will make it easy to define
NLP/EMNLP2021-SgSum/src/models/attention.py:24
↓ 11 callersFunction_is_numpy_image
(img)
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_functional.py:27
↓ 11 callersMethod_make_layer
(self, block, depth, num_filters, stride=1, dilation=1, same=False, multi_grid=False, mult
CV/SemSegPaddleDG/src/models/backbone/resnet.py:239
↓ 11 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/PaddleReid/reid/model/se_resnet_vd.py:116
↓ 11 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/PaddleReid/reid/model/resnet_vd.py:131
↓ 11 callersMethoddecode
bpe decoding
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:188
↓ 11 callersFunctionfile_saver
(file_path, obj)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/train_generator.py:116
↓ 11 callersMethodfind_all_descendants_of_type
(self, tree, target_type, descend_pred=lambda field: True)
NLP/Text2SQL-BASELINE/text2sql/utils/ast_util.py:259
↓ 11 callersMethodgrid
Desc: 返回该对象的网格编号 网格编号为字符串, 编号的格式为"xgrid_ygrid" xgrid = int(x) / grid_size ygrid = int(y) /
ST_DM/GenRegion/src/region/geometry.py:129
↓ 11 callersMethodis_empty
Desc: 判断一个对象是否是空的 Args: self : Return: None Raise: None
ST_DM/GenRegion/src/region/geometry.py:689
↓ 11 callersMethodis_in
Desc: 添加一个key, 如果key已经存在, 返回key对应的value Args: key : key value : value, 如果value == None, 则认为value = key
ST_DM/GenRegion/src/generate/gen/generator.py:195
↓ 11 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and attention bias.
KG/DuEE_baseline/bin/batching.py:164
↓ 11 callersMethodtokenize
(self, text)
NLP/Dialogue-PLATO/plato/data/tokenizer.py:76
↓ 11 callersFunctionupdate_attr
(attr, name, prefix=None, suffix="W")
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:30
↓ 10 callersMethodadd_arg
add_arg
NLP/EMNLP2019-MAL/src/args.py:38
↓ 10 callersFunctiondynamic_expand
:param dynamic_tensor: :param smaller_tensor: :return:
NLP/ACL2019-KTNET/reading_comprehension/src/model/layers.py:36
↓ 10 callersFunctionfc
fc
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/models/knowledge_seq2seq.py:27
↓ 10 callersFunctionfc
fc
NLP/ACL2019-DuConv/generative_paddle/source/models/knowledge_seq2seq.py:27
↓ 10 callersFunctionfile_saver
(file_path, obj)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/data_generator.py:69
↓ 10 callersFunctionget_scores
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:845
↓ 10 callersFunctionget_scores
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:924
↓ 10 callersFunctionlist2np
(X, padding=0, dtype="int64")
NLP/Dialogue-PLATO/plato/data/field.py:37
↓ 10 callersMethodpredict
(self, args)
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/algorithm/multitask.py:42
↓ 10 callersFunctionpsnr1
(img1, img2)
CV/AICity2020-Anomaly-Detection/pixel_track/post_process/time_back.py:27
↓ 10 callersMethodreader
()
NLP/Dialogue-PLATO/plato/data/data_loader.py:53
↓ 10 callersMethodtranspose
(mat)
NLP/MRQA2019-D-NET/server/xlnet_server/server_utils.py:114
↓ 10 callersMethodwords
Returns a list of the text of each token Args: uncased: lower cases text
NLP/ACL2021-PAIR/metric/tokenizers.py:49
↓ 9 callersMethodbatch
(self, reader, batch_size, is_test=False, drop_last=False)
CV/SemSegPaddle/src/datasets/baseseg.py:104
↓ 9 callersFunctionbatch_reader
(batch_list, args)
NLP/ACL2018-DuReader/src/run.py:92
↓ 9 callersFunctionblock
Block
NLP/ACL2018-DAM/layers.py:124
↓ 9 callersFunctionbn
(*args, **kargs)
CV/SemSegPaddle/src/models/libs/model_libs.py:81
↓ 9 callersMethodcal_logit
calculate logit
NLP/UNIMO/src/finetune/img2txt.py:82
↓ 9 callersFunctioncheck_data
(data, number)
CV/SemSegPaddle/src/models/backbone/xception.py:31
↓ 9 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/SemSegPaddle/src/models/backbone/resnet.py:176
↓ 9 callersMethodcreate_tensors
create tensors
ST_DM/KDD2020-ConSTGAT/constgat.py:71
↓ 9 callersMethodencode
Transform a human-readable string into a sequence of int ids. The ids should be in the range [num_reserved_ids, vocab_size). Ids [0,
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:171
↓ 9 callersFunctionfile_reader
file_reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_binary_lstm.py:51
↓ 9 callersFunctionget_cities
(which='base')
ST_DM/KDD2021-CHAML/preprocess/constants.py:15
↓ 9 callersMethodget_config_from_sec
(self, sec, item, default=None)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/reader_utils.py:49
↓ 9 callersMethodget_sequence_output
get sequence output
NLP/UNIMO/src/model/unimo_finetune.py:354
↓ 9 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program)
NLP/NAACL2021-RocketQA/model/src/utils/init.py:33
↓ 9 callersFunctionnorm_layer
(input, norm_type='batch_norm', name=None)
CV/PaddleReid/reid/model/layers.py:88
↓ 9 callersMethodpoint
Desc: 转换为spgeo.Point Args: self : self Return: spgeo.Point Raise: None
ST_DM/GenRegion/src/region/geometry.py:115
↓ 9 callersMethodprepare_emb
prepare embedding
ST_DM/KDD2020-ConSTGAT/constgat.py:124
↓ 9 callersMethodrun
run frame, default train
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:393
↓ 9 callersMethodtokenize
(self, text)
NLP/ACL2021-PAIR/model/src/tokenization.py:122
↓ 8 callersMethod__init__
(self, size, num_flatten_dims=1, param_attr=None,
NLP/IJCAI2019-MMPMS/mmpms/layers/layers_wrapper.py:181
↓ 8 callersFunction_build_linear
(n_in, n_out, name=None, init=None)
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:42
↓ 8 callersFunction_cal_rouge
(evaluated_ngrams, reference_ngrams)
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:723
↓ 8 callersFunction_rouge_clean
(s)
NLP/EMNLP2021-SgSum/src/data_preprocess/data_builder_graphextsum.py:720
↓ 8 callersFunctionbn_relu
(data)
CV/SemSegPaddle/src/models/libs/model_libs.py:126
↓ 8 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/PaddleReid/reid/model/resnext_vd_multi_branch.py:111
↓ 8 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/PaddleReid/reid/model/resnext_vd.py:120
↓ 8 callersMethodconv_bn_layer
conv_bn_layer
CV/landmark/inference/models/resnet_vd_fc.py:92
↓ 8 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/landmark/inference/models/resnet_vd_embedding.py:91
↓ 8 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/landmark/inference/models/resnet_vd_v0_embedding.py:80
↓ 8 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/landmark/inference/models/resnet_vd.py:97
↓ 8 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
ST_DM/KDD2021-HGAMN/src/tokenization.py:90
↓ 8 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
NLP/UNIMO-2/src/model/roberta_tokenization.py:92
↓ 8 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:91
↓ 8 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:80
↓ 8 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:91
↓ 8 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
NLP/UNIMO/src/model/tokenization.py:95
↓ 8 callersMethodcreate
create a col unit Args: col_id (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-DA-HIER/clause2subquestion/auto_gen/auto_gen_simple_query.py:77
↓ 8 callersMethoddump
TBD
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/trainer/infer_plugins/compose.py:91
↓ 8 callersFunctionernie_unsqueeze
ernie_unsqueeze
ST_DM/KDD2021-HGAMN/src/lbs_model.py:39
↓ 8 callersFunctionevaluate
(args, exe, test_program, test_pyreader, graph_vars, eval_phase)
NLP/UNIMO-2/src/finetune/classifier_grounded.py:154
↓ 8 callersFunctionevaluate
evaluate
NLP/UNIMO/src/finetune/retrieval.py:137
↓ 8 callersFunctionevaluate
evaluate
NLP/UNIMO/src/finetune/classifier.py:109
↓ 8 callersMethodget_lr
(self)
CV/SemSegPaddleDG/src/utils/solver.py:72
↓ 8 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16=False)
NLP/ACL2019-KTNET/reading_comprehension/src/utils/init.py:46
↓ 8 callersFunctioninit_checkpoint
init model checkpoint
NLP/UNIMO/src/utils/init.py:47
↓ 8 callersMethodis_eval
(phase)
CV/SemSegPaddle/src/models/model_builder.py:39
↓ 8 callersMethodis_multi_gpu
is multi gpu or not
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/gpu_mixin.py:59
↓ 8 callersMethodis_multi_gpu
is multi gpu or not
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/gpu_mixin.py:46
↓ 8 callersFunctionis_same_direction
(traj1, traj2, angle_thr)
CV/VehicleCounting/vehicle_counting/counting.py:75
↓ 8 callersMethodnet
must implement in subclass
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/base_net.py:87
↓ 8 callersMethodnumericalize
(self, tokens)
NLP/Dialogue-PLATO/plato/data/field.py:138
↓ 8 callersFunctionpad
pad
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/utils/utils.py:71
← previousnext →101–200 of 7,542, ranked by callers