Build a Custom ResNetV2 with the desired depth