how to add dropout nodes when using NDL rather than the simple network builder

Nov 24, 2015 at 2:31 AM
Hello, I want to add dropout nodes in the network. But in the CNTK book, the option addDropoutNodes is controlled by the SimpleNetworkBuilder block. If I use NDL, how to add dropout nodes? Just changing SBFF to SBFFD in the NDL config file seems do not work. Thanks!
Nov 24, 2015 at 11:42 PM
Hello,
Please take a look at the sample in ExampleSetups\Image\ImageNet\AlexNet folder, specifically AlexNet.ndl file. It contains the following:
h1_d = Dropout(h1)
h2 = DNNReLULayer(hiddenDim, hiddenDim, h1_d, fc2WScale, fc2BValue)
Does it help in your scenario?

Alexey
Marked as answer by MarkHillebrand on 12/9/2015 at 3:45 PM
Nov 25, 2015 at 1:59 PM
thank you very much! Now it worked.

Qing