docs: public static Model loadModelGuess(String path) throws Exception {
          try {
              return ModelSerializer.restoreMultiLayerNetwork(new File(path), true);
          } catch (Exception e) {
              log.warn("Tried multi layer network");
              try {
                  return ModelSerializer.restoreComputationGraph(new File(path), true);
              } catch (Exception e1) {
                  log.warn("Tried computation graph");
                  try {
                      return ModelSerializer.restoreMultiLayerNetwork(new File(path), false);
                  } catch (Exception e4) {
                      try {
                          return ModelSerializer.restoreComputationGraph(new File(path), false);
                      } catch (Exception e5) {
                          try {
                              return KerasModelImport.importKerasModelAndWeights(path);
                          } catch (Exception e2) {
                              log.warn("Tried multi layer network keras");
                              try {
                                  return KerasModelImport.importKerasSequentialModelAndWeights(path);
  
                              } catch (Exception e3) {
                                  throw new ModelGuesserException("Unable to load model from path " + path
                                          + " (invalid model file or not a known model type)");
                              }
                          }
                      }
                  }
              }
          }
      }