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/on_device_embedding.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/data/classifier_data_lib.py - About 50 mins to fix

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

      def selective_crop_and_resize(features,
      Severity: Major
      Found in official/legacy/detection/ops/spatial_transform_ops.py - About 50 mins to fix

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

        def generate_tf_record_from_data_file(processor,
        Severity: Major
        Found in official/nlp/data/classifier_data_lib.py - About 50 mins to fix

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

          def write_instance_to_example_files(instances, tokenizer, max_seq_length,
          Severity: Major
          Found in official/nlp/data/create_pretraining_data.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/data/classifier_data_lib.py - About 50 mins to fix

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

              def file_based_convert_examples_to_features(examples,
              Severity: Major
              Found in official/nlp/data/classifier_data_lib.py - About 50 mins to fix

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

                def export(export_module: export_base.ExportModule,
                Severity: Major
                Found in official/nlp/serving/export_savedmodel_util.py - About 50 mins to fix

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

                  def token_classification_meta_data(train_data_size,
                  Severity: Major
                  Found in official/nlp/data/tagging_data_lib.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/data/squad_lib.py - About 50 mins to fix

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

                      def create_masked_lm_predictions(tokens, masked_lm_prob,
                      Severity: Major
                      Found in official/nlp/data/create_pretraining_data.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/data/squad_lib_sp.py - About 50 mins to fix

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

                          def resize_and_crop_image(image,
                          Severity: Major
                          Found in official/legacy/detection/utils/input_utils.py - About 50 mins to fix

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

                              def block_group(self, inputs, filters, block_fn, blocks, strides, name,
                            Severity: Major
                            Found in official/legacy/detection/modeling/architecture/resnet.py - About 50 mins to fix

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

                              def sample_and_crop_foreground_masks(candidate_rois,
                              Severity: Major
                              Found in official/legacy/detection/ops/target_ops.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/legacy/detection/modeling/architecture/heads.py - About 50 mins to fix

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

                                    def _resample_with_alpha(self,
                                  Severity: Major
                                  Found in official/legacy/detection/modeling/architecture/spinenet.py - About 50 mins to fix

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

                                    def run_executor(params,
                                    Severity: Major
                                    Found in official/legacy/detection/main.py - About 50 mins to fix

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

                                        def evaluate_from_model_dir(
                                      Severity: Major
                                      Found in official/legacy/detection/executor/distributed_executor.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/legacy/detection/modeling/architecture/fpn.py - About 50 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language