tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

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

def compute_eval_loss_and_metrics_helper(logits: tf.Tensor,
Severity: Minor
Found in official/recommendation/neumf_model.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/modeling/multitask/interleaving_trainer.py - About 35 mins to fix

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

        def test_export(
      Severity: Minor
      Found in official/vision/serving/detection_test.py - About 35 mins to fix

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

          def test_uplift_predictions_are_computed_from_logits(

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

            def train_step(
          Severity: Minor
          Found in official/recommendation/ranking/task.py - About 35 mins to fix

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

              def add_encoded_panoptic_mask_feature(
            Severity: Minor
            Found in official/vision/data/tf_example_builder.py - About 35 mins to fix

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

                def test_metric_computes_correct_loss(
              Severity: Minor
              Found in official/recommendation/uplift/metrics/poisson_metrics_test.py - About 35 mins to fix

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

                def get_export_module(params: cfg.ExperimentConfig,
                Severity: Minor
                Found in official/vision/serving/export_module_factory.py - About 35 mins to fix

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

                  def bbox_annotations_to_feature_dict(
                  Severity: Minor
                  Found in official/vision/data/create_coco_tf_record.py - About 35 mins to fix

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

                    def create_classification_export_module(params: cfg.ExperimentConfig,
                    Severity: Minor
                    Found in official/vision/serving/export_module_factory.py - About 35 mins to fix

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

                        def joint_train_step(self, task_inputs,
                      Severity: Minor
                      Found in official/modeling/multitask/multitask.py - About 35 mins to fix

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

                          def add_panoptic_mask_matrix_feature(
                        Severity: Minor
                        Found in official/vision/data/tf_example_builder.py - About 35 mins to fix

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

                            def update_state(
                          Severity: Minor
                          Found in official/recommendation/uplift/metrics/sliced_metric.py - About 35 mins to fix

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

                              def add_image_matrix_feature(
                            Severity: Minor
                            Found in official/vision/data/tf_example_builder.py - About 35 mins to fix

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

                                def add_semantic_mask_matrix_feature(
                              Severity: Minor
                              Found in official/vision/data/tf_example_builder.py - About 35 mins to fix

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

                                def create_dataset_from_tf_record_files(input_file_pattern,
                                Severity: Minor
                                Found in official/recommendation/ncf_input_pipeline.py - About 35 mins to fix

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

                                    def __init__(
                                  Severity: Minor
                                  Found in official/modeling/multitask/evaluator.py - About 35 mins to fix

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

                                      def test_add_image_matrix_feature_success(self, height, width, num_channels,
                                    Severity: Minor
                                    Found in official/vision/data/tf_example_builder_test.py - About 35 mins to fix

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

                                        def add_encoded_semantic_mask_feature(
                                      Severity: Minor
                                      Found in official/vision/data/tf_example_builder.py - About 35 mins to fix

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

                                          def _get_layer(
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language