tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

  def __init__(self,
Severity: Major
Found in official/nlp/modeling/layers/factorized_embedding.py - About 50 mins to fix

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

      def test_transformer_with_lw_relpos(self, ffn_activations,
    Severity: Major
    Found in official/nlp/modeling/models/t5_test.py - About 50 mins to fix

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

      def _compute_attention_mask(
      Severity: Major
      Found in official/nlp/modeling/networks/xlnet_base.py - About 50 mins to fix

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

          def __init__(self,
        Severity: Major
        Found in official/nlp/modeling/models/dual_encoder.py - About 50 mins to fix

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

            def __init__(self,
          Severity: Major
          Found in official/nlp/modeling/models/bert_token_classifier.py - About 50 mins to fix

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

              def __call__(self,
            Severity: Major
            Found in official/nlp/modeling/models/t5.py - About 50 mins to fix

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

                def call(self,
              Severity: Major
              Found in official/nlp/modeling/models/seq2seq_transformer.py - About 50 mins to fix

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

                  def __init__(self,
                Severity: Major
                Found in official/nlp/modeling/networks/span_labeling.py - About 50 mins to fix

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

                    def __init__(
                  Severity: Major
                  Found in official/nlp/modeling/models/bert_pretrainer.py - About 50 mins to fix

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

                      def call(self,
                    Severity: Major
                    Found in official/nlp/modeling/layers/reuse_attention.py - About 50 mins to fix

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

                        def __init__(self,
                      Severity: Major
                      Found in official/nlp/modeling/layers/mobile_bert_layers.py - About 50 mins to fix

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

                          def __init__(self,
                        Severity: Major
                        Found in official/nlp/modeling/layers/spectral_normalization.py - About 50 mins to fix

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

                            def call(
                          Severity: Major
                          Found in official/nlp/modeling/layers/block_sparse_attention.py - About 50 mins to fix

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

                              def __init__(self,
                            Severity: Major
                            Found in official/nlp/modeling/layers/cls_head.py - About 50 mins to fix

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

                                def __init__(self,
                              Severity: Major
                              Found in official/nlp/modeling/layers/cls_head.py - About 50 mins to fix

                                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 call has 7 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    def call(self,
                                  Severity: Major
                                  Found in official/nlp/modeling/layers/attention.py - About 50 mins to fix

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

                                      def __init__(self,
                                    Severity: Major
                                    Found in official/nlp/modeling/layers/spectral_normalization.py - About 50 mins to fix

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

                                        def test_causal_windowed_attention_projection(
                                      Severity: Major
                                      Found in official/nlp/modeling/layers/kernel_attention_test.py - About 50 mins to fix

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

                                          def test_transformer_xl(
                                        Severity: Major
                                        Found in official/nlp/modeling/layers/transformer_xl_test.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language