Create convnet.....c++