tensorflow/tensorflow

View on GitHub

Showing 8,389 of 21,100 total issues

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

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

      File row_partition.py has 1173 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/ops/ragged/row_partition.py - About 3 days to fix

        File data_service_ops_test.py has 1172 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

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

            File configure.py has 1167 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 configure.py - About 3 days to fix

              File checkpoint_test.py has 1164 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/checkpoint/checkpoint_test.py - About 2 days to fix

                File embedding_ops_test.py has 1163 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/embedding_ops_test.py - About 2 days to fix

                  File ragged_dispatch_test.py has 1146 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_dispatch_test.py - About 2 days to fix

                    File tensor_util_test.py has 1144 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/tensor_util_test.py - About 2 days to fix

                      File cwise_ops_test.py has 1143 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/math_ops/cwise_ops_test.py - About 2 days to fix

                        File tpu_embedding_v2_utils.py has 1138 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_utils.py - About 2 days to fix

                          File optimizer_v2.py has 1129 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/keras/optimizer_v2/optimizer_v2.py - About 2 days to fix

                            File summary_ops_v2.py has 1125 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/ops/summary_ops_v2.py - About 2 days to fix

                              File structured_array_ops_test.py has 1120 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/structured/structured_array_ops_test.py - About 2 days to fix

                                File rnn_cell_impl.py has 1120 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/legacy_rnn/rnn_cell_impl.py - About 2 days to fix

                                  File pooling.py has 1117 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/pooling.py - About 2 days to fix

                                    File cross_device_ops_test.py has 1116 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/cross_device_ops_test.py - About 2 days to fix

                                      File session_debug_testlib.py has 1114 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/lib/session_debug_testlib.py - About 2 days to fix

                                        File tensor.py has 1112 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/framework/tensor.py - About 2 days to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language