Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BorealisAI/scaleformer
/ functions
Functions
365 in github.com/BorealisAI/scaleformer
⨍
Functions
365
◇
Types & classes
119
Method
__init__
N: the order of the HiPPO projection dt: discretization step size - should be roughly inverse to the length of the sequence
models/FiLM.py:79
Method
__init__
(self, in_channels, out_channels,seq_len, modes1,compression=0,ratio=0.5,mode_type=0)
models/FiLM.py:125
Method
__init__
(self)
models/AutoformerMS.py:22
Method
__init__
(self)
models/ReformerMS.py:23
Method
__init__
(self)
models/PerformerMS.py:23
Method
__init__
(self, configs)
models/Performer.py:28
Method
__init__
(self)
models/FiLMMS.py:25
Method
__init__
N: the order of the HiPPO projection dt: discretization step size - should be roughly inverse to the length of the sequence
models/FiLMMS.py:93
Method
__init__
(self, in_channels, out_channels,seq_len, modes1,compression=0,ratio=0.5,mode_type=0)
models/FiLMMS.py:139
Method
__init__
(self, configs)
models/Informer.py:37
Method
__init__
(self, configs)
models/FEDformer.py:29
Method
__init__
(self)
models/FEDformerMS.py:25
Method
__init__
(self, configs)
models/Reformer.py:39
Method
__init__
(self)
models/InformerMS.py:22
Method
__init__
(self, configs)
models/Autoformer.py:35
Method
__len__
(self)
data_provider/data_loader.py:107
Method
__len__
(self)
data_provider/data_loader.py:197
Method
__len__
(self)
data_provider/data_loader.py:316
Method
__len__
(self)
data_provider/data_loader.py:410
Method
__len__
(self)
data_provider/data_loader.py:516
Method
__repr__
(self)
utils/timefeatures.py:38
Method
_build_model
(self)
exp/exp_main.py:135
Method
_get_data
(self)
exp/exp_basic.py:43
Function
_init_weights
(module, initialization)
models/NHits.py:277
Function
_init_weights
(module, initialization)
models/NHitsMS.py:291
Method
add_outliers
(signal, perc=0.00001)
data_provider/data_loader.py:229
Function
affine_sigmoid
Maps reals to (lo, hi), where 0 maps to (lo+hi)/2.
robust_loss_pytorch/util.py:64
Function
affine_softplus
Maps real numbers to (lo, infinity), where 0 maps to ref.
robust_loss_pytorch/util.py:86
Function
analytical_base_partition_function
r"""Accurately approximate the partition function Z(numer / denom). This uses the analytical formulation of the true partition function Z(alpha),
robust_loss_pytorch/distribution.py:38
Function
collapse
Collapses a wavelet decomposition made by construct() back into an image. Args: pyr: A numpy or TF tensor of single or double precision floats
robust_loss_pytorch/wavelet.py:342
Method
compl_mul1d
(self, input, weights)
layers/FourierCorrelation.py:110
Function
compute_jacobian
Computes the Jacobian of function `f` with respect to input `x`.
robust_loss_pytorch/util.py:189
Function
construct
num_levels a wavelet decomposition of an image. Args: im: A numpy or TF tensor of single or double precision floats of size (batch_size,
robust_loss_pytorch/wavelet.py:294
Method
cpu
(self)
layers/utils.py:317
Method
cuda
(self)
layers/utils.py:313
Method
decode
(self, x, sample_idx=None)
layers/utils.py:297
Method
decode
(self, x, sample_idx=None)
layers/utils.py:335
Method
decode
(self, x)
layers/utils.py:365
Method
draw_samples
r"""Draw samples from the robust distribution. This function implements Algorithm 1 the paper. This code is written to allow for sampling
robust_loss_pytorch/distribution.py:212
Method
encode
(self, x)
layers/utils.py:293
Method
encode
(self, x)
layers/utils.py:331
Method
encode
(self, x)
layers/utils.py:358
Function
exp_safe
The same as torch.exp(x), but clamps the input to prevent NaNs.
robust_loss_pytorch/util.py:40
Function
expm1_safe
The same as tf.math.expm1(x), but clamps the input to prevent NaNs.
robust_loss_pytorch/util.py:46
Method
forward
(self, queries, keys, values, attn_mask)
layers/MultiWaveletCorrelation.py:55
Method
forward
(self, q, k, v, mask=None)
layers/MultiWaveletCorrelation.py:130
Method
forward
(self, q, k, v, mask)
layers/MultiWaveletCorrelation.py:232
Method
forward
(self, x)
layers/MultiWaveletCorrelation.py:289
Method
forward
(self, x)
layers/MultiWaveletCorrelation.py:345
Method
forward
(self, x)
layers/Autoformer_EncDec.py:37
Method
forward
(self, x)
layers/Autoformer_EncDec.py:52
Method
forward
(self, x)
layers/Autoformer_EncDec.py:70
Method
forward
(self, x)
layers/Autoformer_EncDec.py:85
Method
forward
(self, x)
layers/Autoformer_EncDec.py:101
Method
forward
(self, x, attn_mask=None)
layers/Autoformer_EncDec.py:126
Method
forward
(self, x, attn_mask=None)
layers/Autoformer_EncDec.py:150
Method
forward
(self, x, cross, x_mask=None, cross_mask=None)
layers/Autoformer_EncDec.py:197
Method
forward
(self, x, cross, x_mask=None, cross_mask=None, trend=None)
layers/Autoformer_EncDec.py:230
Method
forward
(self, x)
layers/Embed.py:33
Method
forward
(self, x, scale=1)
layers/Embed.py:52
Method
forward
(self, x)
layers/Embed.py:65
Method
forward
(self, x)
layers/Embed.py:86
Method
forward
(self, x)
layers/Embed.py:108
Method
forward
(self, x)
layers/Embed.py:128
Method
forward
(self, x, scale=1)
layers/Embed.py:140
Method
forward
(self, x, x_mark)
layers/Embed.py:160
Method
forward
(self, x, x_mark, scale, first_scale, label_len)
layers/Embed.py:175
Method
forward
(self, x, x_mark)
layers/Embed.py:202
Method
forward
(self, q, k, v, mask)
layers/FourierCorrelation.py:71
Method
forward
(self, q, k, v, mask)
layers/FourierCorrelation.py:114
Method
forward
(self, queries, keys, values, attn_mask)
layers/SelfAttention_Family.py:31
Method
forward
(self, queries, keys, values, attn_mask)
layers/SelfAttention_Family.py:115
Method
forward
(self, queries, keys, values, attn_mask)
layers/SelfAttention_Family.py:158
Method
forward
(self, queries, keys, values, attn_mask)
layers/SelfAttention_Family.py:201
Method
forward
(self, queries, keys, values, attn_mask)
layers/SelfAttention_Family.py:217
Method
forward
(self, x)
layers/Transformer_EncDec.py:39
Method
forward
(self, x, attn_mask=None)
layers/Transformer_EncDec.py:60
Method
forward
(self, x, attn_mask=None)
layers/Transformer_EncDec.py:81
Method
forward
(self, x, cross, x_mask=None, cross_mask=None)
layers/Transformer_EncDec.py:117
Method
forward
(self, x, cross, x_mask=None, cross_mask=None)
layers/Transformer_EncDec.py:143
Method
forward
(self, queries, keys, values, attn_mask)
layers/AutoCorrelation.py:120
Method
forward
(self, queries, keys, values, attn_mask)
layers/AutoCorrelation.py:164
Method
forward
(self, x, kernel_size)
exp/exp_main.py:116
Method
forward
(self, x)
models/NHits.py:53
Method
forward
(self, x)
models/NHits.py:80
Method
forward
(self, x)
models/NHits.py:100
Method
forward
(self, x)
models/NHits.py:113
Method
forward
(self, x)
models/NHits.py:128
Method
forward
(self, x)
models/NHits.py:139
Method
forward
(self, x)
models/NHits.py:152
Method
forward
(self, theta: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor)
models/NHits.py:167
Method
forward
(self, theta: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor)
models/NHits.py:196
Method
forward
(self, theta: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor)
models/NHits.py:243
Method
forward
(self, theta: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor)
models/NHits.py:268
Method
forward
(self, insample_y: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor, x_s: t.Tensor)
models/NHits.py:362
Method
forward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, return_decomposition=False, **kwargs)
models/NHits.py:497
Method
forward
(self, x, scale=1)
models/NHitsMS.py:28
Method
forward
(self, x)
models/NHitsMS.py:67
Method
forward
(self, x)
models/NHitsMS.py:94
Method
forward
(self, x)
models/NHitsMS.py:114
← previous
next →
201–300 of 365, ranked by callers