def conv_params(fsize, nfm, strides=1, relu=True, batch_norm=True):
    return dict(fshape=(fsize, fsize, nfm),
                strides=strides,
                activation=(Rectlin() if relu else None),
                padding=(1 if fsize > 1 else 0),
                batch_norm=batch_norm,
                init=Kaiming(local=True))
dataset/ETHPy150Open NervanaSystems/neon/examples/i1k_msra.py/conv_params/original