tensorflow/tensorflow

View on GitHub

Showing 8,397 of 21,127 total issues

Avoid too many return statements within this function.
Open

  return None
Severity: Major
Found in tensorflow/python/compiler/xla/xla.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

              return 'import %s as %s' % (source_name, dest_name)
    Severity: Major
    Found in tensorflow/python/tools/api/generator/create_python_api.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return options
      Severity: Major
      Found in tensorflow/python/lib/io/tf_record.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

              return cls.STAGE_BASED
        Severity: Major
        Found in tensorflow/python/data/ops/options.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                return model_pb2.AutotuneAlgorithm.STAGE_BASED
          Severity: Major
          Found in tensorflow/python/data/ops/options.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return data_service_pb2.ProcessingModeDef.FILE_OR_DATA
            Severity: Major
            Found in tensorflow/python/data/experimental/ops/data_service_ops.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    return data_service_pb2.ProcessingModeDef.HINT
              Severity: Major
              Found in tensorflow/python/data/experimental/ops/data_service_ops.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                    return profile_datum.node_exec_stats.all_end_rel_micros
                Severity: Major
                Found in tensorflow/python/debug/cli/profile_analyzer_cli.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                    return True
                  Severity: Major
                  Found in tensorflow/python/debug/cli/profile_analyzer_cli.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return False
                    Severity: Major
                    Found in tensorflow/python/debug/cli/profile_analyzer_cli.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return False
                      Severity: Major
                      Found in tensorflow/python/debug/cli/profile_analyzer_cli.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return False
                        Severity: Major
                        Found in tensorflow/python/debug/cli/profile_analyzer_cli.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return profile_datum.node_exec_stats.all_start_micros
                          Severity: Major
                          Found in tensorflow/python/debug/cli/profile_analyzer_cli.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                              return Interval(start=start_item,
                            Severity: Major
                            Found in tensorflow/python/debug/cli/command_parser.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return True
                              Severity: Major
                              Found in tensorflow/python/tpu/tensor_tracer.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return True
                                Severity: Major
                                Found in tensorflow/python/tpu/tensor_tracer.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return True
                                  Severity: Major
                                  Found in tensorflow/python/tpu/tensor_tracer.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return 1
                                    Severity: Major
                                    Found in tensorflow/python/tpu/tensor_tracer.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            return False
                                      Severity: Major
                                      Found in tensorflow/python/tpu/tensor_tracer.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                  return True
                                        Severity: Major
                                        Found in tensorflow/python/tpu/tensor_tracer.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language