class_docstr: The following is a list of string that can be specified to ``use_up_to`` option in ``__call__`` method;
  
  * ``'classifier'`` (default): The output of the final affine layer for classification.
  * ``'pool'``: The output of the final global average pooling.
  * ``'lastconv'``: The output from last denseblock.
  * ``'lastconv+relu'``: Network up to ``'lastconv'`` followed by ReLU activation.
  
  References:
      * `Huang et al., Densely Connected Convolutional Networks.
        <https://arxiv.org/abs/1608.06993>`_
code: def __init__(self):
      # Load nnp
      self._load_nnp(
          "DenseNet-161.nnp", "DenseNet-161/DenseNet-161.nnp"
      )
  
file_path: nnabla/python/src/nnabla/models/imagenet/densenet.py
imports: from __future__ import absolute_import
  from nnabla.utils.nnp_graph import NnpNetworkPass
  from .base import ImageNetBase
label_desc: Use image node_id 1 to create a new DenseNet object from inherited base classes: ImageNetBase with example: obj = DenseNet()