public void scale ( int scale ) { parameterSize *= scale ; updaterStateSize *= scale ; workingMemoryFixedInference *= scale ; workingMemoryVariableInference *= scale ; cacheModeMemFixed = scaleEntries ( cacheModeMemFixed , scale ) ; cacheModeMemVariablePerEx = scaleEntries ( cacheModeMemVariablePerEx , scale ) ; }
Multiply all memory usage by the specified scaling factor