docs: public static Object loadConfigGuess(InputStream stream) throws Exception {
          String p = System.getProperty(DL4JSystemProperties.DL4J_TEMP_DIR_PROPERTY);
          File tmp = DL4JFileUtils.createTempFile("model-" + UUID.randomUUID().toString(), "bin");
          BufferedOutputStream bufferedOutputStream = new BufferedOutputStream(new FileOutputStream(tmp));
          IOUtils.copy(stream, bufferedOutputStream);
          bufferedOutputStream.flush();
          bufferedOutputStream.close();
          tmp.deleteOnExit();
          try {
              return loadConfigGuess(tmp.getAbsolutePath());
          } finally {
              tmp.delete();
          }
      }