code: def remove_DwsConvBlock(cur_layers):
      all_layers = []
      for layer in cur_layers:
          if isinstance(layer, DwsConvBlock):
              # print("helloooo: ", layer)
              for ch in layer.children():
                  all_layers.append(ch)
          else:
              all_layers.append(layer)
      return all_layers
  
file_path: avalanche/avalanche/models/mobilenetv1.py
imports: from typing import List
  import torch.nn
  import torch
  from pytorchcv.models.mobilenet import mobilenet_w1
label_desc: Use image node_id 2 for calling a global function with example usage: remove_DwsConvBlock(cur_layers) and returns: all_layers