MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 6 callersMethodtokenize
(self, text)
NLP/MRQA2019-D-NET/server/bert_server/task_reader/tokenization.py:118
↓ 6 callersMethodtokenize
(self, text)
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/tokenization.py:118
↓ 6 callersMethodtokenize
(self, text)
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_squad/tokenization.py:109
↓ 6 callersMethodtokenize
(self, text)
NLP/MRQA2019-BASELINE/src/tokenization.py:118
↓ 6 callersMethodtokenize
(self, text)
KG/DuIE_Baseline/ernie/tokenization.py:122
↓ 6 callersFunctiontxt_line_iterator
generator for line :param fname: :return:
NLP/EMNLP2019-MAL/src/preprocess/gen_utils.py:96
↓ 6 callersMethodupdate
(pre_state, new_state)
NLP/IJCAI2019-MMPMS/mmpms/modules/decoder.py:40
↓ 6 callersMethodvector_quantizer
inputs: (batch_size, seq_len, emb_dim)
NLP/UNIMO-2/src/model/unimo_grounded.py:629
↓ 6 callersFunctionwrite_by_lines
write the data
KG/DuEE_baseline/DuEE-PaddleHub/data_process.py:32
↓ 5 callersMethod__init__
(self, embed_dim, mlp_ratio, dropout=0.)
CV/SMILE/backbones/vit.py:154
↓ 5 callersMethod__init__
resize
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/transforms.py:260
↓ 5 callersMethod__init__
(self, in_planes)
ST_DM/CIKM2022-DuMapper/DME/arch/im2vec/custom_resnet50.py:75
↓ 5 callersMethod__init__
(self, pointer)
NLP/Text2SQL-BASELINE/text2sql/models/attention.py:59
↓ 5 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/ACL2020-GraphSum/src/models/attention.py:287
↓ 5 callersFunction__split_heads
Reshape the last dimension of inpunt tensor x so that it becomes two dimensions and then transpose. Specifically, input a tensor with
NLP/EMNLP2021-SgSum/src/models/attention.py:288
↓ 5 callersMethod_load_component
(self, com_name)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:410
↓ 5 callersFunction_merge_dict
(base_dict, extra_dict)
NLP/Text2SQL-BASELINE/script/schema_linking.py:173
↓ 5 callersFunction_resnet
(arch, Block, depth, pretrained, **kwargs)
CV/SMILE/backbones/resnet.py:266
↓ 5 callersMethod_run_strip_accents
Strips accents from a piece of text.
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:191
↓ 5 callersFunction_table_id
Args: db (TYPE): NULL col (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/linking_utils.py:377
↓ 5 callersMethod_text_to_ids
convert text to vocab ids
NLP/UNIMO/src/reader/seq2seq_reader.py:161
↓ 5 callersFunctionbimap
(first, second)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:40
↓ 5 callersFunctionbimap
(first, second)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:40
↓ 5 callersFunctionbimap
(first, second)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:40
↓ 5 callersFunctioncheck_pretraining_params
(pretraining_params_path, main_program)
NLP/UNIMO-2/src/utils/init.py:82
↓ 5 callersFunctioncompute_bleu_rouge
Compute bleu and rouge scores.
NLP/ACL2018-DuReader/utils/dureader_eval.py:125
↓ 5 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/PaddleReid/reid/model/resnext101_wsl.py:82
↓ 5 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
CV/webvision2018/models/resnext_32x4d.py:98
↓ 5 callersMethodconv_bn_layer
(self, input, filter_size, num_filters,
CV/SemSegPaddle/src/models/backbone/mobilenet_v2.py:150
↓ 5 callersMethodconv_bn_layer
(self, input, num_filters, filter_size,
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn_res_model.py:33
↓ 5 callersMethodconvert_tokens_to_ids
(self, tokens)
NLP/ACL2021-PAIR/model/src/tokenization.py:130
↓ 5 callersMethodconvert_tokens_to_ids
(self, tokens)
NLP/Dialogue-PLATO/plato/data/tokenizer.py:79
↓ 5 callersMethodcorr
(self, x_1, x_2)
CV/PWCNet/models/model.py:140
↓ 5 callersFunctiondata_generator
()
CV/SemSegPaddle/eval.py:82
↓ 5 callersMethoddata_generator
get data batch
NLP/ACL2020-GraphSum/src/networks/graphsum/graphsum_reader.py:226
↓ 5 callersMethoddata_generator
get data batch
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_reader.py:326
↓ 5 callersMethoddata_generator
Generate data for train, dev or test. Args: batch_size: int. The batch size of generated data. phase: string
NLP/NAACL2019-MPM/reader.py:217
↓ 5 callersMethoddata_generator
data_generator
KG/DuEL_Baseline/ernie/reader/type_pairwise_ranker_reader.py:105
↓ 5 callersMethoddata_generator_for_kfold
Generate data for train, dev or test. Args: examples: list. Train, dev or test data. batch_size: int. The ba
NLP/NAACL2019-MPM/reader.py:129
↓ 5 callersMethoddecode
(self, ids, ignore_tokens=[])
NLP/Dialogue-PLATO/plato/data/tokenizer.py:101
↓ 5 callersMethoddrop_path
drop path op Args: input: tensor with arbitrary shape drop_prob: float number of drop path probability, default: 0.0
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/model/brain_intracranial_hemorrhage_clas/droppath.py:35
↓ 5 callersFunctionencode_ids
(sp_model, text, sample=False)
NLP/MRQA2019-D-NET/server/xlnet_server/prepro_utils.py:106
↓ 5 callersFunctioneval_nested
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1090
↓ 5 callersFunctioneval_nested
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1159
↓ 5 callersFunctionevaluate
Obtain model loss or decoding output
NLP/ACL2020-GraphSum/src/networks/graphsum/run_graphsum.py:453
↓ 5 callersFunctionf1_score
f1_score
NLP/UNIMO/src/eval/glue_eval.py:46
↓ 5 callersMethodfile_loader
(self, file_path)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/train_generator.py:91
↓ 5 callersFunctionfile_reader
file_reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/goal_planning.py:165
↓ 5 callersFunctionfilter_nones
(d)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:44
↓ 5 callersMethodget_cls_output
Get the first feature of each sequence for classification
NLP/NAACL2021-RocketQA/model/src/model/ernie.py:176
↓ 5 callersMethodget_cls_output
Get the first feature of each sequence for classification
NLP/ACL2021-PAIR/model/src/model/ernie.py:176
↓ 5 callersMethodget_id
gets the id of a token, returns the id of unk token if token is not in vocab Args: key: a string indicating the word
NLP/ACL2018-DuReader/src/vocab.py:68
↓ 5 callersMethodget_num_examples
get_num_examples
NLP/UNIMO/src/reader/classification_reader.py:184
↓ 5 callersMethodget_path_pairs
(self)
CV/SemSegPaddleDG/src/datasets/cityscapes.py:88
↓ 5 callersMethodget_startup_program
get startup program.
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:489
↓ 5 callersMethodinit_fc
(self, input_dim, output_dim)
ST_DM/KDD2021-CHAML/model/learner.py:44
↓ 5 callersMethodis_empty
Desc: 判断一个对象是否为空对象 Args: self : self Return: None Raise: None
ST_DM/GenRegion/src/region/geometry.py:269
↓ 5 callersFunctionlen_to_mask
len to mask
NLP/ACL2019-DuConv/generative_paddle/source/utils/utils.py:116
↓ 5 callersMethodload
load data from disk Args: save_dir (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/dataproc/dusql_dataset_v2.py:394
↓ 5 callersMethodload
(self, model_dir)
NLP/IJCAI2019-MMPMS/mmpms/engine.py:164
↓ 5 callersMethodmbr
Desc: 计算region的mbr Args: self : self Return: [Point(minx, miny), Point(maxx, maxy)] Raise:
ST_DM/GenRegion/src/region/geometry.py:716
↓ 5 callersFunctionmerge_eval
(main_eval, new_eval, prefix)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:127
↓ 5 callersFunctionnative_to_unicode
:param s: :return:
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:52
↓ 5 callersFunctionpad_batch_data
Pad the instances to the max sequence length in batch, and generate the corresponding position data and input mask.
NLP/ACL2019-KTNET/reading_comprehension/src/batching_twomemory.py:150
↓ 5 callersFunctionpad_single_image
(image, crop_size)
CV/SemSegPaddle/eval.py:275
↓ 5 callersFunctionpad_single_image
(image, crop_size)
CV/SemSegPaddleDG/eval.py:93
↓ 5 callersMethodparse_col_unit
(self, col_unit)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:149
↓ 5 callersMethodparse_col_unit
(self, col_unit)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:158
↓ 5 callersFunctionparser_char_for_text
parser char for text
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/convert_conversation_corpus_to_model_text.py:47
↓ 5 callersFunctionparser_char_for_text
parser char for text
NLP/ACL2019-DuConv/retrieval_paddle/tools/convert_conversation_corpus_to_model_text.py:47
↓ 5 callersFunctionpositional_embedding
(pos_seq, inv_freq, bsz=None)
NLP/MRQA2019-D-NET/server/xlnet_server/modeling.py:29
↓ 5 callersFunctionprepare_decoder
Add word embeddings and position encodings. The output tensor has a shape of: [batch_size, max_src_length_in_batch, d_model]. This module
NLP/ACL2019-JEMT/model.py:334
↓ 5 callersFunctionprepare_encoder
Add word embeddings and position encodings. The output tensor has a shape of: [batch_size, max_src_length_in_batch, d_model]. This module
NLP/ACL2019-JEMT/model.py:282
↓ 5 callersMethodpreprocess
(self)
KG/ACL2021_GRAN/preprocessing.py:169
↓ 5 callersFunctionprintable_text
Returns text encoded in a way suitable for print or `tf.logging`.
NLP/MRQA2019-D-NET/server/xlnet_server/prepro_utils.py:14
↓ 5 callersFunctionread_dataset
(dataset, min_hist=MIN_HIST)
ST_DM/KDD2021-CHAML/preprocess/step3.py:69
↓ 5 callersFunctionread_transfer_data
(datasets, neg_num=1, min_hist=MIN_HIST, is_test_qry=\ False)
ST_DM/KDD2021-CHAML/preprocess/step3.py:121
↓ 5 callersMethodregister
(cls, name)
NLP/Dialogue-PLATO/plato/models/generator.py:69
↓ 5 callersMethodrun
run frame, default train
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:381
↓ 5 callersFunctionsamples_to_input
(samples)
ST_DM/KDD2021-CHAML/utils/metadataset.py:11
↓ 5 callersFunctionseparate_conv
(input, channel, stride, filter, dilation=1, act=None)
CV/SemSegPaddle/src/models/libs/model_libs.py:155
↓ 5 callersMethodstep
TBD
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/trainer/infer_plugins/compose.py:71
↓ 5 callersMethodto_json
doc
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_label.py:105
↓ 5 callersFunctionto_lodtensor
convert to LoDTensor
NLP/ACL2019-DuConv/generative_paddle/source/utils/utils.py:91
↓ 5 callersMethodto_tensor
to tensor
NLP/UNIMO/src/finetune/img2txt.py:139
↓ 5 callersMethodtokenize
tokenize the text
NLP/UNIMO-2/src/model/roberta_tokenization.py:308
↓ 5 callersMethodtokenize
tokenize the text
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:258
↓ 5 callersMethodtokenize
(self, text)
NLP/ACL2019-KTNET/retrieve_concepts/tokenization_record/tokenization.py:109
↓ 5 callersMethodtrain
(self, inputs, train_state=None)
NLP/IJCAI2019-MMPMS/mmpms/models/mmpms.py:345
↓ 5 callersMethodunparse_col_unit
(self, col_unit)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:414
↓ 5 callersMethodupdate
update one instance
NLP/Text2SQL-BASELINE/text2sql/utils/metrics.py:218
↓ 4 callersFunctionConvUp
(x1, x2, out_channels, name=None)
CV/AGEchallenge/LocalizationUNet/res_unet_paddle.py:42
↓ 4 callersMethod__getitem__
getitem
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/tasks/task.py:40
↓ 4 callersMethod__grids
Desc: 计算指定点的grid, 可能为多个 Args: self : self x : x y : y grid_size : grid_size
ST_DM/GenRegion/src/region/geometry.py:313
↓ 4 callersMethod__init__
init of class Args: cfg (TYPE): NULL
NLP/Text2SQL-BASELINE/text2sql/models/relational_transformer.py:246
↓ 4 callersFunction_convert_index
(index, pos, M=None, is_start=True)
NLP/MRQA2019-D-NET/server/xlnet_server/squad_reader.py:133
↓ 4 callersFunction_define_helper
Registers 'flag_name' with 'default_value' and 'docstring'.
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/flags.py:62
↓ 4 callersFunction_define_helper
Registers 'flag_name' with 'default_value' and 'docstring'.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/flags.py:61
↓ 4 callersFunction_dot_product_relative
(q, k, v, bias, dropout=0.1, cache=None, params_type="normal")
NLP/EMNLP2019-MAL/src/attention.py:66
↓ 4 callersFunction_extract
extract condition and/or
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1040
← previousnext →301–400 of 7,542, ranked by callers