tensorflow/tensorflow

View on GitHub

Showing 8,379 of 21,083 total issues

File gradients_test.py has 1388 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/gradients_test.py - About 3 days to fix

    File concrete_function.py has 1384 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/eager/polymorphic_function/concrete_function.py - About 3 days to fix

      File summary_ops_test.py has 1383 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/summary_ops/summary_ops_test.py - About 3 days to fix

        File session.py has 1373 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/client/session.py - About 3 days to fix

          File values.py has 1373 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/values.py - About 3 days to fix

            File control_flow_ops_test.py has 1357 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/control_flow_ops_test.py - About 3 days to fix

              File convert_to_constants_test.py has 1351 lines of code (exceeds 250 allowed). Consider refactoring.
              Open

              # Copyright 2019 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/convert_to_constants_test.py - About 3 days to fix

                File nest_util.py has 1350 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/python/util/nest_util.py - About 3 days to fix

                  File cfg_test.py has 1346 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/autograph/pyct/cfg_test.py - About 3 days to fix

                    File fifo_queue_test.py has 1341 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/data_structures/fifo_queue_test.py - About 3 days to fix

                      File rnn.py has 1335 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/rnn.py - About 3 days to fix

                        File save.py has 1332 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/save.py - About 3 days to fix

                          File basic_session_run_hooks_test.py has 1323 lines of code (exceeds 250 allowed). Consider refactoring.
                          Open

                          # pylint: disable=g-bad-file-header
                          # 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.
                          Severity: Major
                          Found in tensorflow/python/training/basic_session_run_hooks_test.py - About 3 days to fix

                            File cluster_coordinator.py has 1322 lines of code (exceeds 250 allowed). Consider refactoring.
                            Open

                            # Copyright 2020 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/coordinator/cluster_coordinator.py - About 3 days to fix

                              File input.py has 1321 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/input.py - About 3 days to fix

                                File save_test.py has 1318 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/save_test.py - About 3 days to fix

                                  File polymorphic_function.py has 1317 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/eager/polymorphic_function/polymorphic_function.py - About 3 days to fix

                                    File tpu_embedding_v2.py has 1313 lines of code (exceeds 250 allowed). Consider refactoring.
                                    Open

                                    # Copyright 2020 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/tpu/tpu_embedding_v2.py - About 3 days to fix

                                      File analyzer_cli.py has 1311 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/debug/cli/analyzer_cli.py - About 3 days to fix

                                        File benchmarks_test.py has 1305 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/eager/benchmarks_test.py - About 3 days to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language