MCPcopy Create free account

hub / github.com/cure-lab/LTSF-Linear / functions

Functions556 in github.com/cure-lab/LTSF-Linear

↓ 1 callersMethod__read_data__
(self)
Pyraformer/data_loader.py:37
↓ 1 callersMethod__read_data__
(self)
Pyraformer/data_loader.py:106
↓ 1 callersMethod__read_data__
(self)
Pyraformer/data_loader.py:182
↓ 1 callersMethod__read_data__
(self)
data_provider/data_loader.py:43
↓ 1 callersMethod__read_data__
(self)
data_provider/data_loader.py:131
↓ 1 callersMethod__read_data__
(self)
data_provider/data_loader.py:222
↓ 1 callersMethod__read_data__
(self)
data_provider/data_loader.py:324
↓ 1 callersMethod_acquire_device
(self)
FEDformer/exp/exp_basic.py:16
↓ 1 callersMethod_acquire_device
(self)
exp/exp_basic.py:16
↓ 1 callersMethod_build_model
(self)
FEDformer/exp/exp_basic.py:12
↓ 1 callersMethod_build_model
(self)
exp/exp_basic.py:12
↓ 1 callersMethod_compile_function
Compiles a tvm function that computes diagonal_mm args: dtype: str in ['float64', 'float32', 'float16'] device: str in ['cpu'
Pyraformer/pyraformer/hierarchical_mm_tvm.py:27
↓ 1 callersMethod_get_data
(self, flag)
exp/exp_stat.py:35
↓ 1 callersMethod_get_function
Loads the function from the disk or compile it
Pyraformer/pyraformer/hierarchical_mm_tvm.py:143
↓ 1 callersMethod_get_initial_context
(self, V, L_Q)
FEDformer/layers/SelfAttention_Family.py:108
↓ 1 callersMethod_get_initial_context
(self, V, L_Q)
Pyraformer/pyraformer/graph_attention.py:365
↓ 1 callersMethod_get_initial_context
(self, V, L_Q)
layers/SelfAttention_Family.py:76
↓ 1 callersFunction_legendre
(k, x)
FEDformer/layers/utils.py:11
↓ 1 callersMethod_load_compiled_function
(dtype: str, device: str)
Pyraformer/pyraformer/hierarchical_mm_tvm.py:128
↓ 1 callersMethod_prob_QK
(self, Q, K, sample_k, n_top)
FEDformer/layers/SelfAttention_Family.py:85
↓ 1 callersMethod_prob_QK
(self, Q, K, sample_k, n_top)
Pyraformer/pyraformer/graph_attention.py:342
↓ 1 callersMethod_prob_QK
(self, Q, K, sample_k, n_top)
layers/SelfAttention_Family.py:53
↓ 1 callersMethod_save_compiled_function
(f, dtype: str, device: str)
Pyraformer/pyraformer/hierarchical_mm_tvm.py:122
↓ 1 callersMethod_select_criterion
(self)
FEDformer/exp/exp_main.py:47
↓ 1 callersMethod_select_criterion
(self)
exp/exp_main.py:49
↓ 1 callersMethod_select_optimizer
(self)
FEDformer/exp/exp_main.py:43
↓ 1 callersMethod_select_optimizer
(self)
exp/exp_main.py:45
↓ 1 callersMethod_update_context
(self, context_in, V, scores, index, L_Q, attn_mask)
FEDformer/layers/SelfAttention_Family.py:119
↓ 1 callersMethod_update_context
(self, context_in, V, scores, index, L_Q)
Pyraformer/pyraformer/graph_attention.py:372
↓ 1 callersMethod_update_context
(self, context_in, V, scores, index, L_Q, attn_mask)
layers/SelfAttention_Family.py:87
↓ 1 callersFunctionadjust_learning_rate
(optimizer, epoch, args)
utils/tools.py:9
↓ 1 callersFunctionadjust_learning_rate
(optimizer, epoch, args)
FEDformer/utils/tools.py:8
↓ 1 callersFunctionarg_parser
()
Pyraformer/single_step_main.py:240
↓ 1 callersMethodcompl_mul1d
(self, x, weights)
FEDformer/layers/MultiWaveletCorrelation.py:275
↓ 1 callersMethodcompl_mul1d
(self, input, weights)
FEDformer/layers/FourierCorrelation.py:45
↓ 1 callersFunctioncovariance
compute the covariance of the data
Pyraformer/simulate_sin.py:62
↓ 1 callersFunctiondata_provider
(args, flag)
FEDformer/data_provider/data_factory.py:14
↓ 1 callersFunctiondataset_parameters
Prepare specific parameters for different datasets
Pyraformer/long_range_main.py:82
↓ 1 callersFunctiondezip
(filedir)
Pyraformer/preprocess_flow.py:91
↓ 1 callersFunctionevaluate
Evaluate preptrained models
Pyraformer/single_step_main.py:213
↓ 1 callersFunctionevaluate
Evaluate preptrained models
Pyraformer/long_range_main.py:289
↓ 1 callersMethodevenOdd
(self, x)
FEDformer/layers/MultiWaveletCorrelation.py:199
↓ 1 callersMethodevenOdd
(self, x)
FEDformer/layers/MultiWaveletCorrelation.py:368
↓ 1 callersMethodfit
(self, data)
Pyraformer/data_loader.py:355
↓ 1 callersMethodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_mask=
FEDformer/models/FEDformer.py:163
↓ 1 callersFunctiongen_covariates
Generate covariates
Pyraformer/simulate_sin.py:15
↓ 1 callersFunctiongen_covariates
Get covariates
Pyraformer/data_loader.py:425
↓ 1 callersFunctiongen_covariates
Get covariates
Pyraformer/preprocess_elect.py:76
↓ 1 callersFunctiongenerate_sin
Generate a mixed sinusoidal sequence
Pyraformer/simulate_sin.py:6
↓ 1 callersFunctionget_covariates
Get covariates
Pyraformer/preprocess_wind.py:16
↓ 1 callersFunctionget_dataset_parameters
Prepare specific parameters for different datasets
Pyraformer/single_step_main.py:32
↓ 1 callersFunctionget_k_q
Get the key-query index from query-key index for PAM-TVM
Pyraformer/pyraformer/graph_attention.py:95
↓ 1 callersFunctionget_mask
Get the attention mask of PAM-Naive
Pyraformer/pyraformer/graph_attention.py:106
↓ 1 callersFunctionget_phi_psi
(k, base)
FEDformer/layers/utils.py:22
↓ 1 callersFunctionget_q_k
Get the query-key index for PAM-TVM
Pyraformer/pyraformer/graph_attention.py:23
↓ 1 callersFunctionget_subsequent_mask
Get causal attention mask for decoder.
Pyraformer/pyraformer/Layers.py:69
↓ 1 callersFunctionget_topk
(epoch, batch_size)
Pyraformer/single_step_main.py:62
↓ 1 callersMethodinverse_transform
(self, data)
utils/tools.py:80
↓ 1 callersFunctionlegendreDer
(k, x)
FEDformer/layers/utils.py:10
↓ 1 callersFunctionload_data
(datadir)
Pyraformer/preprocess_wind.py:9
↓ 1 callersFunctionload_data
(filedir)
Pyraformer/preprocess_flow.py:10
↓ 1 callersFunctionmain
Main function.
Pyraformer/single_step_main.py:279
↓ 1 callersFunctionmain
Main function.
Pyraformer/long_range_main.py:363
↓ 1 callersFunctionmetric
(pred, true)
FEDformer/utils/metrics.py:34
↓ 1 callersFunctionmetric
(pred, true)
Pyraformer/utils/tools.py:21
↓ 1 callersFunctionmultivariate_normal
Generate multivariate normal distribution
Pyraformer/simulate_sin.py:100
↓ 1 callersFunctionparse_args
()
Pyraformer/long_range_main.py:310
↓ 1 callersFunctionparsing
()
Pyraformer/pyraformer/graph_attention.py:427
↓ 1 callersFunctionpolynomial_decay_cov
Define the function of covariance decay with distance
Pyraformer/simulate_sin.py:89
↓ 1 callersMethodpredict
(self, setting, load=False)
FEDformer/exp/exp_main.py:300
↓ 1 callersMethodrel
(self, x, y)
FEDformer/layers/utils.py:374
↓ 1 callersFunctionsample_mining_scheduler
(epoch, batch_size)
Pyraformer/long_range_main.py:71
↓ 1 callersFunctionsplit_seq
Divide the training sequence into windows
Pyraformer/preprocess_wind.py:31
↓ 1 callersFunctionsplit_seq
Divide the training sequence into windows
Pyraformer/preprocess_flow.py:41
↓ 1 callersFunctionsynthesis_data
synthesis a mixed sinusoidal dataset
Pyraformer/simulate_sin.py:36
↓ 1 callersMethodtest
(self, data, v)
Pyraformer/pyraformer/Pyraformer_SS.py:80
↓ 1 callersFunctiontest_GSA
Test the time and CUDA memory consumption of PAM.
Pyraformer/pyraformer/graph_attention.py:485
↓ 1 callersFunctiontest_PSA
Test the time and CUDA memory consumption of Prob-sparse self attention.
Pyraformer/pyraformer/graph_attention.py:520
↓ 1 callersFunctiontest_params_flop
If you want to thest former's flop, you need to give default value to inputs in model.forward(), the following code can only pass one argument to
utils/tools.py:95
↓ 1 callersMethodtime_delay_agg_inference
SpeedUp version of Autocorrelation (a batch-normalization style design) This is for the inference phase.
layers/AutoCorrelation.py:50
↓ 1 callersMethodtime_delay_agg_training
SpeedUp version of Autocorrelation (a batch-normalization style design) This is for the training phase.
layers/AutoCorrelation.py:26
↓ 1 callersFunctiontime_features_from_frequency_str
Returns a list of time features that will be appropriate for the given frequency string. Parameters ---------- freq_str Frequ
utils/timefeatures.py:76
↓ 1 callersFunctiontime_features_from_frequency_str
Returns a list of time features that will be appropriate for the given frequency string. Parameters ---------- freq_str Frequ
FEDformer/utils/timefeatures.py:76
↓ 1 callersFunctiontime_features_from_frequency_str
Returns a list of time features that will be appropriate for the given frequency string. Parameters ---------- freq_str Frequ
Pyraformer/utils/timefeatures.py:58
↓ 1 callersFunctiontrain
Start training.
Pyraformer/single_step_main.py:162
↓ 1 callersFunctiontrain
Start training.
Pyraformer/long_range_main.py:249
↓ 1 callersFunctiontrain_epoch
Epoch operation in training phase.
Pyraformer/single_step_main.py:73
↓ 1 callersFunctiontrain_epoch
Epoch operation in training phase.
Pyraformer/long_range_main.py:149
↓ 1 callersMethodtransformer_embedding
Input: batch*seq_len. Output: batch*seq_len*d_model.
Pyraformer/pyraformer/embed.py:135
↓ 1 callersFunctionvisual
Results visualization
FEDformer/utils/tools.py:79
↓ 1 callersMethodwavelet_transform
(self, x)
FEDformer/layers/MultiWaveletCorrelation.py:360
Method__call__
(self, val_loss, model, path)
utils/tools.py:43
Method__call__
(self, index: pd.DatetimeIndex)
utils/timefeatures.py:13
Method__call__
(self, index: pd.DatetimeIndex)
utils/timefeatures.py:23
Method__call__
(self, index: pd.DatetimeIndex)
utils/timefeatures.py:30
Method__call__
(self, index: pd.DatetimeIndex)
utils/timefeatures.py:37
Method__call__
(self, index: pd.DatetimeIndex)
utils/timefeatures.py:44
Method__call__
(self, index: pd.DatetimeIndex)
utils/timefeatures.py:51
Method__call__
(self, index: pd.DatetimeIndex)
utils/timefeatures.py:58
Method__call__
(self, index: pd.DatetimeIndex)
utils/timefeatures.py:65
← previousnext →101–200 of 556, ranked by callers