code: def depth(self):
      depth = 0
      for layer in self.layers:
          if isinstance(layer, ConvLayer) or isinstance(layer, FCLayer):
              depth += 1
      return depth
  
file_path: auptimizer/src/aup/Proposer/eas/models/layer_cascade.py
imports: from .layers import ConvLayer, FCLayer, PoolLayer, get_layer_by_name
  import tensorflow
label_desc: Use image node_id 5 for calling the LayerCascade obj's underlying member method code with example usage: obj.depth() and returns: depth