tensorflow/tensorflow

View on GitHub

Showing 8,379 of 21,083 total issues

File lookup_ops_test.py has 3470 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
Severity: Major
Found in tensorflow/python/kernel_tests/data_structures/lookup_ops_test.py - About 1 wk to fix

    File test_util.py has 3276 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    Severity: Major
    Found in tensorflow/python/framework/test_util.py - About 1 wk to fix

      File distribute_lib.py has 3253 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      # Copyright 2018 The TensorFlow Authors. All Rights Reserved.
      #
      # Licensed under the Apache License, Version 2.0 (the "License");
      # you may not use this file except in compliance with the License.
      # You may obtain a copy of the License at
      Severity: Major
      Found in tensorflow/python/distribute/distribute_lib.py - About 1 wk to fix

        File metrics_impl.py has 3204 lines of code (exceeds 250 allowed). Consider refactoring.
        Open

        # Copyright 2016 The TensorFlow Authors. All Rights Reserved.
        # Licensed under the Apache License, Version 2.0 (the "License");
        # you may not use this file except in compliance with the License.
        # You may obtain a copy of the License at
        #
        Severity: Major
        Found in tensorflow/python/ops/metrics_impl.py - About 1 wk to fix

          File convolutional.py has 3041 lines of code (exceeds 250 allowed). Consider refactoring.
          Open

          # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
          #
          # Licensed under the Apache License, Version 2.0 (the "License");
          # you may not use this file except in compliance with the License.
          # You may obtain a copy of the License at
          Severity: Major
          Found in tensorflow/python/keras/layers/convolutional.py - About 1 wk to fix

            File ops_test.py has 3024 lines of code (exceeds 250 allowed). Consider refactoring.
            Open

            # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
            #
            # Licensed under the Apache License, Version 2.0 (the "License");
            # you may not use this file except in compliance with the License.
            # You may obtain a copy of the License at
            Severity: Major
            Found in tensorflow/python/framework/ops_test.py - About 1 wk to fix

              File sparse_ops.py has 2945 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
              #
              # Licensed under the Apache License, Version 2.0 (the "License");
              # you may not use this file except in compliance with the License.
              # You may obtain a copy of the License at
              Severity: Major
              Found in tensorflow/python/ops/sparse_ops.py - About 1 wk to fix

                File rnn_cell_test.py has 2912 lines of code (exceeds 250 allowed). Consider refactoring.
                Open

                # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
                #
                # Licensed under the Apache License, Version 2.0 (the "License");
                # you may not use this file except in compliance with the License.
                # You may obtain a copy of the License at
                Severity: Major
                Found in tensorflow/python/kernel_tests/nn_ops/rnn_cell_test.py - About 1 wk to fix

                  File metrics.py has 2868 lines of code (exceeds 250 allowed). Consider refactoring.
                  Open

                  # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
                  #
                  # Licensed under the Apache License, Version 2.0 (the "License");
                  # you may not use this file except in compliance with the License.
                  # You may obtain a copy of the License at
                  Severity: Major
                  Found in tensorflow/python/keras/metrics.py - About 1 wk to fix

                    File load_test.py has 2766 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    # Copyright 2018 The TensorFlow Authors. All Rights Reserved.
                    #
                    # Licensed under the Apache License, Version 2.0 (the "License");
                    # you may not use this file except in compliance with the License.
                    # You may obtain a copy of the License at
                    Severity: Major
                    Found in tensorflow/python/saved_model/load_test.py - About 1 wk to fix

                      File xla_client_test.py has 2762 lines of code (exceeds 250 allowed). Consider refactoring.
                      Open

                      # Copyright 2017 The OpenXLA Authors.
                      #
                      # Licensed under the Apache License, Version 2.0 (the "License");
                      # you may not use this file except in compliance with the License.
                      # You may obtain a copy of the License at
                      Severity: Major
                      Found in third_party/xla/xla/python/xla_client_test.py - About 1 wk to fix

                        File lite.py has 2754 lines of code (exceeds 250 allowed). Consider refactoring.
                        Open

                        # Copyright 2023 The TensorFlow Authors. All Rights Reserved.
                        #
                        # Licensed under the Apache License, Version 2.0 (the "License");
                        # you may not use this file except in compliance with the License.
                        # You may obtain a copy of the License at
                        Severity: Major
                        Found in tensorflow/lite/python/lite.py - About 1 wk to fix

                          File dynamic_ragged_shape.py has 2626 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          # Copyright 2021 The TensorFlow Authors. All Rights Reserved.
                          #
                          # Licensed under the Apache License, Version 2.0 (the "License");
                          # you may not use this file except in compliance with the License.
                          # You may obtain a copy of the License at
                          Severity: Major
                          Found in tensorflow/python/ops/ragged/dynamic_ragged_shape.py - About 1 wk to fix

                            File feature_column.py has 2592 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
                            #
                            # Licensed under the Apache License, Version 2.0 (the "License");
                            # you may not use this file except in compliance with the License.
                            # You may obtain a copy of the License at
                            Severity: Major
                            Found in tensorflow/python/feature_column/feature_column.py - About 1 wk to fix

                              File recurrent.py has 2590 lines of code (exceeds 250 allowed). Consider refactoring.
                              Open

                              # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
                              #
                              # Licensed under the Apache License, Version 2.0 (the "License");
                              # you may not use this file except in compliance with the License.
                              # You may obtain a copy of the License at
                              Severity: Major
                              Found in tensorflow/python/keras/layers/recurrent.py - About 1 wk to fix

                                File training_v1.py has 2536 lines of code (exceeds 250 allowed). Consider refactoring.
                                Open

                                # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
                                #
                                # Licensed under the Apache License, Version 2.0 (the "License");
                                # you may not use this file except in compliance with the License.
                                # You may obtain a copy of the License at
                                Severity: Major
                                Found in tensorflow/python/keras/engine/training_v1.py - About 1 wk to fix

                                  File saver_test.py has 2450 lines of code (exceeds 250 allowed). Consider refactoring.
                                  Open

                                  # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
                                  #
                                  # Licensed under the Apache License, Version 2.0 (the "License");
                                  # you may not use this file except in compliance with the License.
                                  # You may obtain a copy of the License at
                                  Severity: Major
                                  Found in tensorflow/python/training/saver_test.py - About 6 days to fix

                                    File training.py has 2435 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
                                    #
                                    # Licensed under the Apache License, Version 2.0 (the "License");
                                    # you may not use this file except in compliance with the License.
                                    # You may obtain a copy of the License at
                                    Severity: Major
                                    Found in tensorflow/python/keras/engine/training.py - About 6 days to fix

                                      File ragged_tensor.py has 2398 lines of code (exceeds 250 allowed). Consider refactoring.
                                      Open

                                      # Copyright 2018 The TensorFlow Authors. All Rights Reserved.
                                      #
                                      # Licensed under the Apache License, Version 2.0 (the "License");
                                      # you may not use this file except in compliance with the License.
                                      # You may obtain a copy of the License at
                                      Severity: Major
                                      Found in tensorflow/python/ops/ragged/ragged_tensor.py - About 6 days to fix

                                        File base_layer.py has 2394 lines of code (exceeds 250 allowed). Consider refactoring.
                                        Open

                                        # Copyright 2015 The TensorFlow Authors. All Rights Reserved.
                                        #
                                        # Licensed under the Apache License, Version 2.0 (the "License");
                                        # you may not use this file except in compliance with the License.
                                        # You may obtain a copy of the License at
                                        Severity: Major
                                        Found in tensorflow/python/keras/engine/base_layer.py - About 6 days to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language