public static ComputationGraph loadCheckpointCG ( File rootDir , int checkpointNum ) { File f = getFileForCheckpoint ( rootDir , checkpointNum ) ; try { return ModelSerializer . restoreComputationGraph ( f , true ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } }
Load a ComputationGraph for the given checkpoint that resides in the specified root directory