Skip to content

Commit 1aca039

Browse files
committed
[MINOR] Log out metadata size from transformencode
1 parent 4e6b5d3 commit 1aca039

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/org/apache/sysds/runtime/instructions/cp/MultiReturnParameterizedBuiltinCPInstruction.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ public void processInstruction(ExecutionContext ec) {
105105
ec.releaseFrameInput(input1.getName());
106106
ec.setMatrixOutput(getOutput(0).getName(), data);
107107
ec.setFrameOutput(getOutput(1).getName(), meta);
108+
109+
if(LOG.isDebugEnabled())
110+
// debug the size of the output metadata.
111+
LOG.debug("Memory size of metadata: " + meta.getInMemorySize());
108112
}
109113

110114
@Override

0 commit comments

Comments
 (0)