code: public static ComputationGraph restoreComputationGraph(@NonNull InputStream is, boolean loadUpdater)
              throws IOException {
          checkInputStream(is);
  
          File tmpFile = null;
          try{
              tmpFile = tempFileFromStream(is);
              return restoreComputationGraph(tmpFile, loadUpdater);
          } finally {
              if(tmpFile != null){
                  tmpFile.delete();
              }
          }
      }
docs: Load a computation graph from a InputStream
  @param is the inputstream to get the computation graph from
  @return the loaded computation graph
  
  @throws IOException