MCPcopy Create free account

hub / github.com/PaddlePaddle/Research / functions

Functions7,542 in github.com/PaddlePaddle/Research

Methodget_train_progress
Gets progress for training phase.
NLP/MRQA2019-D-NET/server/ernie_server/task_reader/mrqa_infer.py:549
Methodget_train_progress
Gets progress for training phase.
NLP/MRQA2019-D-NET/server/xlnet_server/squad_reader.py:545
Methodget_train_progress
Gets progress for training phase.
NLP/ACL2021-PAIR/model/src/reader/reader_de_infer.py:87
Methodget_train_progress
Gets progress for training phase.
NLP/ACL2021-PAIR/model/src/reader/reader_de.py:94
Methodget_train_progress
Gets progress for training phase.
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record.py:562
Methodget_train_progress
Gets progress for training phase.
NLP/ACL2019-KTNET/reading_comprehension/src/reader/record_twomemory.py:576
Methodget_train_progress
Gets progress for training phase.
NLP/ACL2019-KTNET/reading_comprehension/src/reader/squad_twomemory.py:577
Methodget_vit_encoder_output
(self)
NLP/UNIMO-2/src/model/unimo_grounded.py:951
Methodget_vit_encoder_output
(self)
NLP/UNIMO-2/src/model/unimo_grounded_baseline.py:534
Functionglore
Reference: Chen, Yunpeng, et al. "Graph-Based Global Reasoning Networks", In CVPR 2019
CV/SemSegPaddle/src/models/modeling/glore.py:100
Functiongraph_decoder
The decoder is composed of a stack of identical decoder_layer layers. :param dec_input: (batch_size, tgt_len, emb_dim) :param enc_words_
NLP/EMNLP2021-SgSum/src/models/decoder.py:308
Functiongraph_encoder
:param enc_words_output: # (batch_size, n_tokens, emb_dim) :param src_words_slf_attn_bias: (batch_size, n_head, n_tokens, n_tokens) :pa
NLP/EMNLP2021-SgSum/src/models/encoder.py:263
Methodgridize
Desc: 网格化, 将一个多边形根据grid划分成多个多边形 Args: self : self grid_size : 网格大小 Return: list of Regio
ST_DM/GenRegion/src/region/geometry.py:893
Methodgrids
Desc: 计算线段所涉及的grids Args: self : self grid_size : 网格大小, int Return: [] grid list
ST_DM/GenRegion/src/region/geometry.py:341
Functiongru_net
gru net
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/common/net_helper.py:340
Methodgru_net
gru net
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:787
Methodgru_net
gru net
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:802
Methodgru_net
gru net
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:799
Functiongru_rnn
gru rnn
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/models/knowledge_seq2seq.py:122
Functiongru_rnn
gru rnn
NLP/ACL2019-DuConv/generative_paddle/source/models/knowledge_seq2seq.py:122
Functiongumbel_softmax
Basic implement of gumbel_softmax.
NLP/Dialogue-PLATO/plato/modules/functions.py:35
Methodhandle_data
handle the data
NLP/ACL2020-GraphSum/src/utils/stream.py:33
Methodhandle_data
handle the data
NLP/EMNLP2021-SgSum/src/utils/stream.py:33
Methodhas
has key
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/kvdict/kvdict.py:44
Functionhas_answer
(text, answers)
NLP/NAACL2021-RocketQA/data_process/utils.py:52
Functionhas_answer
(text, answers)
NLP/ACL2021-PAIR/data_process/utils.py:52
Functionhaversine
(array_x, array_y)
CV/VehicleCounting/vehicle_counting/distances.py:43
Methodheap_size
Gets the heap size maintained in the class.
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/average_precision_calculator.py:83
Functionhflip
Horizontally flip the given numpy ndarray. Args: img (numpy ndarray): image to be flipped. Returns: numpy ndarray: Horizontal
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/functional.py:54
Methodholder_list
holder list
ST_DM/KDD2021-HGAMN/src/lbs_model.py:97
Functionhu2uint8
Convert HU unit into uint8 values. First bound HU values by predfined min and max, and then normalize image: 3D numpy array of raw HU val
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/transforms/functional.py:162
Methodid2is_full_token
id->isfulltoken
NLP/UNIMO-2/src/finetune/trigram_blocking.py:99
Methodid2is_full_token
id->isfulltoken
NLP/ACL2020-GraphSum/src/models/trigram_blocking.py:92
Methodid2is_full_token
id->isfulltoken
NLP/EMNLP2021-SgSum/src/models/trigram_blocking.py:92
Methodid2is_full_token
id->isfulltoken
NLP/UNIMO/src/finetune/trigram_blocking.py:91
Methodid_map
_id_map property
NLP/Text2SQL-BASELINE/tools/evaluation/text2sql_evaluation.py:810
Methodid_map
_id_map property
NLP/Text2SQL-BASELINE/text2sql/utils/dusql_evaluation.py:889
Functionif_exist
(var)
CV/PaddleReid/train_pid_color_type_all.py:148
Functionif_exist
(var)
CV/PaddleReid/test_query_gallery.py:125
Functionif_exist
(var)
CV/PaddleReid/train_multiloss.py:165
Functionif_exist
(var)
CV/webvision2018/eval.py:76
Functionif_exist
(var)
CV/landmark/inference/convert_binary_model.py:65
Functionimage_mapper
image_mapper
CV/webvision2018/reader.py:118
Methodimg_mean
(self)
CV/astar2019/reader.py:102
Functionimpl
impl
NLP/EMNLP2019-MAL/src/reader.py:167
Functionimport_class
Load class dynamically Args: module_path: The current path of the module module_name: The module name class_name: The name
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/logger.py:87
Functionimport_class
Load class dynamically Args: module_path: The current path of the module module_name: The module name class_name: The name
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/logger.py:70
Methodin_cluster
Desc: 判断点是否在cluster中 Args: self : self point : Point Return: True, if point in
ST_DM/GenRegion/src/generate/gen/cluster.py:154
Functionin_match
(prediction, ground_truth)
NLP/ACL2024-NACL/src/eval_utils.py:361
Methodindices
indices
NLP/Text2SQL-BASELINE/text2sql/dataproc/vocab.py:73
Methodinfer
Inference process. @params : inputs : input data @type : dict of numpy.ndarray/int/float/...
NLP/Dialogue-PLATO/plato/models/model_base.py:131
Methodinfer
(self, inputs)
NLP/IJCAI2019-MMPMS/mmpms/models/model_base.py:57
Methodinfer_batch_size
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:172
Methodinfer_plugin
(self)
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/libs/config.py:353
Functioninference
(model, data, output_path, beam_size=1, mode='infer', output_history=True, use_heuristic=True, model_name='seq
NLP/Text2SQL-BASELINE/text2sql/launch/infer.py:39
Functioninfo
info
CV/Effective Transformer-based Solution for RSNA Intracranial Hemorrhage Detection/easymia/utils/logger.py:54
Functioninit_attn_mask
create causal attention mask.
NLP/MRQA2019-D-NET/server/xlnet_server/model/xlnet.py:37
Functioninit_batch_norm_layer
(name="batch_norm")
CV/PaddleReid/reid/model/layers.py:70
Functioninit_checkpoint
init checkpoint.
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/utils/utils.py:33
Functioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16=False, skip_list = [])
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/toolkit/init.py:40
Functioninit_checkpoint
(exe, init_checkpoint_path, main_program, use_fp16=False, skip_list = [])
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/toolkit/init.py:40
Functioninit_checkpoint
(exe, init_checkpoint_path, main_program)
NLP/ACL2019-DuConv/retrieval_paddle/source/utils/utils.py:33
Functioninit_ernie_model
init ernie model from static graph checkpoint Args: model_class (TYPE): NULL model_dir (TYPE): NULL Returns: TODO Raise
NLP/Text2SQL-BASELINE/text2sql/io.py:33
Functioninit_fc_layer
(fout, name='fc')
CV/PaddleReid/reid/model/layers.py:77
Functioninit_log
init_log - initialize log module Args: log_path - Log file path prefix. Log data will go to two files: log_
ST_DM/KDD2021-MSTPAC/code/ST-PAC/utils/logger.py:143
Functioninit_log
init_log - initialize log module Args: log_path - Log file path prefix. Log data will go to two files: log_
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/logger.py:126
Methodinit_model_params
init pretrain model
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/base_frame.py:512
Methodinit_model_params
init model params in run_server: pserver #worker no need init params
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/paddlecloud_fleet_trainer.py:141
Methodinit_model_params
init pretrain model
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/base_frame.py:499
Methodinit_model_params
init model params in run_server: pserver #worker no need init params
ST_DM/KDD2021-MSTPAC/code/MST-PAC/frame/core/paddlecloud_fleet_trainer.py:128
Methodinit_params
init embed
ST_DM/KDD2020-P3AC/nets/poi_qac_personalized/qac_personalized.py:555
Methodinit_params
init embed
ST_DM/KDD2021-MSTPAC/code/ST-PAC/nets/poi_qac_personalized/qac_personalized.py:565
Methodinit_params
init embed
ST_DM/KDD2021-MSTPAC/code/MST-PAC/nets/poi_qac_personalized/qac_personalized.py:562
Functioninit_pretraining_params
(exe, pretraining_params_path, main_program,
NLP/MRQA2019-D-NET/server/bert_server/pdnlp/toolkit/init.py:62
Functioninit_pretraining_params
(exe, pretraining_params_path, main_program,
NLP/MRQA2019-D-NET/server/ernie_server/pdnlp/toolkit/init.py:62
Functioninit_pretraining_params
(exe, pretraining_params_path, main_program,
KG/AAAI2021_SSAN/utils/init.py:70
Methodinner_func
inner_func
NLP/Text2SQL-BASELINE/text2sql/models/sql_decoder/tree_traversal.py:45
Methodinstance_reader
instance_reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/retrieval_model/source/inputters/data_provider.py:276
Methodinstance_reader
instance reader
NLP/Conversational-Recommendation-BASELINE/conversational_recommendation/generative_model/source/inputters/corpus.py:105
Methodinstance_reader
()
NLP/ACL2019-DuConv/retrieval_paddle/source/inputters/data_provider.py:270
Methodinstance_reader
instance reader
NLP/ACL2019-DuConv/generative_paddle/source/inputters/corpus.py:105
Methodinstance_reader
Process sinle example and return.
NLP/NAACL2019-MPM/reader.py:156
Methodinterface
interface
KG/DuEL_Baseline/data/data_process.py:33
Methodintersect
Desc: 计算两个seg之间的交点, 正常情况下, 两个seg只有一个交点 如果两个线段之间有重合的部分,则可能会有多个交点 Args: self : self seg : 另一个seg
ST_DM/GenRegion/src/region/geometry.py:373
Functioninv_arguments
(args)
NLP/UNIMO-2/src/utils/args.py:52
Functioninv_arguments
reformat the arg input
NLP/ACL2020-GraphSum/src/utils/args.py:56
Functioninv_arguments
inv_arguments
NLP/EMNLP2019-MAL/src/args.py:62
Functioninv_arguments
reformat the arg input
NLP/EMNLP2021-SgSum/src/utils/args.py:56
Functioninv_arguments
inverse arguments
NLP/UNIMO/src/utils/args.py:56
Functionis_alphabet_or_digit
abc or 123
ST_DM/KDD2021-MSTPAC/code/MST-PAC/utils/tokenization.py:851
Methodis_done
If there are enough hypotheses and that none of the hypotheses being generated can become better than the worst one in the heap, the
NLP/EMNLP2022-Q-TOD/infer.py:238
Methodis_empty
(self)
KG/DuKEVU_Baseline/paddle-video-classify-tag/metrics/youtube8m/mean_average_precision_calculator.py:99
Methodis_immutable
(self)
CV/SemSegPaddle/src/utils/collect.py:148
Methodis_immutable
(self)
CV/SemSegPaddleDG/src/utils/collect.py:135
Methodis_match
signboard is matched, change this if definition is changed
ST_DM/CIKM2022-DuMapper/DME/metric/signboard_pr.py:145
Functionis_parameter
(var)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/model.py:31
Methodis_parameter
(var)
KG/DuKEVU_Baseline/paddle-video-classify-tag/models/tsn/tsn.py:152
Methodis_running
(self)
CV/SemSegPaddle/src/utils/timer.py:59
Methodis_running
(self)
CV/SemSegPaddleDG/src/utils/timer.py:43
Methodis_server
set default role of current node
ST_DM/KDD2021-MSTPAC/code/ST-PAC/frame/core/paddlecloud_fleet_trainer.py:76
← previousnext →6,701–6,800 of 7,542, ranked by callers