code: def depth(self):
      depth = 0
      for miniblock in self.miniblocks:
          depth += miniblock.depth
      return depth
  
imports: import tensorflow
  from .basic_model import BasicModel
  from .layers import ConvLayer, FCLayer, PoolLayer, get_magnifier, apply_noise
  from ..data_providers.base_provider import DataProvider
  from .layer_cascade import LayerCascade
  from .layer_multi_branch import LayerMultiBranch
  import numpy
label_desc: Use image node_id 4 for calling the DenseBlock obj's underlying member method code with example usage: obj.depth() and returns: depth