MCPcopy Create free account

hub / github.com/BorealisAI/scaleformer / functions

Functions365 in github.com/BorealisAI/scaleformer

Methodforward
(self, x)
models/NHitsMS.py:127
Methodforward
(self, x)
models/NHitsMS.py:142
Methodforward
(self, x)
models/NHitsMS.py:153
Methodforward
(self, x)
models/NHitsMS.py:166
Methodforward
(self, theta: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor)
models/NHitsMS.py:181
Methodforward
(self, theta: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor)
models/NHitsMS.py:210
Methodforward
(self, theta: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor)
models/NHitsMS.py:257
Methodforward
(self, theta: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor)
models/NHitsMS.py:282
Methodforward
(self, insample_y: t.Tensor, insample_x_t: t.Tensor, outsample_x_t: t.Tensor, x_s: t.Tensor)
models/NHitsMS.py:376
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, return_decomposition=False, **kwargs)
models/NHitsMS.py:520
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/Transformer.py:80
Methodforward
inputs : (length, ...) output : (length, ..., N) where N is the order of the HiPPO projection
models/FiLM.py:99
Methodforward
(self, x)
models/FiLM.py:167
Methodforward
(self, x_enc, x_mark_enc, x_dec_true, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_
models/FiLM.py:233
Methodforward
(self, x, scale=1)
models/AutoformerMS.py:25
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/AutoformerMS.py:97
Methodforward
(self, x, scale=1)
models/ReformerMS.py:26
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/ReformerMS.py:73
Methodforward
(self, x, scale=1)
models/PerformerMS.py:26
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/PerformerMS.py:72
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/Performer.py:52
Methodforward
(self, x, scale=1)
models/FiLMMS.py:28
Methodforward
inputs : (length, ...) output : (length, ..., N) where N is the order of the HiPPO projection
models/FiLMMS.py:113
Methodforward
(self, x)
models/FiLMMS.py:181
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/FiLMMS.py:261
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/Informer.py:93
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/FEDformer.py:124
Methodforward
(self, x, scale=1)
models/FEDformerMS.py:28
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/FEDformerMS.py:144
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/Reformer.py:64
Methodforward
(self, x, scale=1)
models/InformerMS.py:25
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/InformerMS.py:99
Methodforward
(self, x_enc, x_mark_enc, x_dec, x_mark_dec, enc_self_mask=None, dec_self_mask=None, dec_enc_m
models/Autoformer.py:95
Functionimage_dct
Does a type-II DCT (aka "The DCT") on axes 1 and 2 of a rank-3 tensor.
robust_loss_pytorch/util.py:173
Functionimage_idct
Inverts image_dct(), by performing a type-III DCT.
robust_loss_pytorch/util.py:181
Functioninterpolate1d
r"""Perform cubic hermite spline interpolation on a 1D spline. The x coordinates of the spline knots are at [0 : 1 : len(values)-1]. Queries outs
robust_loss_pytorch/cubic_spline.py:24
Functioninv_affine_sigmoid
The inverse of affine_sigmoid(., lo, hi).
robust_loss_pytorch/util.py:75
Functioninv_affine_softplus
The inverse of affine_softplus(., lo, ref).
robust_loss_pytorch/util.py:98
Functioninv_partition_spline_curve
The inverse of partition_spline_curve().
robust_loss_pytorch/distribution.py:117
Methodinverse_transform
(self, data)
utils/tools.py:93
Methodinverse_transform
(self, data)
data_provider/data_loader.py:110
Methodinverse_transform
(self, data)
data_provider/data_loader.py:200
Methodinverse_transform
(self, data)
data_provider/data_loader.py:413
Methodlaplace_crps
Compute the CRPS of observations x relative to laplace distributed forecasts with mean and b. Formula taken from Equation 2.1 Laplace
exp/exp_main.py:59
Functionlog1p_safe
The same as torch.log1p(x), but clamps the input to prevent NaNs.
robust_loss_pytorch/util.py:34
Functionlog_safe
The same as torch.log(x), but clamps the input to prevent NaNs.
robust_loss_pytorch/util.py:28
Functionlossfun
r"""Implements the general form of the loss. This implements the rho(x, \alpha, c) function described in "A General and Adaptive Robust Loss Func
robust_loss_pytorch/general.py:32
Methodlossfun
A variant of lossfun() that uses the NLL of a Student's t-distribution. Args: x: The residual for which the loss is being computed. Must be
robust_loss_pytorch/adaptive.py:285
Methodlossfun
Computes the adaptive form of the robust loss on a set of images. Args: x: A set of image residuals for which the loss is being computed. M
robust_loss_pytorch/adaptive.py:444
Methodmask
(self)
utils/masking.py:33
Methodmask
(self)
utils/masking.py:47
Functionphi_
(phi_c, x, lb = 0, ub = 1)
layers/utils.py:42
Methodreconstruct
(self, c)
models/FiLM.py:115
Methodreconstruct
(self, c)
models/FiLMMS.py:129
Functionrescale
Rescale a wavelet decomposition `pyr` by `scale_base`^level. Args: pyr: A wavelet decomposition produced by construct(). scale_base: The ba
robust_loss_pytorch/wavelet.py:388
Functionrgb_to_syuv
A volume preserving version of tf.image.rgb_to_yuv(). By "volume preserving" we mean that rgb_to_syuv() is in the "special linear group", or equi
robust_loss_pytorch/util.py:126
Functionstudents_t_nll
The NLL of a Generalized Student's T distribution (w/o including TFP).
robust_loss_pytorch/util.py:110
Functionsyuv_to_rgb
A volume preserving version of tf.image.yuv_to_rgb(). By "volume preserving" we mean that rgb_to_syuv() is in the "special linear group", or equi
robust_loss_pytorch/util.py:150
Functiontest
(model, test_loader, device, verbose=0, lossFn=None, post_proc = lambda args: args)
layers/utils.py:254
Methodtest
(self)
exp/exp_basic.py:52
Methodtime_delay_agg_full
Standard version of Autocorrelation
layers/AutoCorrelation.py:95
Functiontrain
(model, train_loader, optimizer, epoch, device, verbose = 0, lossFn = None, lr_schedule=None, post_pr
layers/utils.py:218
Methodtrain
(self)
exp/exp_basic.py:49
Methodvali
(self)
exp/exp_basic.py:46
Functionvisualize
Visualizes a wavelet decomposition produced by construct(). Args: pyr: A wavelet decomposition produced by construct(), percentile: The per
robust_loss_pytorch/wavelet.py:448
← previous301–365 of 365, ranked by callers