WenjieDu/PyPOTS

View on GitHub
pypots/nn/modules/transformer/attention.py

Summary

Maintainability
A
2 hrs
Test Coverage

Function forward has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    def forward(
Severity: Minor
Found in pypots/nn/modules/transformer/attention.py - About 35 mins to fix

    Function forward has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        def forward(
    Severity: Minor
    Found in pypots/nn/modules/transformer/attention.py - About 35 mins to fix

      Function __init__ has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          def __init__(
      Severity: Minor
      Found in pypots/nn/modules/transformer/attention.py - About 35 mins to fix

        Function forward has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            def forward(
        Severity: Minor
        Found in pypots/nn/modules/transformer/attention.py - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status