Skip to content

Commit

Permalink
add parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
kashif committed Oct 17, 2023
1 parent 85a8a62 commit de9c852
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/gluonts/torch/model/i_transformer/module.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,28 @@ class ITransformerModel(nn.Module):
Parameters
----------
imput_size
Number of multivariates to predict.
prediction_length
Number of time points to predict.
context_length
Number of time steps prior to prediction time that the model.
d_model
Transformer latent dimension.
nhead
Number of attention heads which must be divisible with d_model.
dim_feedforward
Dimension of the transformer's feedforward network model.
dropout
Dropout rate for the transformer.
activation
Activation function for the transformer.
norm_first
Whether to normalize the input before the transformer.
num_encoder_layers
Number of transformer encoder layers.
scaling
Whether to scale the input using mean or std or None.
distr_output
Distribution to use to evaluate observations and sample predictions.
Default: ``StudentTOutput()``.
Expand Down

0 comments on commit de9c852

Please sign in to comment.