public class ExternalCheckpointManager extends Object
构造方法和说明 |
---|
ExternalCheckpointManager(String checkpointPath, org.apache.hadoop.fs.FileSystem fs) |
修饰符和类型 | 方法和说明 |
---|---|
void |
cleanPath() |
void |
cleanUpHigherVersions(int currentRound) |
List<Integer> |
getCheckpointRounds(int firstRound, int checkpointInterval, int numOfRounds) |
Booster |
loadCheckpointAsBooster() |
void |
updateCheckpoint(Booster boosterToCheckpoint) |
public ExternalCheckpointManager(String checkpointPath, org.apache.hadoop.fs.FileSystem fs) throws XGBoostError
XGBoostError
public void cleanPath() throws IOException
IOException
public Booster loadCheckpointAsBooster() throws IOException, XGBoostError
public void updateCheckpoint(Booster boosterToCheckpoint) throws IOException, XGBoostError
public void cleanUpHigherVersions(int currentRound) throws IOException
IOException
public List<Integer> getCheckpointRounds(int firstRound, int checkpointInterval, int numOfRounds) throws IOException
IOException
版权所有 © 2025。保留所有权利。