tensorflow/models

View on GitHub

Showing 11,634 of 11,634 total issues

Avoid too many return statements within this function.
Open

    return (preprocessor.random_self_concat_image, {
Severity: Major
Found in research/object_detection/builders/preprocessor_builder.py - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return None
    Severity: Major
    Found in official/nlp/tools/tf1_bert_checkpoint_converter_lib.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return index[rear] - 1
      Severity: Major
      Found in official/nlp/data/squad_lib_sp.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return index[front] + 1
        Severity: Major
        Found in official/nlp/data/squad_lib_sp.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return m - 1
          Severity: Major
          Found in official/nlp/data/squad_lib_sp.py - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return index[rear]
            Severity: Major
            Found in official/nlp/data/squad_lib_sp.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return index[front]
              Severity: Major
              Found in official/nlp/data/squad_lib_sp.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                      return index[front]
                Severity: Major
                Found in official/nlp/data/squad_lib_sp.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                        return index[front] + 1
                  Severity: Major
                  Found in official/nlp/data/squad_lib_sp.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                      return output_text
                    Severity: Major
                    Found in official/nlp/data/squad_lib.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                            return index[front]
                      Severity: Major
                      Found in official/legacy/xlnet/squad_utils.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                              return index[rear] - 1
                        Severity: Major
                        Found in official/legacy/xlnet/squad_utils.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return index[front]
                          Severity: Major
                          Found in official/legacy/xlnet/squad_utils.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  return index[front] + 1
                            Severity: Major
                            Found in official/legacy/xlnet/squad_utils.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                      return index[front] + 1
                              Severity: Major
                              Found in official/legacy/xlnet/squad_utils.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                      return index[rear]
                                Severity: Major
                                Found in official/legacy/xlnet/squad_utils.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return M - 1
                                  Severity: Major
                                  Found in official/legacy/xlnet/squad_utils.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return [4, 2, 1, 2]
                                    Severity: Major
                                    Found in official/vision/train_spatial_partitioning.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return tf.distribute.MirroredStrategy(
                                      Severity: Major
                                      Found in official/common/distribute_utils.py - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return tf.train.Feature(bytes_list=tf.train.BytesList(value=value))
                                        Severity: Major
                                        Found in official/vision/data/tfrecord_lib.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language