tensorflow/models

View on GitHub
official/nlp/modeling/layers/per_dim_scale_attention.py

Summary

Maintainability
A
1 hr
Test Coverage

Function call has 7 arguments (exceeds 4 allowed). Consider refactoring.
Open

  def call(  # pytype: disable=signature-mismatch  # overriding-parameter-count-checks
Severity: Major
Found in official/nlp/modeling/layers/per_dim_scale_attention.py - About 50 mins to fix

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

      def _compute_attention(self,
    Severity: Minor
    Found in official/nlp/modeling/layers/per_dim_scale_attention.py - About 35 mins to fix

      There are no issues that match your filters.

      Category
      Status