[MINOR] [SYSTEMML-540] Reset the _cachedParams to avoid incorrect sizes Project: http://git-wip-us.apache.org/repos/asf/systemml/repo Commit: http://git-wip-us.apache.org/repos/asf/systemml/commit/259814e6 Tree: http://git-wip-us.apache.org/repos/asf/systemml/tree/259814e6 Diff: http://git-wip-us.apache.org/repos/asf/systemml/diff/259814e6
Branch: refs/heads/master Commit: 259814e6c00021c643c33867906d0c5d8dc4bc5e Parents: 3a7f38e Author: Niketan Pansare <[email protected]> Authored: Tue Oct 17 16:52:19 2017 -0700 Committer: Niketan Pansare <[email protected]> Committed: Tue Oct 17 16:52:19 2017 -0700 ---------------------------------------------------------------------- src/main/java/org/apache/sysml/hops/ConvolutionOp.java | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/systemml/blob/259814e6/src/main/java/org/apache/sysml/hops/ConvolutionOp.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/sysml/hops/ConvolutionOp.java b/src/main/java/org/apache/sysml/hops/ConvolutionOp.java index e4ed32b..50a7ca3 100644 --- a/src/main/java/org/apache/sysml/hops/ConvolutionOp.java +++ b/src/main/java/org/apache/sysml/hops/ConvolutionOp.java @@ -639,6 +639,9 @@ public class ConvolutionOp extends Hop implements MultiThreadedHop return; } + // Reset the _cachedParams to avoid incorrect sizes + _cachedParams = new ConvolutionParameters(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, _maxNumThreads); + switch(op) { case MAX_POOLING:
