tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

Function expplus has 8 arguments (exceeds 4 allowed). Consider refactoring.
Open

def expplus(data_orig,
Severity: Major
Found in official/nlp/modeling/layers/kernel_attention.py - About 1 hr to fix

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

    def generate_tf_record_from_data_file(processor, data_dir, tokenizer,
    Severity: Major
    Found in official/nlp/data/tagging_data_lib.py - About 1 hr to fix

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

        def __init__(
      Severity: Major
      Found in official/legacy/detection/modeling/architecture/heads.py - About 1 hr to fix

        Function resize_and_crop_image_v2 has 8 arguments (exceeds 4 allowed). Consider refactoring.
        Open

        def resize_and_crop_image_v2(image,
        Severity: Major
        Found in official/legacy/detection/utils/input_utils.py - About 1 hr to fix

          Function convert_examples_to_features has 8 arguments (exceeds 4 allowed). Consider refactoring.
          Open

          def convert_examples_to_features(examples, sp_model, max_seq_length, doc_stride,
          Severity: Major
          Found in official/legacy/xlnet/squad_utils.py - About 1 hr to fix

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

              def __init__(self,
            Severity: Major
            Found in official/legacy/detection/modeling/architecture/nn_ops.py - About 1 hr to fix

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

                def __init__(
              Severity: Major
              Found in official/legacy/detection/modeling/architecture/heads.py - About 1 hr to fix

                Function create_eval_data has 8 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                def create_eval_data(spm_basename,
                Severity: Major
                Found in official/legacy/xlnet/squad_utils.py - About 1 hr to fix

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

                    def __call__(self,
                  Severity: Major
                  Found in official/legacy/xlnet/xlnet_modeling.py - About 1 hr to fix

                    Function parse_files_to_dataset has 8 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                    def parse_files_to_dataset(parser, file_names, split, num_batch, num_hosts,
                    Severity: Major
                    Found in official/legacy/xlnet/preprocess_pretrain_data.py - About 1 hr to fix

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

                        def __init__(self,
                      Severity: Major
                      Found in official/legacy/xlnet/xlnet_modeling.py - About 1 hr to fix

                        Function identity_block has 8 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                        def identity_block(input_tensor,
                        Severity: Major
                        Found in official/legacy/image_classification/resnet/resnet_model.py - About 1 hr to fix

                          Function init_from_files has 8 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                            def init_from_files(vocab_file,
                          Severity: Major
                          Found in official/legacy/transformer/utils/tokenizer.py - About 1 hr to fix

                            Function create_classifier_dataset has 8 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                            def create_classifier_dataset(file_path,
                            Severity: Major
                            Found in official/legacy/bert/input_pipeline.py - About 1 hr to fix

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

                                def __init__(self,
                              Severity: Major
                              Found in official/vision/ops/augment.py - About 1 hr to fix

                                Function resize_and_crop_image_v2 has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                def resize_and_crop_image_v2(
                                Severity: Major
                                Found in official/vision/ops/preprocess_ops.py - About 1 hr to fix

                                  Function build_for_detection has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                    def build_for_detection(cls,
                                  Severity: Major
                                  Found in official/vision/ops/augment.py - About 1 hr to fix

                                    Function run_bert has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                    def run_bert(strategy,
                                    Severity: Major
                                    Found in official/legacy/bert/run_classifier.py - About 1 hr to fix

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

                                        def __init__(self,
                                      Severity: Major
                                      Found in official/vision/evaluation/coco_evaluator.py - About 1 hr to fix

                                        Function random_crop has 8 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                        def random_crop(
                                        Severity: Major
                                        Found in official/vision/ops/preprocess_ops.py - About 1 hr to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language