pypots/nn/modules/informer/layers.py
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(
Function __init__
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, B, H, L, index, scores, device="cpu"):
Function _update_context
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _update_context(self, context_in, V, scores, index, L_Q, attn_mask):
Function forward
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def forward(self, x, cross, x_mask=None, cross_mask=None, tau=None, delta=None):
Function forward
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def forward(
Function __init__
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def __init__(self, attention, d_model, d_ff=None, dropout=0.1, activation="relu"):