Skip to content

Commit

Permalink
Comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
dickensc committed Nov 3, 2023
1 parent 8a51385 commit 7d0d604
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions psl-core/src/main/java/org/linqs/psl/model/deep/DeepModel.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,28 +80,27 @@ protected DeepModel(String deepModel) {
}

/**
* Abstract class for initializing specific deep model parameters.
* Return the length of the shared buffer for the specific deep model.
* Initialize specific deep model parameters and return the length of the shared buffer for the specific deep model.
*/
public abstract int init();

/**
* Abstract class for writing the fit data to the shared buffer.
* Write the fit data to the shared buffer.
*/
public abstract void writeFitData();

/**
* Abstract class for writing the predict data to the shared buffer.
* Write the predict data to the shared buffer.
*/
public abstract void writePredictData();

/**
* Abstract class for reading the predict data from the shared buffer.
* Read the predict data from the shared buffer.
*/
public abstract float readPredictData();

/**
* Abstract class for writing the eval data to the shared buffer.
* Write the eval data to the shared buffer.
*/
public abstract void writeEvalData();

Expand Down Expand Up @@ -235,7 +234,7 @@ public boolean isEpochComplete() {
JSONObject response = sendSocketMessage(message);

String resultString = getResultString(response);
log.debug("Epoch end deep model results for {} : {}", this, resultString);
log.debug("Is epoch complete deep model results for {} : {}", this, resultString);

return response.getBoolean("result");
}
Expand Down

0 comments on commit 7d0d604

Please sign in to comment.