public string getParamsJn() { string ss = "{\"kernel\":\"" + kernel.ToString() + "\"," + "\"fWidth\":\"" + fWidth.ToString() + "\"," + "\"fHeight\":\"" + fHeight.ToString() + "\"," + "\"padding\":\"" + padding.ToString() + "\"," + "\"stride\":\"" + stride.ToString() + "\"," + "\"dilate\":\"" + dilate.ToString() + "\"," + "\"active\":\"" + act.str() + "\"," + "\"weightInit\":\"" + wini.str() + "\"," + "\"batchNorm\":\"" + bnorm.str() + "\"," + "\"batchNormLr\":\"" + batchNormLr.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"optimizer\":\"" + opt.str() + "\"," + "\"decayMomentDW\":\"" + decayMomentDW.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"decayMomentWGr\":\"" + decayMomentWGr.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"lmbRegular\":\"" + lmbRegular.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"dropOut\":\"" + dropOut.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"mode\":\"" + mode.str() + "\"," + "\"gpuDeviceId\":\"" + gpuDeviceId.ToString() + "\"," + "\"freeze\":\"" + (freeze ? "1" : "0") + "\"," + "\"gpuClearMem\":\"" + (gpuClearMem ? "1" : "0") + "\"" + "}"; return(ss); }
public string getParamsJn() { string ss = "{\"units\":\"" + units.ToString() + "\"," + "\"active\":\"" + act.str() + "\"," + "\"weightInit\":\"" + wini.str() + "\"," + "\"batchNorm\":\"" + bnorm.str() + "\"," + "\"batchNormLr\":\"" + batchNormLr.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"optimizer\":\"" + opt.str() + "\"," + "\"decayMomentDW\":\"" + decayMomentDW.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"decayMomentWGr\":\"" + decayMomentWGr.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"lmbRegular\":\"" + lmbRegular.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"dropOut\":\"" + dropOut.ToString("0.000", System.Globalization.CultureInfo.InvariantCulture) + "\"," + "\"gpuDeviceId\":\"" + gpuDeviceId.ToString() + "\"," + "\"freeze\":\"" + (freeze ? "1" : "0") + "\"," + "\"useBias\":\"" + (useBias ? "1" : "0") + "\"" + "}"; return(ss); }
public string getParamsJn() { string ss = "{\"kernel\":\"" + kernel.ToString() + "\"," + "\"active\":\"" + act.str() + "\"," + "\"weightInit\":\"" + wini.str() + "\"," + "\"batchNorm\":\"" + bnorm.str() + "\"," + "\"batchNormLr\":\"" + batchNormLr.ToString() + "\"," + "\"optimizer\":\"" + opt.str() + "\"," + "\"decayMomentDW\":\"" + decayMomentDW.ToString() + "\"," + "\"decayMomentWGr\":\"" + decayMomentWGr.ToString() + "\"," + "\"lmbRegular\":\"" + lmbRegular.ToString() + "\"," + "\"dropOut\":\"" + dropOut.ToString() + "\"," + "\"mode\":\"" + mode.str() + "\"," + "\"gpuDeviceId\":\"" + gpuDeviceId.ToString() + "\"," + "\"freeze\":\"" + (freeze ? "1" : "0") + "\"," + "\"gpuClearMem\":\"" + (gpuClearMem ? "1" : "0") + "\"" + "}"; return(ss); }
public string getParamsJn() { string ss = "{\"active\":\"" + act.str() + "\"}"; return(ss); }