tensorflow/tensorflow

View on GitHub

Showing 8,379 of 21,083 total issues

File nest_test.py has 1560 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/util/nest_test.py - About 4 days to fix

    File list_ops_test.py has 1560 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/kernel_tests/data_structures/list_ops_test.py - About 4 days to fix

      File input_lib.py has 1555 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/input_lib.py - About 4 days to fix

        File math_grad.py has 1553 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_grad.py - About 4 days to fix

          File training_utils_v1.py has 1538 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/engine/training_utils_v1.py - About 4 days to fix

            File collective_ops_test.py has 1523 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/kernel_tests/collective_ops_test.py - About 4 days to fix

              File tpu_strategy.py has 1510 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.py - About 4 days to fix

                File tensor_array_ops_test.py has 1503 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 variable_scope_test.py has 1495 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/variables/variable_scope_test.py - About 3 days to fix

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

                      File map_test.py has 1477 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/kernel_tests/map_test.py - About 3 days to fix

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

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

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

                              File trt_convert.py has 1412 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/compiler/tensorrt/trt_convert.py - About 3 days to fix

                                File structured_tensor.py has 1405 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/ops/structured/structured_tensor.py - About 3 days to fix

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

                                    File convolutional.py has 1393 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/legacy_tf_layers/convolutional.py - About 3 days to fix

                                      File cond_v2_test.py has 1393 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/kernel_tests/control_flow/cond_v2_test.py - About 3 days to fix

                                        File csr_sparse_matrix_ops_test.py has 1389 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
                                          Category
                                          Status
                                          Source
                                          Language