tensorflow/tensorflow

View on GitHub

Showing 8,397 of 21,127 total issues

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

      Avoid too many return statements within this function.
      Open

          return 3
      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 2
        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 {self._parameters.trace_mode: _show_max_abs(tensor)}
          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 None, False
              Severity: Major
              Found in tensorflow/python/tpu/tensor_tracer_flags.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return {self._parameters.trace_mode: array_ops.reshape(
                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 2
                  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 result_dict
                      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 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 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 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 dtypes.int64
                                Severity: Major
                                Found in tensorflow/python/training/training_ops_test.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

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

                                    Avoid too many return statements within this function.
                                    Open

                                        return _TensorProcessor(v)
                                    Severity: Major
                                    Found in tensorflow/python/training/optimizer.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

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

                                        Avoid too many return statements within this function.
                                        Open

                                            return _RefVariableProcessor(v)
                                        Severity: Major
                                        Found in tensorflow/python/training/optimizer.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language