MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 2 callersFunctionbuild_region_dict
Desc: 构建region的网格化字典, 根据网格能够查询到该网格对应的region Args: regions : list of mygeo.Region grid_size : 网格的大小 key : 生成region
ST_DM/GenRegion/src/generate/gen/regionalg.py:469
↓ 2 callersMethodbuild_val_unit
(self, col_id)
NLP/Text2SQL-BASELINE/text2sql/grammars/nl2sql.py:135
↓ 2 callersFunctionbuild_valid_col_units
Args: Returns:
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:1189
↓ 2 callersFunctionbuild_valid_col_units
Args: Returns:
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:1258
↓ 2 callersMethodby_name
(name)
NLP/Dialogue-PLATO/plato/models/model_base.py:34
↓ 2 callersMethodby_name
(name)
NLP/Dialogue-PLATO/plato/models/generator.py:74
↓ 2 callersFunctioncal_distance
(coo1, coo2)
ST_DM/KDD2021-CHAML/utils/metadataset.py:29
↓ 2 callersFunctioncal_distance
(coo1, coo2)
ST_DM/KDD2021-CHAML/preprocess/step3.py:27
↓ 2 callersMethodcal_logit
(self, enc_out, tgt_pos)
NLP/UNIMO-2/src/finetune/img2txt_oscar.py:91
↓ 2 callersMethodcal_logit
calculate logit
NLP/UNIMO/src/finetune/seq2seq.py:66
↓ 2 callersFunctioncal_padding
Calculate padding size.
CV/PaddleReid/reid/model/layers.py:62
↓ 2 callersFunctioncalc_distinct_ngram
calc_distinct_ngram
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/tools/eval.py:109
↓ 2 callersFunctioncalc_distinct_ngram
calc_distinct_ngram
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/tools/eval.py:110
↓ 2 callersFunctioncalc_distinct_ngram
calc_distinct_ngram
NLP/ACL2019-DuConv/retrieval_paddle/tools/eval.py:109
↓ 2 callersFunctioncalc_distinct_ngram
calc_distinct_ngram
NLP/ACL2019-DuConv/generative_paddle/tools/eval.py:110
↓ 2 callersMethodcalc_mapk_nn
(self, k=20)
ST_DM/CIKM2022-DuMapper/DME/metric/topkmap.py:114
↓ 2 callersMethodcalculate
(self, pred, label, ignore=None)
CV/SemSegPaddle/src/utils/metrics.py:33
↓ 2 callersMethodcalculate_and_log_out
Not implemented
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/metrics_util.py:40
↓ 2 callersFunctioncalculate_eta
(remaining_step, speed)
CV/SemSegPaddle/src/utils/timer.py:18
↓ 2 callersMethodcall_mrc
MRC
NLP/MRQA2019-D-NET/server/bert_server/model_wrapper.py:62
↓ 2 callersMethodcall_mrc
MRC
NLP/MRQA2019-D-NET/server/ernie_server/model_wrapper.py:66
↓ 2 callersMethodcall_mrc
MRC
NLP/MRQA2019-D-NET/server/xlnet_server/wrapper.py:78
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/toolkit/init.py:26
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/toolkit/init.py:26
↓ 2 callersFunctioncast_fp32_to_fp16
Cast parameters to float16 data format.
NLP/ACL2020-GraphSum/src/utils/init.py:27
↓ 2 callersFunctioncast_fp32_to_fp16
Cast parameters to float16 data format.
NLP/EMNLP2021-SgSum/src/utils/init.py:27
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
NLP/ACL2019-KTNET/reading_comprehension/src/utils/init.py:32
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
NLP/DuReader-Robust-BASELINE/src/utils/init.py:26
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
NLP/MRQA2019-BASELINE/src/utils/init.py:26
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
KG/AAAI2021_SSAN/utils/init.py:33
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
KG/DuIE_Baseline/ernie/utils/init.py:33
↓ 2 callersFunctioncast_fp32_to_fp16
cast_fp32_to_fp16
KG/DuEL_Baseline/ernie/utils/init.py:33
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
KG/CoKE/bin/utils/init.py:33
↓ 2 callersFunctioncast_fp32_to_fp16
func
KG/DuEE_baseline/bin/utils/init.py:35
↓ 2 callersFunctioncast_fp32_to_fp16
(exe, main_program)
KG/ACL2021_GRAN/src/utils/init.py:31
↓ 2 callersMethodcheck_and_infer
(self)
CV/SemSegPaddleDG/src/utils/collect.py:78
↓ 2 callersFunctioncheck_bbox_inside_with_roi
(bbox, mask)
CV/VehicleCounting/vehicle_counting/counting.py:8
↓ 2 callersFunctioncheck_bbox_overlap_with_roi
(bbox, mask)
CV/VehicleCounting/vehicle_counting/counting.py:56
↓ 2 callersFunctioncheck_cuda
(use_cuda, err = \ "\nYou can not set use_cuda = True in the model because you are using paddlepaddle-cpu.
NLP/ACL2021-PAIR/model/src/utils/args.py:74
↓ 2 callersFunctioncheck_cuda
check_cuda
KG/DuEE_baseline/bin/utils/args.py:90
↓ 2 callersFunctioncheck_format
检查输入行是否格式错误
KG/DuIE_Baseline/script/re_official_evaluation.py:54
↓ 2 callersFunctioncheck_gpu
Log error and exit when set use_gpu=true in paddlepaddle cpu version.
NLP/ACL2020-GraphSum/src/utils/check.py:31
↓ 2 callersFunctionchunks
Yield successive n-sized chunks from l.
NLP/ACL2020-GraphSum/src/tools/cal_rouge.py:49
↓ 2 callersFunctionchunks
Yield successive n-sized chunks from l.
NLP/EMNLP2021-SgSum/src/tools/cal_rouge.py:49
↓ 2 callersFunctioncircle_loss
sp: score list of positive samples, shape [B * L] sn: score list of negative samples, shape [B * K] m: relaxation factor in circle loss f
NLP/UNIMO-2/src/finetune/retrieval_grounded_fleet.py:43
↓ 2 callersFunctioncircle_loss
sp: score list of positive samples, shape [B * L] sn: score list of negative samples, shape [B * K] m: relaxation factor in circle loss f
NLP/UNIMO/src/finetune/retrieval.py:33
↓ 2 callersMethodcity_embedding
add city_embeddding
ST_DM/KDD2021-HGAMN/src/lbs_model.py:101
↓ 2 callersMethodclear
Desc: 清空link dict Args: self : self Return: None Raise: None
ST_DM/GenRegion/src/generate/gen/regionalg.py:137
↓ 2 callersMethodclear
Clear the evaluation metrics and reset the EvaluationMetrics object.
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/eval_util.py:239
↓ 2 callersFunctionclip_bbox
(src_bbox)
CV/astar2019/image_util.py:124
↓ 2 callersFunctioncn_to_an
cn to an
NLP/Text2SQL-BASELINE/text2sql/utils/text_utils.py:113
↓ 2 callersFunctioncoco
(settings, coco_api, file_list, mode, batch_size, shuffle, data_dir)
CV/astar2019/reader.py:165
↓ 2 callersMethodcollate_fn
临时解决方案 todo: 变更为读取哪个数据集的内容,就用哪个数据集的collate_fn,不知道能否实现 如果不能实现,就要求外部传入参数,选择使用哪个dataset的collate_fn
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/tasks/task.py:66
↓ 2 callersMethodcollect_metrics
(self, outputs, label)
NLP/IJCAI2019-MMPMS/mmpms/models/mmpms.py:221
↓ 2 callersFunctioncompare_set
(gold, pred)
NLP/Text2SQL-BASELINE/tools/evaluation/utils.py:316
↓ 2 callersFunctioncompute_IoU
(box1, box2)
CV/AICity2020-Anomaly-Detection/box_track/tube_construction.py:34
↓ 2 callersFunctioncompute_iou2
(rec1, rec2)
CV/AICity2020-Anomaly-Detection/pixel_track/post_process/similar.py:10
↓ 2 callersFunctioncompute_loss
(logits, positions)
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad.py:224
↓ 2 callersFunctioncompute_loss
(logits, positions)
NLP/ACL2019-KTNET/reading_comprehension/src/run_record.py:224
↓ 2 callersFunctioncompute_loss
(logits, positions)
NLP/ACL2019-KTNET/reading_comprehension/src/run_record_twomemory.py:247
↓ 2 callersFunctioncompute_loss
(logits, positions)
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad_twomemory.py:247
↓ 2 callersFunctioncompute_loss
(logits, positions)
NLP/DuReader-Robust-BASELINE/src/run_mrc.py:172
↓ 2 callersFunctioncompute_loss
(logits, positions)
NLP/MRQA2019-BASELINE/src/run_mrqa.py:153
↓ 2 callersMethodcompute_loss
train main
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:275
↓ 2 callersMethodcompute_loss
compute loss
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/train_tree_traversal.py:47
↓ 2 callersMethodcompute_metric
(self, y_prob, y_true, session_len=101)
ST_DM/KDD2021-CHAML/utils/metrics.py:86
↓ 2 callersMethodcompute_mle_loss
compute mle loss
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/decoder.py:339
↓ 2 callersMethodcompute_topk_scores_and_seq
compute_topk_scores_and_seq
NLP/EMNLP2019-MAL/src/beam_search.py:56
↓ 2 callersMethodconstgat
constgat
ST_DM/KDD2021-SSML/ssml_model.py:364
↓ 2 callersFunctionconv1d
x:B, C, N reshape to 4D --> conv2d --> reshape to 3D
CV/SemSegPaddle/src/models/libs/model_libs.py:206
↓ 2 callersMethodconvert_by_vocab
Convert a sequence of [tokens|ids] using the vocab.
KG/ACL2021_GRAN/src/reader/vocab_reader.py:77
↓ 2 callersMethodconvert_example
Converts a single `InputExample` into a single `InputFeatures`.
NLP/NAACL2019-MPM/reader.py:69
↓ 2 callersFunctionconvert_examples_to_features
Loads a data file into a list of `InputBatch`s.
NLP/MRQA2019-D-NET/server/bert_server/task_reader/mrqa.py:141
↓ 2 callersFunctionconvert_examples_to_features
Loads a data file into a list of `InputBatch`s.
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/mrqa_infer.py:141
↓ 2 callersFunctionconvert_examples_to_features
Loads a data file into a list of `InputBatch`s.
NLP/DuReader-Robust-BASELINE/src/reader/squad.py:184
↓ 2 callersFunctionconvert_examples_to_features
Loads a data file into a list of `InputBatch`s.
NLP/MRQA2019-BASELINE/src/reader/mrqa.py:180
↓ 2 callersMethodconvert_id_to_token
convert vocab id to token
NLP/UNIMO-2/src/model/roberta_tokenization.py:290
↓ 2 callersMethodconvert_id_to_token
convert vocab id to token
NLP/UNIMO/src/model/tokenization.py:296
↓ 2 callersMethodconvert_ids_to_tokens
convert vocab ids to tokens
NLP/UNIMO/src/model/tokenization.py:327
↓ 2 callersMethodconvert_ids_to_tokens
convert_ids_to_tokens
KG/DuEE_baseline/bin/tokenization.py:137
↓ 2 callersFunctionconvert_single_example
Converts a single `InputExample` into a single `InputFeatures`.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:404
↓ 2 callersFunctionconvert_single_example
Converts a single `InputExample` into a single `InputFeatures`.
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:391
↓ 2 callersFunctionconvert_single_example
Converts a single `InputExample` into a single `InputFeatures`.
NLP/NAACL2019-MPM/reader.py:466
↓ 2 callersFunctionconvert_tokens_to_ids
convert input ids
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:378
↓ 2 callersMethodconvert_tokens_to_ids
convert tokens to vocab ids
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_tokenization.py:298
↓ 2 callersMethodconvert_tokens_to_ids
(self, tokens)
KG/AAAI2021_SSAN/utils/tokenization.py:130
↓ 2 callersMethodconvert_tokens_to_ids
(self, tokens)
KG/ACL2021_GRAN/src/reader/vocab_reader.py:86
↓ 2 callersFunctioncorr
(x_1, x_2, pad_size=4, kernel_size=1, max_displacement=4, stride1=1, stride2=1, corr_multiply=1)
CV/PWCNet/correlation_op/test_correlation.py:7
↓ 2 callersFunctioncos_anneal_with_warmup_decay
(learning_rate, boundaries, values, warmup_iter, warmup_factor)
CV/PaddleReid/reid/cos_anneal_learning_rate.py:29
↓ 2 callersMethodcosine_decay
(self)
CV/SemSegPaddle/src/utils/solver.py:80
↓ 2 callersFunctioncount_tokens
(tokens)
NLP/EMNLP2021-SgSum/src/eval/tasks/cnndm/cnndm/eval.py:107
↓ 2 callersMethodcreate_generator
Returns a generator, each iteration returns a batch of data
NLP/Text2SQL-BASELINE/text2sql/dataproc/dataloader.py:154
↓ 2 callersMethodcreate_loader
python loader -> paddle loader with multi-process
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/trainer/evaluator.py:52
↓ 2 callersFunctioncreate_model
(args, pyreader_name, ernie_config, is_prediction=False,
NLP/NAACL2021-RocketQA/model/src/finetune/cross_encoder.py:34
↓ 2 callersFunctioncreate_model
(args, pyreader_name, ernie_config, batch_size=16,
NLP/NAACL2021-RocketQA/model/src/finetune/dual_encoder.py:34
↓ 2 callersFunctioncreate_model
(args, pyreader_name, vl_config, is_prediction=False)
NLP/UNIMO-2/src/finetune/classifier_grounded.py:41
↓ 2 callersFunctioncreate_model
create_model
NLP/UNIMO-2/src/finetune/retrieval_grounded_fleet.py:78
↓ 2 callersFunctioncreate_model
(args, pyreader_name, ernie_config, batch_size=16,
NLP/ACL2021-PAIR/model/src/finetune/dual_encoder.py:34
↓ 2 callersFunctioncreate_model
(pyreader_name, bert_config, max_concept_length, concept_embedding_mat, is_training=False, freeze=False)
NLP/ACL2019-KTNET/reading_comprehension/src/run_squad.py:117
↓ 2 callersFunctioncreate_model
(pyreader_name, bert_config, max_concept_length, concept_embedding_mat, is_training=False, freeze=False)
NLP/ACL2019-KTNET/reading_comprehension/src/run_record.py:117
← previousnext →1,201–1,300 of 7,542, ranked by callers