MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

↓ 1 callersFunctioncreate_model
(args, pyreader_name, ernie_config, batch_size=16,
NLP/NAACL2021-RocketQA/model/src/finetune/dual_encoder_infer.py:35
↓ 1 callersFunctioncreate_model
(args, pyreader_name, ernie_config, batch_size=16,
NLP/ACL2021-PAIR/model/src/finetune/dual_encoder_infer.py:35
↓ 1 callersFunctioncreate_model
(args, pyreader_name, ernie_config)
KG/DuIE_Baseline/ernie/ernie_encoder.py:54
↓ 1 callersMethodcreate_model_args
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:78
↓ 1 callersMethodcreate_model_freelb_image
create image freelb model
NLP/UNIMO/src/finetune/img2txt.py:321
↓ 1 callersMethodcreate_model_freelb_text
create text freelb model
NLP/UNIMO/src/finetune/img2txt.py:144
↓ 1 callersMethodcreate_model_villa
create villa model
NLP/UNIMO/src/finetune/img2txt.py:497
↓ 1 callersMethodcreate_reader
Not implemented
KG/DuKEVU_Baseline/paddle-video-classify-tag/reader/reader_utils.py:45
↓ 1 callersMethodcreate_reader_op
create reader with op Args: feed_list: placeholders needs to be feed Returns: reader: a reader
CV/CLPI-Collaborative-Learning-for-Diabetic-Retinopathy-Grading/clfnet/__init__.py:61
↓ 1 callersFunctioncreate_splits_indice
(n_samples, SPLITS)
KG/DuKEVU_Baseline/paddle-video-classify-tag/prepare_videotag.py:39
↓ 1 callersFunctioncreate_splits_indice
(n_samples, SPLITS)
KG/DuKEVU_Baseline/paddle-video-semantic-tag/prepare_semantic_tag.py:107
↓ 1 callersFunctioncreate_system_msg
(data_name: str)
NLP/ACL2024-NACL/src/eval_utils.py:128
↓ 1 callersFunctioncrop
Crop the given PIL Image. Args: img (numpy ndarray): Image to be cropped. i: Upper pixel coordinate. j: Left pixel coordin
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/functional.py:37
↓ 1 callersFunctioncrop_image
(image, h0, w0, h1, w1)
CV/SemSegPaddle/eval.py:296
↓ 1 callersFunctioncrop_image
crop_image
CV/landmark/inference/infer_recognition.py:223
↓ 1 callersFunctioncrop_image
(image, h0, w0, h1, w1)
CV/SemSegPaddleDG/eval.py:102
↓ 1 callersFunctioncsv_reader
csv_reader
KG/DuEL_Baseline/ernie/reader/type_pairwise_ranker_reader.py:41
↓ 1 callersFunctioncsv_reader
csv_reader
KG/DuEE_baseline/bin/reader/task_reader.py:44
↓ 1 callersFunctiondata2lodtensor
(data, place)
NLP/IJCAI2019-MMPMS/mmpms/inputters/dataloader.py:27
↓ 1 callersFunctiondata_check
Check data. Raises: Raises AssertionError when data is not legal.
NLP/ACL2018-DuReader/utils/dureader_eval.py:54
↓ 1 callersMethoddata_generator
data_generator
NLP/UNIMO-2/src/reader/retrieval_grounded_reader.py:210
↓ 1 callersMethoddata_generator
(self, filelist, batch_size, epoch,
NLP/UNIMO-2/src/reader/img2txt_oscar_reader.py:255
↓ 1 callersMethoddata_generator
(self, raw_samples, batch_size, max_len=N
NLP/MRQA2019-D-NET/server/bert_server/task_reader/mrqa.py:588
↓ 1 callersMethoddata_generator
(self, raw_samples, batch_size, max_len=N
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/mrqa_infer.py:588
↓ 1 callersMethoddata_generator
data generator
NLP/UNIMO/src/reader/img2txt_reader.py:270
↓ 1 callersMethoddata_generator
data generator
NLP/UNIMO/src/reader/seq2seq_reader.py:332
↓ 1 callersMethoddata_generator
data_generator
NLP/UNIMO/src/reader/retrieval_reader.py:255
↓ 1 callersMethoddata_generator
data_generator
KG/DuEE_baseline/bin/reader/task_reader.py:518
↓ 1 callersMethoddata_generator
data_generator
KG/DuEE_baseline/bin/reader/task_reader.py:809
↓ 1 callersMethoddata_generator_with_buffer
get data batch
NLP/ACL2020-GraphSum/src/networks/graphsum/graphsum_reader.py:263
↓ 1 callersMethoddata_generator_with_buffer
get data batch
NLP/EMNLP2021-SgSum/src/networks/roberta_multigraphextsum/graphsum_reader.py:364
↓ 1 callersFunctiondata_process
data_process
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/model/goal_planning.py:318
↓ 1 callersMethoddeal_timestamp
(self, timestamp)
ST_DM/KDD2021-MSTPAC/code/ST-PAC/datasets/poi_qac_personalized/qac_personalized.py:218
↓ 1 callersFunctiondecode
decode one instance predicts to sql
NLP/Text2SQL-BASELINE/text2sql/dataproc/sql_label.py:192
↓ 1 callersMethoddecode_list
Transform a sequence of int ids into a their string versions. This method supports transforming individual input/output ids to their
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:204
↓ 1 callersMethoddecode_list
:param ids: :return:
NLP/EMNLP2019-MAL/src/preprocess/text_encoder.py:839
↓ 1 callersFunctiondecoder
The decoder is composed of a stack of identical decoder_layer layers.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer.py:473
↓ 1 callersFunctiondecoder
The decoder is composed of a stack of identical decoder_layer layers.
NLP/EMNLP2019-MAL/src/relative_model.py:454
↓ 1 callersFunctiondecoder
The decoder is composed of a stack of identical decoder_layer layers.
NLP/EMNLP2019-MAL/src/forward_model.py:447
↓ 1 callersFunctiondecoder
The decoder is composed of a stack of identical decoder_layer layers.
NLP/EMNLP2019-MAL/src/dense_model.py:456
↓ 1 callersFunctiondecoder
The decoder is composed of a stack of identical decoder_layer layers.
NLP/ACL2019-JEMT/model.py:506
↓ 1 callersFunctiondecoder_layer
The layer to be stacked in decoder part. The structure of this module is similar to that in the encoder part except a multi-head attention is
NLP/EMNLP2019-MAL/src/relative_model.py:386
↓ 1 callersFunctiondecoder_layer
The layer to be stacked in decoder part. The structure of this module is similar to that in the encoder part except a multi-head attention is
NLP/EMNLP2019-MAL/src/forward_model.py:382
↓ 1 callersFunctiondecoder_layer
The layer to be stacked in decoder part. The structure of this module is similar to that in the encoder part except a multi-head attention is
NLP/EMNLP2019-MAL/src/dense_model.py:391
↓ 1 callersFunctiondecoder_layer
The layer to be stacked in decoder part. The structure of this module is similar to that in the encoder part except a multi-head attention is
NLP/ACL2019-JEMT/model.py:436
↓ 1 callersFunctiondecompress
(path)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/utils.py:22
↓ 1 callersFunctiondefine_args_parser
define command-line args parser
NLP/Text2SQL-BASELINE/text2sql/global_config.py:34
↓ 1 callersMethoddel_friends
Desc: 从friends列表中删除部分del_frds, 如果删除了首元素, 则需要重新选举首元素 Args: self : self del_frds : 需要删除的friends列表 Retur
ST_DM/GenRegion/src/generate/gen/cluster.py:271
↓ 1 callersFunctiondet_preprocessor
(im, new_size, max_size)
CV/landmark/inference/infer_recognition.py:26
↓ 1 callersMethoddicom2img
将一张脑CT切片变换为一幅图像
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/datasets/classification/rsna_ihd.py:204
↓ 1 callersMethoddictionary_generator
(self, documents)
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/goal_planning/data_generator/doc2vec.py:36
↓ 1 callersFunctiondist_get_reduced_vars
Gather a list of vars from all worker by collective operators.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/model_state.py:87
↓ 1 callersFunctiondistinct
Calculate intra/inter distinct 1/2.
NLP/Dialogue-PLATO/plato/metrics/metrics.py:25
↓ 1 callersFunctiondo_format_to_json
format dataset to json format
NLP/ACL2020-GraphSum/src/data_preprocess/graphsum/preprocess_graphsum_data.py:21
↓ 1 callersFunctiondo_format_to_json
format dataset to json format
NLP/EMNLP2021-SgSum/src/data_preprocess/preprocess_graphextsum_data.py:20
↓ 1 callersFunctiondo_format_to_paddle
format dataset for paddle models
NLP/ACL2020-GraphSum/src/data_preprocess/graphsum/preprocess_graphsum_data.py:28
↓ 1 callersFunctiondo_format_to_paddle
format dataset for paddle models
NLP/EMNLP2021-SgSum/src/data_preprocess/preprocess_graphextsum_data.py:27
↓ 1 callersFunctiondo_predict
(args)
KG/DuKEVU_Baseline/paddle-video-semantic-tag/predict_semantic_tag.py:113
↓ 1 callersFunctiondo_train
(args)
KG/DuKEVU_Baseline/paddle-video-semantic-tag/train_semantic_tag.py:109
↓ 1 callersFunctiondoc_wrapper
This function wrap paragraphs into a document. :param squad_para: paragraphs in SQuAD format. :param title: the title of paragraphs.
NLP/MRQA2019-D-NET/multi_task_learning/scripts/convert_mrqa2squad.py:128
↓ 1 callersFunctiondoc_wrapper
This function wrap paragraphs into a document. :param squad_para: paragraphs in SQuAD format. :param title: the title of paragraphs.
NLP/MRQA2019-BASELINE/data/convert_mrqa2squad.py:128
↓ 1 callersFunctiondot_product_attention
Args: query: a tensor with shape [batch, Q_time, Q_dimension] key: a tensor with shape [batch, time, K_dimension] val
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/net_helper.py:69
↓ 1 callersFunctiondot_product_attention
Dot product layer. Args: query: a tensor with shape [batch, Q_time, Q_dimension] key: a tensor with shape [batch, time, K_dime
NLP/ACL2018-DAM/layers.py:66
↓ 1 callersFunctiondot_product_pooling
Scaled Dot-Product Attention :param k: (batch_size, n_head, key_len, 1) :param v: (batch_size, n_head, key_len, dim_per_hea
NLP/ACL2020-GraphSum/src/models/attention.py:304
↓ 1 callersFunctiondot_product_pooling
Scaled Dot-Product Attention :param k: (batch_size, n_head, key_len, 1) :param v: (batch_size, n_head, key_len, dim_per_hea
NLP/EMNLP2021-SgSum/src/models/attention.py:305
↓ 1 callersFunctiondownload
(url, path)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/utils.py:29
↓ 1 callersMethoddrained
implementation of Dataset.drained
CV/PaddleReid/reid/data/reader_mt.py:362
↓ 1 callersFunctiondropout
Implement dropout function like tensorflow/pytorch.
NLP/Dialogue-PLATO/plato/modules/functions.py:65
↓ 1 callersFunctiondump_jsonl
(data, fname)
NLP/ACL2024-NACL/src/eval_utils.py:111
↓ 1 callersFunctiondump_segments
Desc: 将segments转储到外存 Args: segments : segments集合 seg_file : seg_file Return: None Raise: None
ST_DM/GenRegion/src/region/geometry.py:1064
↓ 1 callersFunctiondup_remove
For each document, remove the duplicated paragraphs Args: doc: a doc in the sample Returns: bool Raises: None
NLP/ACL2018-DuReader/src/paragraph_extraction.py:48
↓ 1 callersFunctionedge_aware_self_attention
Edge-aware Self-Attention. Scalar dimensions referenced here: B = batch_size M = max_sequence_length
KG/ACL2021_GRAN/src/model/graph_encoder.py:152
↓ 1 callersMethodemb_lookup_fn
get embedding out with params
ST_DM/CIKM2019-MONOPOLY/nets/house_price/house_price.py:46
↓ 1 callersFunctionencode
Encode a unicode string as a list of tokens. Args: text: a unicode string Returns: a list of tokens as Unicode strings
NLP/EMNLP2019-MAL/src/preprocess/tokenizer.py:37
↓ 1 callersMethodencode
(self, text)
NLP/Dialogue-PLATO/plato/data/tokenizer.py:622
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/transformer.py:366
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/NAACL2021-RocketQA/model/src/model/transformer_encoder.py:300
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/encoders/transformer.py:282
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/nets/transformer_encoder.py:303
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/module/transformer_encoder.py:329
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/EMNLP2019-MAL/src/relative_model.py:347
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/EMNLP2019-MAL/src/forward_model.py:345
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/EMNLP2019-MAL/src/dense_model.py:337
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/ACL2021-PAIR/model/src/model/transformer_encoder.py:300
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/ACL2019-JEMT/model.py:399
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/EMNLP2021-SgSum/src/roberta/roberta_encoder.py:299
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/EMNLP2021-SgSum/src/data_preprocess/roberta/roberta_encoder.py:299
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/ACL2019-DuConv/retrieval_paddle/source/encoders/transformer.py:282
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/ACL2019-KTNET/reading_comprehension/src/model/transformer_encoder.py:331
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/DuReader-Robust-BASELINE/src/model/transformer_encoder.py:301
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/UNIMO/src/model/transformer_encoder.py:311
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
NLP/MRQA2019-BASELINE/src/model/transformer_encoder.py:301
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
KG/AAAI2021_SSAN/model/SSAN_encoder.py:349
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
KG/DuIE_Baseline/ernie/model/transformer_encoder.py:300
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
KG/DuEL_Baseline/ernie/model/transformer_encoder.py:351
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
KG/CoKE/bin/model/transformer_encoder.py:342
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
KG/DuEE_baseline/bin/model/transformer_encoder.py:304
↓ 1 callersFunctionencoder
The encoder is composed of a stack of identical layers returned by calling encoder_layer.
KG/ACL2021_GRAN/src/model/graph_encoder.py:421
↓ 1 callersFunctionencoder_layer
The encoder layers that can be stacked to form a deep encoder. This module consits of a multi-head (self) attention followed by position-wise
ST_DM/KDD2021-HGAMN/src/model/transformer_encoder.py:241
↓ 1 callersFunctionencoder_layer
The encoder layers that can be stacked to form a deep encoder. This module consits of a multi-head (self) attention followed by position-wise
NLP/NAACL2021-RocketQA/model/src/model/transformer_encoder.py:237
← previousnext →2,901–3,000 of 7,542, ranked by callers