tensorflow/tensorflow

View on GitHub

Showing 8,389 of 21,100 total issues

Avoid too many return statements within this function.
Open

      return False
Severity: Major
Found in tensorflow/tools/tensorflow_builder/compat_checker/compat_checker.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return 'f32'
    Severity: Major
    Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return 'i32'
      Severity: Major
      Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return TFRTypes.TENSOR
        Severity: Major
        Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return 'i64'
          Severity: Major
          Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                      return {_get_type_from_proto(None, attr_def)}
            Severity: Major
            Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return {_get_type_from_proto(op_def.output_arg[0])}, None
              Severity: Major
              Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return {TFRTypes.TF_TENSOR_SHAPE_LIST}, None
                Severity: Major
                Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                            return (node.attr, TFRTypes.TF_RAW_OP)
                  Severity: Major
                  Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          return self._visit_tf_op(func_name, node.args, node.keywords, node)
                    Severity: Major
                    Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return {TFRTypes.INDEX}, None
                      Severity: Major
                      Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return {TFR_BUILTINS[op_name]}, None
                        Severity: Major
                        Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return (size_value, TFRTypes.INDEX)
                          Severity: Major
                          Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return 'i1'
                            Severity: Major
                            Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return {_PY_TYPE_TO_TFR.get(type(value), TFRTypes.ATTR)}
                              Severity: Major
                              Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return {TFR_BUILTINS[op_name](*[list(arg)[0] for arg in args])}, None
                                Severity: Major
                                Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return self._visit_tfr_builtins(func_name, node.args, node)
                                  Severity: Major
                                  Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                          return (func_name, TFRTypes.TF_TENSOR_SHAPE_LIST)
                                    Severity: Major
                                    Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return None, None
                                      Severity: Major
                                      Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return TFRTypes.TENSOR_LIST
                                        Severity: Major
                                        Found in tensorflow/compiler/mlir/tfr/python/tfr_gen.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language