add linear and cuda-convnet