tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def _create_cache(batch_size,
Severity: Minor
Found in official/nlp/modeling/models/t5_test.py - About 35 mins to fix

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

      def call(self,
    Severity: Minor
    Found in official/nlp/modeling/networks/span_labeling.py - About 35 mins to fix

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

        def create_variable(self,
      Severity: Minor
      Found in official/nlp/modeling/models/t5.py - About 35 mins to fix

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

          def testNextSentencePrediction(self,
        Severity: Minor
        Found in official/nlp/modeling/ops/segment_extractor_test.py - About 35 mins to fix

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

            def encode(self,
          Severity: Minor
          Found in official/nlp/modeling/models/t5.py - About 35 mins to fix

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

              def _get_new_finished_state(self, state: Dict[str, Any], new_seq: tf.Tensor,
            Severity: Minor
            Found in official/nlp/modeling/ops/sampling_module.py - About 35 mins to fix

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

                def _get_new_finished_state(self,
              Severity: Minor
              Found in official/nlp/modeling/ops/decoding_module.py - About 35 mins to fix

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

                  def test_transformer_with_dense_only(self, ffn_activations,
                Severity: Minor
                Found in official/nlp/modeling/models/t5_test.py - About 35 mins to fix

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

                    def _get_new_finished_state(self, state, new_seq, new_log_probs,
                  Severity: Minor
                  Found in official/nlp/modeling/ops/decoding_module_test.py - About 35 mins to fix

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

                      def test_transformer(self, ffn_activations, logits_via_embedding,
                    Severity: Minor
                    Found in official/nlp/modeling/models/t5_test.py - About 35 mins to fix

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

                        def test_transformer_different_num_decoder_layers(self, ffn_activations,
                      Severity: Minor
                      Found in official/nlp/modeling/models/t5_test.py - About 35 mins to fix

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

                          def __init__(self,
                        Severity: Minor
                        Found in official/nlp/modeling/networks/classification.py - About 35 mins to fix

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

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

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

                              def test_create_model_with_ds(
                            Severity: Minor
                            Found in official/nlp/modeling/models/seq2seq_transformer_test.py - About 35 mins to fix

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

                                def __init__(
                              Severity: Minor
                              Found in official/nlp/modeling/models/xlnet.py - About 35 mins to fix

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

                                  def test_transformer_with_dense(self, ffn_activations, logits_via_embedding,
                                Severity: Minor
                                Found in official/nlp/modeling/models/t5_test.py - About 35 mins to fix

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

                                    def __init__(self,
                                  Severity: Minor
                                  Found in official/nlp/modeling/models/t5.py - About 35 mins to fix

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

                                      def _build_model(
                                    Severity: Minor
                                    Found in official/nlp/modeling/models/seq2seq_transformer_test.py - About 35 mins to fix

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

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

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

                                          def __init__(self,
                                        Severity: Minor
                                        Found in official/nlp/modeling/layers/text_layers.py - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language