Customize Densenet model

Hi
Looking for some help in customizing the densenet model.
Objective = change top layer with input of 3 to 4
Add classification layer output with classes=as desired.