Permalink
Browse files

#6276 Make MLN/CG.clearLayerStates() public

  • Loading branch information...
AlexDBlack committed Oct 3, 2018
1 parent 1abbd10 commit dc192d29257736995f7878f32576f206ef13eac0
@@ -4346,7 +4346,7 @@ public String memoryInfo(int minibatch, InputType... inputTypes){
/**
* This method just makes sure there's no state preserved within layers
*/
protected void clearLayersStates() {
public void clearLayersStates() {
for (Layer layer : layers) {
layer.clear();
layer.clearNoiseWeightParams();
@@ -3600,7 +3600,7 @@ public String memoryInfo(int minibatch, InputType inputType){
/**
* This method just makes sure there's no state preserved within layers
*/
protected void clearLayersStates() {
public void clearLayersStates() {
for (Layer layer : layers) {
layer.clear();
layer.clearNoiseWeightParams();

0 comments on commit dc192d2

Please sign in to comment.