tensorflow/tensorflow

View on GitHub

Showing 8,379 of 21,083 total issues

File quantize_model_test.py has 5966 lines of code (exceeds 250 allowed). Consider refactoring.
Open

# Copyright 2022 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 feature_column_test.py has 5643 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_test.py - About 2 wks to fix

      File nn_ops.py has 5596 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_ops.py - About 2 wks to fix

        File tensorflow_metal_plugin_test.py has 5339 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");
        Severity: Major
        Found in tensorflow/tools/ci_build/osx/arm64/tensorflow_metal_plugin_test.py - About 2 wks to fix

          File feature_column_v2_test.py has 5284 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_v2_test.py - About 2 wks to fix

            File image_ops_test.py has 5118 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/image_ops_test.py - About 2 wks to fix

              File array_ops.py has 5079 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/array_ops.py - About 2 wks to fix

                File backend.py has 4969 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/backend.py - About 2 wks to fix

                  File image_ops_impl.py has 4819 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/image_ops_impl.py - About 1 wk to fix

                    File ops.py has 4545 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.py - About 1 wk to fix

                      File math_ops.py has 4447 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.py - About 1 wk to fix

                        File lite_v2_test.py has 4405 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/lite/python/lite_v2_test.py - About 1 wk to fix

                          File dataset_ops.py has 4052 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/data/ops/dataset_ops.py - About 1 wk to fix

                            File control_flow_ops_py_test.py has 4014 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

                              File pfor.py has 3878 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/pfor.py - About 1 wk to fix

                                File polymorphic_function_test.py has 3844 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

                                  File metrics_test.py has 3706 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/metrics_test.py - About 1 wk to fix

                                    File dynamic_ragged_shape_test.py has 3693 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_test.py - About 1 wk to fix

                                      File conv_ops_test.py has 3564 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/conv_ops_test.py - About 1 wk to fix

                                        File feature_column_v2.py has 3500 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_v2.py - About 1 wk to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language