MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 4 callersMethodinference
infer main
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:461
↓ 4 callersFunctioninit_checkpoint
(exe, init_checkpoint_path, main_program)
NLP/UNIMO-2/src/utils/init.py:45
↓ 4 callersFunctioninit_checkpoint
func
KG/DuEE_baseline/bin/utils/init.py:53
↓ 4 callersFunctioninit_pretraining_params
(exe, pretraining_params_path, main_program)
NLP/NAACL2021-RocketQA/model/src/utils/init.py:53
↓ 4 callersFunctioninit_pretraining_params
(exe, pretraining_params_path, main_program,
NLP/ACL2019-KTNET/reading_comprehension/src/utils/init.py:66
↓ 4 callersFunctioninit_pretraining_params
init pretraining params
NLP/UNIMO/src/utils/init.py:65
↓ 4 callersMethodinterface
interface
KG/DuEL_Baseline/data/data_process.py:84
↓ 4 callersFunctioninterpolate_pos_embed
(pos_embed_checkpoint, num_patches)
NLP/UNIMO-2/src/utils/pos_emb_interpolate.py:26
↓ 4 callersMethodinterval
check cost time from lst Returns: TODO Raises: NULL
NLP/Text2SQL-BASELINE/text2sql/utils/utils.py:80
↓ 4 callersMethodis_visual
(phase)
CV/SemSegPaddle/src/models/model_builder.py:43
↓ 4 callersMethodjudge
(self, p1, p2, box)
CV/VehicleCounting/cam-configs/utils/utils.py:79
↓ 4 callersMethodload_examples
(self, filename)
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataset.py:140
↓ 4 callersMethodload_trainval
(self, list_name='all_trainval_pids.txt', verbose=True, relabel=True)
CV/PaddleReid/reid/data/source/dataset.py:34
↓ 4 callersFunctionlog
log
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/utils/logger.py:32
↓ 4 callersMethodloss
(self, x, y)
CV/PaddleFSL/methods/template.py:37
↓ 4 callersFunctionmake_all_inputs
Define the input data layers for the transformer model.
NLP/EMNLP2019-MAL/src/relative_model.py:498
↓ 4 callersFunctionmake_all_inputs
Define the input data layers for the transformer model.
NLP/EMNLP2019-MAL/src/forward_model.py:489
↓ 4 callersFunctionmake_all_inputs
Define the input data layers for the transformer model.
NLP/EMNLP2019-MAL/src/dense_model.py:498
↓ 4 callersFunctionmake_all_inputs
Define the input data layers for the transformer model.
NLP/ACL2019-JEMT/model.py:550
↓ 4 callersMethodmake_layer
make layer Args: in_planes: 输入特征通道数 places: 输出特征通道数 block: block个数 stride: 步长
ST_DM/CIKM2022-DuMapper/DME/arch/im2vec/custom_resnet50.py:205
↓ 4 callersFunctionmapper_image
(image)
CV/SemSegPaddle/eval.py:282
↓ 4 callersFunctionmapper_image
(image)
CV/SemSegPaddleDG/eval.py:114
↓ 4 callersMethodmean_iou
(self)
CV/SemSegPaddle/src/utils/metrics.py:56
↓ 4 callersMethodmemory
(memory_state)
NLP/IJCAI2019-MMPMS/mmpms/modules/decoder.py:32
↓ 4 callersMethodmerge
Desc: 两个cluster进行合并 Args: self : self cl : new cluster Return: None Raise:
ST_DM/GenRegion/src/generate/gen/cluster.py:111
↓ 4 callersFunctionmerge_configs
(cfg, sec, args_dict)
KG/DuKEVU_Baseline/paddle-video-classify-tag/utils/config_utils.py:54
↓ 4 callersFunctionmetric_max_over_ground_truths
This function calculates and returns the precision, recall and f1-score Args: metric_fn: metric function pointer which calculates sco
NLP/ACL2018-DuReader/src/preprocess.py:86
↓ 4 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/ACL2020-GraphSum/src/models/attention.py:62
↓ 4 callersFunctionmulti_head_attention
Multi-Head Attention. Note that attn_bias is added to the logit before computing softmax activiation to mask certain selected positions so th
NLP/EMNLP2021-SgSum/src/models/attention.py:62
↓ 4 callersMethodnet
(self, input, class_dim=1000)
CV/webvision2018/models/resnext_32x4d.py:42
↓ 4 callersFunctionnormalize
Normalize strings to space joined chars. Args: s: a list of strings. Returns: A list of normalized strings.
NLP/ACL2018-DuReader/utils/dureader_eval.py:35
↓ 4 callersFunctionnormalize_answer
Lower text and remove punctuation, articles and extra whitespace.
NLP/MRQA2019-D-NET/multi_task_learning/scripts/evaluate-v1.1.py:11
↓ 4 callersFunctionnormalize_answer
Lower text and remove punctuation, articles and extra whitespace.
NLP/MRQA2019-D-NET/server/xlnet_server/squad_utils.py:44
↓ 4 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
NLP/NAACL2021-RocketQA/model/src/optimization.py:55
↓ 4 callersFunctionoptimization
(loss, warmup_steps, num_train_steps, learning_rate,
NLP/ACL2019-KTNET/reading_comprehension/src/optimization.py:53
↓ 4 callersFunctionoutput
:param qid_info: :return:
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/model_eval/reducer.py:39
↓ 4 callersFunctionpad_batch_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:218
↓ 4 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.py:145
↓ 4 callersMethodpad_data
padding ids
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:221
↓ 4 callersMethodparse
parse
ST_DM/KDD2021-HGAMN/src/train.py:57
↓ 4 callersFunctionparse_col_unit
:returns next idx, (agg_op id, col_id)
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:202
↓ 4 callersFunctionparse_col_unit
:returns next idx, (agg_op id, col_id)
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:205
↓ 4 callersMethodpiecewise_decay
(self)
CV/SemSegPaddle/src/utils/solver.py:67
↓ 4 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/ACL2020-GraphSum/src/models/neural_modules.py:27
↓ 4 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/EMNLP2021-SgSum/src/models/neural_modules.py:27
↓ 4 callersMethodpred_format
result: one batch predict narray format result
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/base_net.py:44
↓ 4 callersMethodpred_format
result: one batch predict narray format result
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/base_net.py:44
↓ 4 callersFunctionprepare_batch_input
Put all padded data needed by training into a dict.
NLP/EMNLP2019-MAL/src/train.py:238
↓ 4 callersFunctionprepare_batch_input
Put all padded data needed by beam search decoder into a dict.
NLP/EMNLP2019-MAL/src/infer.py:168
↓ 4 callersFunctionprepare_split
1. Prepare ALL (unique) labels for classification from trainval-set. 2. For each split, generate sample list for level1 & level2 classifi
KG/DuKEVU_Baseline/paddle-video-classify-tag/prepare_videotag.py:55
↓ 4 callersFunctionprepare_split
(data, split_name, test_only=False)
KG/DuKEVU_Baseline/paddle-video-semantic-tag/prepare_semantic_tag.py:80
↓ 4 callersFunctionpreprocess_record_ent_name
(raw_token_seq)
NLP/ACL2019-KTNET/retrieve_concepts/retrieve_nell/retrieve.py:50
↓ 4 callersFunctionpreprocess_text
Preprocess utterance and table value.
NLP/EMNLP2022-Q-TOD/infer.py:150
↓ 4 callersFunctionprint_arguments
(args)
NLP/NAACL2021-RocketQA/model/src/utils/args.py:67
↓ 4 callersFunctionprint_arguments
(args)
NLP/UNIMO-2/src/utils/args.py:45
↓ 4 callersFunctionprint_arguments
Print arguments
NLP/EMNLP2021-SgSum/src/utils/args.py:48
↓ 4 callersFunctionprint_arguments
(args)
NLP/ACL2019-KTNET/reading_comprehension/src/utils/args.py:50
↓ 4 callersMethodprint_config
(self)
NLP/ACL2019-KTNET/reading_comprehension/src/model/bert.py:50
↓ 4 callersFunctionprint_eval_log
print log
NLP/UNIMO/src/utils/utils.py:30
↓ 4 callersFunctionprint_info
(*msg)
CV/SemSegPaddleDG/train.py:40
↓ 4 callersFunctionprocess_image_with_multi_proc
(images_list, proc_num, func)
NLP/UNIMO-2/src/utils/image_utils.py:176
↓ 4 callersFunctionrebuild_col_unit_col
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1204
↓ 4 callersFunctionrebuild_col_unit_col
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1273
↓ 4 callersFunctionrebuild_sql_col
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1339
↓ 4 callersFunctionrebuild_sql_col
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1409
↓ 4 callersMethodrelease
(self)
CV/PaddleReid/reid/data/shared_queue/queue.py:104
↓ 4 callersFunctionremove_punctuation
remove_punctuation
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/goal_planning.py:191
↓ 4 callersMethodreset
implementation of Dataset.reset
CV/PaddleReid/reid/data/reader_mt.py:292
↓ 4 callersMethodreverse
Desc: link反转, 获取当前link的一个反link, 即start, end对调 Args: self : self Return: a new link Raise:
ST_DM/GenRegion/src/generate/gen/generator.py:144
↓ 4 callersFunctionrnn_encoder
rnn encoder
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/models/knowledge_seq2seq.py:216
↓ 4 callersMethodsave_model
save model
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/cpu_trainer.py:87
↓ 4 callersMethodset_page_status
set pages from 'start' to 'end' with new same status 'status'
CV/PaddleReid/reid/data/shared_queue/sharedmemory.py:283
↓ 4 callersFunctionset_q_relation
set match relation for question Args: q_match_dict (TYPE): [in/out] q_start (TYPE): NULL q_match_len (TYP
NLP/Text2SQL-BASELINE/text2sql/utils/linking_utils.py:268
↓ 4 callersMethodsize
implementation of Dataset.size
CV/PaddleReid/reid/data/reader_mt.py:357
↓ 4 callersMethodsize
(self)
NLP/IJCAI2019-MMPMS/mmpms/inputters/vocabulary.py:62
↓ 4 callersMethodslice
Return a view of the list of tokens from [i, j).
NLP/NAACL2021-RocketQA/metric/dpr/utils/tokenizers.py:39
↓ 4 callersFunctionstr_to_num
str to num
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:129
↓ 4 callersMethodsummary
(self)
NLP/Dialogue-PLATO/plato/metrics/metrics_tracker.py:76
↓ 4 callersFunctionto_lodtensor
(data, place, lod=None)
NLP/ACL2019-JEMT/infer.py:152
↓ 4 callersMethodtokenize
tokenzie
ST_DM/KDD2021-HGAMN/src/tokenization.py:181
↓ 4 callersMethodtokenize
Tokenizes a piece of text.
NLP/ACL2019-KTNET/reading_comprehension/src/tokenization.py:167
↓ 4 callersMethodtokenize
(self, text)
NLP/DuReader-Robust-BASELINE/src/tokenization.py:119
↓ 4 callersMethodtokenize
tokenize
KG/DuEL_Baseline/ernie/tokenization.py:122
↓ 4 callersFunctiontopic_generalization_for_text
topic generalization for text
NLP/ACL2019-DuConv/retrieval_paddle/tools/convert_conversation_corpus_to_model_text.py:57
↓ 4 callersFunctiontrans
(input_js)
NLP/ACL2018-DuReader/utils/marcov1_to_dureader.py:21
↓ 4 callersMethodunparse_col_unit
(self, col_unit, alias_table_name=None)
NLP/Text2SQL-BASELINE/text2sql/grammars/dusql_v2.py:414
↓ 4 callersMethodunparse_val_unit
(self, val_unit)
NLP/Text2SQL-BASELINE/text2sql/grammars/cspider_v2.py:432
↓ 4 callersFunctionvalidation
do inference with given inference_program
NLP/ACL2018-DuReader/src/run.py:212
↓ 4 callersMethodvector_quantizer
inputs: (batch_size, seq_len, emb_dim)
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:1053
↓ 4 callersMethodwarp
warp an image/tensor (im2) back to im1, according to the optical flow x: [B, C, H, W] (im2) flo: [B, 2, H, W] flow
CV/PWCNet/models/model.py:99
↓ 4 callersMethodwidth_x
Desc: 计算这个聚类的x宽度 Args: self : self Return: float, x方向上的宽度 如果类为空, 返回None Raise:
ST_DM/GenRegion/src/generate/gen/cluster.py:182
↓ 4 callersMethodwidth_y
Desc: 计算这个聚类的y宽度 Args: self : self Return: float, y方向上的宽度 如果类为空, 返回None Raise:
ST_DM/GenRegion/src/generate/gen/cluster.py:197
↓ 4 callersFunctionword_replace
(word)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/goal_planning.py:197
↓ 4 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/ACL2019-JEMT/model.py:23
↓ 4 callersMethodxception_block
(self, input, channels, strides=1,
CV/SemSegPaddle/src/models/backbone/xception.py:241
↓ 3 callersFunctionFCNHead
(input, mid_feat_channel, num_classes, output_shape)
CV/SemSegPaddle/src/models/libs/model_libs.py:187
↓ 3 callersFunctionResNet101
(pretrained='pretrained_model/resnet101_pretrained.pdparams', multi_grid=False)
CV/SemSegPaddleDG/src/models/backbone/resnet.py:328
↓ 3 callersMethod__init__
(self, padding, fill=0, padding_mode='constant')
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/opencv_transforms.py:238
↓ 3 callersMethod__init__
(self, pretrained, input_channels=3, num_classes=50, name_scope='', multi_grid=True)
CV/SemSegPaddleDG/src/models/modeling/pspnet.py:136
↓ 3 callersMethod__init__
(self)
ST_DM/CIKM2022-DuMapper/DME/arch/gears/pooling.py:19
← previousnext →501–600 of 7,542, ranked by callers