Package adams.ml.cntk.modelgenerator
Class BrainScriptHelper
- java.lang.Object
-
- adams.ml.cntk.modelgenerator.BrainScriptHelper
-
public class BrainScriptHelper extends Object
TODO: What class does.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description BrainScriptHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
addParam(String def, String params, boolean newLine)
Adds the parameters to the definition.static String
setOutDim(String def, int outDim)
Sets the output dimension for the layer.static String
setOutDim(String def, String outDim)
Sets the output dimension for the layer.
-
-
-
Method Detail
-
addParam
public static String addParam(String def, String params, boolean newLine)
Adds the parameters to the definition.- Parameters:
def
- the current definitionparams
- the parameters to inject at the endnewLine
- if new line, no comma is inserted- Returns:
- the updated definition
-
setOutDim
public static String setOutDim(String def, int outDim)
Sets the output dimension for the layer.- Parameters:
def
- the current layer definitionoutDim
- the output dimension- Returns:
- the updated definition
-
-