setting up shared DenseNet_Params class for both the matlab and python APIs to share