MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 4 callersFunction_extract
extract condition and/or
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1109
↓ 4 callersFunction_format_col
format
NLP/Text2SQL-BASELINE/tools/evaluation/utils.py:260
↓ 4 callersMethod_gen_input
encode images and texts independently by Vit and RoBERTa, get the optimal grounded tokens
NLP/UNIMO-2/src/model/unimo_grounded.py:778
↓ 4 callersMethod_gen_input
(self, text_input=None, text_mask=None, image_input=None, image_mask=None, gather_idx=None,
NLP/UNIMO-2/src/model/unimo_grounded_baseline.py:482
↓ 4 callersMethod_kl_divergence_with_logits
symmetric KL-divergence (See SMART, Sec 3.1) q_logits: logits p_logits: delta_logits
NLP/UNIMO/src/finetune/img2txt.py:69
↓ 4 callersMethod_load_json
Read DocRED json file into examples
KG/AAAI2021_SSAN/dataset.py:134
↓ 4 callersMethod_make_layer
(self, block, planes, blocks, stride=1, dilate=False)
CV/SMILE/backbones/resnet.py:215
↓ 4 callersFunction_normalize
normalize the input unicode string
NLP/DuReader-Checklist-BASELINE/evaluate.py:66
↓ 4 callersFunction_normalize
normalize the input unicode string
NLP/DuReader-Robust-BASELINE/evaluate.py:66
↓ 4 callersMethod_pad_batch_records
(self, batch_records)
ST_DM/KDD2021-HGAMN/src/dataset/pointwise_dataset.py:218
↓ 4 callersMethod_pad_batch_records
(self, batch_records)
ST_DM/KDD2021-HGAMN/src/dataset/listwise_dataset.py:127
↓ 4 callersMethod_pad_batch_records
_pad_batch_records
KG/DuEE_baseline/bin/reader/task_reader.py:694
↓ 4 callersMethod_read_json
(self, input_file)
KG/DuIE_Baseline/ernie/reader/task_reader.py:155
↓ 4 callersMethod_read_tsv
Reads a tab separated value file.
KG/DuEE_baseline/bin/reader/task_reader.py:102
↓ 4 callersMethod_tensor
new a tensor
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:485
↓ 4 callersFunction_timmer
(init_start, start, current, process_name)
NLP/MRQA2019-D-NET/server/bert_server/mrc_service.py:32
↓ 4 callersFunction_timmer
(init_start, start, current, process_name)
NLP/MRQA2019-D-NET/server/ernie_server/mrc_service.py:32
↓ 4 callersFunction_timmer
(init_start, start, current, process_name)
NLP/MRQA2019-D-NET/server/xlnet_server/server_utils.py:32
↓ 4 callersMethod_update_state
update state
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:493
↓ 4 callersFunction_wrap_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
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer.py:54
↓ 4 callersMethodadd_cmdline_argument
(cls, group)
NLP/Dialogue-PLATO/plato/models/generator.py:126
↓ 4 callersMethodarea
Desc: 计算region的面积 Args: self : self Return: float, 面积 Raise: None
ST_DM/GenRegion/src/region/geometry.py:862
↓ 4 callersFunctionbuild_data_feed
build data feed
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/utils/utils.py:131
↓ 4 callersFunctionbuild_data_feed
build data feed
NLP/ACL2019-DuConv/generative_paddle/source/utils/utils.py:129
↓ 4 callersMethodbuild_dataloader
构建数据迭代器 Args: mode: 数据迭代器的类型 可选值 ['Train', 'Gallery', 'Query', 'Eval'] Returns: data_loader: 返回对应类型的数据迭代器
ST_DM/CIKM2022-DuMapper/DME/engine/trainer.py:253
↓ 4 callersMethodbuild_examples
build examples, data: ``List[Dict]``
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:81
↓ 4 callersMethodbuild_examples
build examples, data: ``List[Dict]``
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:81
↓ 4 callersMethodbuild_friend_two_grid
Desc: 计算两个相邻grid之间的friend关系 Args: self : self grid1 : 网格号(grid_x, grid_y) grid2 : 网格号(grid_x, gri
ST_DM/GenRegion/src/generate/gen/cluster.py:553
↓ 4 callersMethodbuild_input
(self, use_dataloader=True)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:55
↓ 4 callersMethodbuild_model
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:85
↓ 4 callersMethodcal_max_len
calculate max sequence length
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:234
↓ 4 callersMethodcan_merge
Desc: 是否能够merge Args: self : self cl : cl Return: None Raise: None
ST_DM/GenRegion/src/generate/gen/cluster.py:138
↓ 4 callersFunctioncheck_cuda
(use_cuda, err = \ "\nYou can not set use_cuda = True in the model because you are using paddlepaddle-cpu.
NLP/ACL2018-DAM/model_check.py:21
↓ 4 callersFunctioncheck_gpu
Log error and exit when set use_gpu=true in paddlepaddle cpu version.
NLP/EMNLP2021-SgSum/src/utils/check.py:31
↓ 4 callersFunctioncheck_stride
(s, os)
CV/SemSegPaddle/src/models/backbone/xception.py:38
↓ 4 callersMethodcnn_net
conv net
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:647
↓ 4 callersMethodcnn_net
conv net
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:662
↓ 4 callersMethodcnn_net
conv net
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:659
↓ 4 callersFunctioncompute_topk_accuracy
(softmax, labels, top_k)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/kinetics/accuracy_metrics.py:95
↓ 4 callersFunctionconvert_by_vocab
Converts a sequence of [tokens|ids] using the vocab.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:93
↓ 4 callersFunctionconvert_examples_to_features
Convert a set of `InputExample`s to a list of `InputFeatures`.
NLP/NAACL2019-MPM/reader.py:540
↓ 4 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
ST_DM/KDD2021-HGAMN/src/tokenization.py:32
↓ 4 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/UNIMO-2/src/model/roberta_tokenization.py:28
↓ 4 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/EMNLP2021-SgSum/src/roberta/roberta_tokenization.py:27
↓ 4 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/EMNLP2021-SgSum/src/eval/tokenization.py:23
↓ 4 callersFunctionconvert_to_unicode
Converts `text` to Unicode (if it's not already), assuming utf-8 input.
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:27
↓ 4 callersMethodconvert_tokens_to_ids
(self, tokens)
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:126
↓ 4 callersMethodconvert_tokens_to_ids
convert tokens to vocab ids
NLP/UNIMO/src/model/tokenization.py:323
↓ 4 callersFunctioncreate_model
define fine-tuning model
NLP/NAACL2019-MPM/classifier.py:27
↓ 4 callersFunctioncreate_model
func
KG/DuEE_baseline/bin/finetune/sequence_label.py:42
↓ 4 callersMethodcross
(self, p1, p2, p3)
CV/VehicleCounting/cam-configs/utils/utils.py:57
↓ 4 callersMethoddata_generator
(self, input_file, batch_size, epoch,
NLP/NAACL2021-RocketQA/model/src/reader/reader_de.py:287
↓ 4 callersMethoddata_generator
(self, input_file, batch_size, epoch,
KG/DuIE_Baseline/ernie/reader/task_reader.py:190
↓ 4 callersMethoddata_generator
func
KG/DuEE_baseline/bin/reader/task_reader.py:252
↓ 4 callersFunctiondata_process
data_process
KG/DuEE_baseline/DuEE-PaddleHub/data_process.py:38
↓ 4 callersFunctiondown_layer
down layer Args: in_planes: 输入特征通道数 places: 输出特征通道数 stride: 步长 kernel_size: 卷积大小 padding: padding大小 Re
ST_DM/CIKM2022-DuMapper/DME/arch/im2vec/custom_resnet50.py:106
↓ 4 callersMethodencode
(self, text_input=None, text_mask=None, gather_idx=None, image_input=None, image_mask=None, dec
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:1397
↓ 4 callersMethodencode
build inputs for model Args: inputs (TYPE): NULL Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/dataproc/base_classes.py:37
↓ 4 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
ST_DM/KDD2021-HGAMN/src/model/transformer_encoder.py:304
↓ 4 callersFunctioneval
(cfg)
CV/SemSegPaddleDG/eval.py:167
↓ 4 callersFunctionevaluate
evaluate
NLP/UNIMO-2/src/finetune/retrieval_grounded_fleet.py:189
↓ 4 callersFunctionevaluate
evaluate
NLP/UNIMO/src/finetune/regression.py:106
↓ 4 callersMethodevaluate
(self)
CV/SemSegPaddleDG/src/utils/iou.py:48
↓ 4 callersMethodevaluate
Evaluation interface @param : data_iter @type : DataLoader @param : need_save @type : bool
NLP/Dialogue-PLATO/plato/trainer.py:296
↓ 4 callersMethodevaluate
(self, data_iter, is_save=True)
NLP/IJCAI2019-MMPMS/mmpms/engine.py:168
↓ 4 callersFunctionevaluate_test
Obtain model loss or decoding output
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/run_graphsum.py:525
↓ 4 callersFunctionevaluation
evaluation
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/goal_planning.py:229
↓ 4 callersMethodfeeds
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:125
↓ 4 callersMethodfetches
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:130
↓ 4 callersFunctionffn
Position-wise Feed-Forward Network input is LoDTensor
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:33
↓ 4 callersFunctionffn
Position-wise Feed-Forward Network input is LoDTensor
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:33
↓ 4 callersFunctionffn
Position-wise Feed-Forward Network input is LoDTensor
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:33
↓ 4 callersFunctionfile_reader
file_reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_goal.py:54
↓ 4 callersFunctionfile_reader
file_reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/paddle_astar_kg.py:55
↓ 4 callersMethodfit
外部调用接口
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/trainer/trainer.py:194
↓ 4 callersFunctionflatten
Merges a list of lists into a single list.
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/eval_util.py:22
↓ 4 callersMethodforward
:param hidden_emb: [batch_size, seq_size, hidden_size] :param sequence_mask: [batch_size, seq_size, 1] :return:
NLP/ACL2019-KTNET/reading_comprehension/src/model/layers.py:226
↓ 4 callersFunctiongather
(var, idx)
NLP/Dialogue-PLATO/plato/models/generator.py:51
↓ 4 callersFunctiongenerate_mask_type
(input_file, output_file)
KG/CoKE/bin/kbc_data_preprocess.py:93
↓ 4 callersMethodgenerator
(self)
CV/SemSegPaddle/src/datasets/baseseg.py:44
↓ 4 callersMethodget
(self, name, mode, cfg)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/reader_utils.py:64
↓ 4 callersMethodget_features
Get features for the dataset
NLP/ACL2020-GraphSum/src/networks/graphsum/graphsum_reader.py:222
↓ 4 callersMethodget_features
Get features for the dataset
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_reader.py:322
↓ 4 callersFunctionget_feed
(image)
CV/SemSegPaddle/eval.py:292
↓ 4 callersMethodget_labels
Gets the list of labels for this data set.
NLP/NAACL2019-MPM/reader.py:65
↓ 4 callersFunctionget_main_result
Prepare answers for task 'main'. Args: qid: question_id. pred_result: A dict include all question_id's result information re
NLP/ACL2018-DuReader/utils/dureader_eval.py:302
↓ 4 callersFunctionget_metrics
(name, mode, cfg)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:253
↓ 4 callersMethodget_num_examples
(self, phase)
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad.py:577
↓ 4 callersFunctionget_or_generate_vocab
Generate a vocabulary from the datasets in sources.
NLP/EMNLP2019-MAL/src/preprocess/gen_utils.py:23
↓ 4 callersFunctionget_p_at_n_in_m
Recall n at m
NLP/ACL2018-DAM/evaluation.py:28
↓ 4 callersMethodget_pooled_output
Get the first feature of each sequence for classification
NLP/UNIMO/src/model/unimo_finetune.py:358
↓ 4 callersFunctionget_reader
(name, mode, cfg)
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/reader_utils.py:79
↓ 4 callersMethodget_sequence_output
(self)
NLP/ACL2019-KTNET/reading_comprehension/src/model/bert.py:148
↓ 4 callersMethodget_sequence_output
(self)
NLP/MRQA2019-BASELINE/src/model/bert.py:141
↓ 4 callersFunctionget_time
get time
NLP/UNIMO/src/utils/utils.py:42
↓ 4 callersMethodget_train_progress
Gets progress for training phase.
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad.py:563
↓ 4 callersMethodget_train_progress
Gets progress for training phase.
NLP/UNIMO/src/reader/classification_reader.py:47
↓ 4 callersFunctionget_xy
(coor)
ST_DM/KDD2021-HGAMN/src/geohash.py:24
↓ 4 callersFunctionhead_projection
Project hidden states to a specific head with a 4D-shape.
NLP/MRQA2019-D-NET/server/xlnet_server/modeling.py:71
↓ 4 callersFunctioninfer_feas
(source, source_name, source_list, source_num, img_dir, cfg, exe, test_prog, data_loader, pred_list, places)
CV/PaddleReid/test_query_gallery.py:23
← previousnext →401–500 of 7,542, ranked by callers