tensorflow/tensorflow

View on GitHub

Showing 8,370 of 21,117 total issues

File pooling_ops_test.py has 2347 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/pooling_ops_test.py - About 6 days to fix

    File variable_scope.py has 2288 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/variable_scope.py - About 6 days to fix

      File resource_variable_ops.py has 2278 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/resource_variable_ops.py - About 6 days to fix

        File context.py has 2278 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/context.py - About 6 days to fix

          File callbacks.py has 2267 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/callbacks.py - About 6 days to fix

            File lite_test.py has 2236 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/lite/python/lite_test.py - About 6 days to fix

              File parsing_ops_test.py has 2197 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/io_ops/parsing_ops_test.py - About 6 days to fix

                File control_flow_ops_test.py has 2120 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/parallel_for/control_flow_ops_test.py - About 5 days to fix

                  File tf_upgrade_v2.py has 2113 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/tools/compatibility/tf_upgrade_v2.py - About 5 days to fix

                    File checkpoint.py has 2092 lines of code (exceeds 250 allowed). Consider refactoring.
                    Open

                    """Utilities for saving/loading Trackable objects."""
                    # 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.
                    Severity: Major
                    Found in tensorflow/python/checkpoint/checkpoint.py - About 5 days to fix

                      File input_test.py has 2078 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_test.py - About 5 days to fix

                        File array_ops_test.py has 2060 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/array_ops/array_ops_test.py - About 5 days to fix

                          File data_flow_ops.py has 1996 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/data_flow_ops.py - About 5 days to fix

                            File tpu_embedding_v3.py has 1975 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/tpu/tpu_embedding_v3.py - About 5 days to fix

                              File lookup_ops.py has 1964 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/lookup_ops.py - About 5 days to fix

                                File ragged_tensor_test.py has 1941 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_test.py - About 5 days to fix

                                  File tf_upgrade_v2_test.py has 1913 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/tools/compatibility/tf_upgrade_v2_test.py - About 5 days to fix

                                    File nn_impl.py has 1879 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/nn_impl.py - About 5 days to fix

                                      File check_ops_test.py has 1878 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/kernel_tests/check_ops_test.py - About 5 days to fix

                                        File check_ops.py has 1864 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/check_ops.py - About 5 days to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language