code: public static void setBaseDirectory(@NonNull File f){
          Preconditions.checkState(f.exists() && f.isDirectory(), "Specified base directory does not exist and/or is not a directory: %s", f.getAbsolutePath());
          baseDirectory = f;
      }
docs: Set the base directory for local storage of files. Default is: {@code new File(System.getProperty("user.home"), ".deeplearning4j")}
  @param f Base directory to use for resources