Skip to content

Commit

Permalink
private to protected (#4281)
Browse files Browse the repository at this point in the history
  • Loading branch information
clavvis authored and Adam Gibson committed Nov 10, 2017
1 parent 7ff59b4 commit c831b62
Showing 1 changed file with 6 additions and 6 deletions.
Expand Up @@ -97,8 +97,8 @@ public class MultiLayerNetwork implements Serializable, Classifier, Layer, Neura
protected INDArray input, labels;

protected boolean initCalled = false;
private Collection<IterationListener> listeners = new ArrayList<>();
private Collection<TrainingListener> trainingListeners = new ArrayList<>();
protected Collection<IterationListener> listeners = new ArrayList<>();
protected Collection<TrainingListener> trainingListeners = new ArrayList<>();

protected NeuralNetConfiguration defaultConfiguration;
protected MultiLayerConfiguration layerWiseConfigurations;
Expand Down Expand Up @@ -1015,8 +1015,8 @@ public MultiLayerNetwork clone() {
}
return ret;
}

private boolean hasAFrozenLayer() {
protected boolean hasAFrozenLayer() {
for (int i = 0; i < layers.length - 1; i++) {
if (layers[i] instanceof FrozenLayer)
return true;
Expand Down Expand Up @@ -2953,8 +2953,8 @@ public Evaluation evaluate(DataSetIterator iterator, List<String> labelsList, in

return e;
}

private void update(Task task) {
protected void update(Task task) {
if (!initDone) {
initDone = true;
Heartbeat heartbeat = Heartbeat.getInstance();
Expand Down

0 comments on commit c831b62

Please sign in to comment.