CNTK icon indicating copy to clipboard operation
CNTK copied to clipboard

Documentation of ConvolutionalLayer

Open L-Ramos opened this issue 9 years ago • 2 comments

I'm using the sample code from: https://github.com/Microsoft/CNTK/blob/master/Examples/Image/Classification/ConvNet/BrainScript/ConvNet_CIFAR10.cntk

Here we have a ConvolutionalLayer function that I just can't find any documentation from. I'm used to working with nld files and I had a Macros.nld where I was able to define the functions like this:

ConvBNLayerW(W, inp, outMap, kW, kH, hStride, vStride, bValue, scValue, bnTimeConst) = [ b = LearnableParameter(outMap, 1, init=fixedValue, value=bValue) sc = LearnableParameter(outMap, 1, init=fixedValue, value=scValue) m = LearnableParameter(outMap, 1, init=fixedValue, value=0, learningRateMultiplier=0) isd = LearnableParameter(outMap, 1, init=fixedValue, value=0, learningRateMultiplier=0)
c = Convolution(W, inp, kW, kH, outMap, hStride, vStride, zeroPadding=true, imageLayout=$imageLayout$) y = BatchNormalization(c, sc, b, m, isd, eval=false, spatial=true, normalizationTimeConstant=bnTimeConst, imageLayout=$imageLayout$) ]

I believe this ConvolutionalLayer is a higher level function? I'd like to know where can I find the parameters for it. Are those the same from https://docs.microsoft.com/en-us/cognitive-toolkit/Convolution

L-Ramos avatar Aug 10 '17 13:08 L-Ramos

If you are using BrainScript, the reference is here: https://docs.microsoft.com/en-us/cognitive-toolkit/Using-CNTK-with-BrainScript

In particular, ConvolutionLayer: https://docs.microsoft.com/en-us/cognitive-toolkit/brainscript-layers-reference#convolutionallayer

cha-zhang avatar Aug 10 '17 18:08 cha-zhang

Perfect, Thanks

L-Ramos avatar Aug 11 '17 07:08 L-Ramos