code: def __init__(self):
      super().__init__()
      self.norm = nn.Parameter(torch.zeros(size=(1, 3, 1, 1)))
      self.block1 = DoubleConvBlock(
          input_channel=3, output_channel=64, layer_number=2
      )
      self.block2 = DoubleConvBlock(
          input_channel=64, output_channel=128, layer_number=2
      )
      self.block3 = DoubleConvBlock(
          input_channel=128, output_channel=256, layer_number=3
      )
      self.block4 = DoubleConvBlock(
          input_channel=256, output_channel=512, layer_number=3
      )
      self.block5 = DoubleConvBlock(
          input_channel=512, output_channel=512, layer_number=3
      )
  
file_path: carefree-learn/cflearn/api/cv/third_party/hed.py
imports: import os
  import torch
  import numpy
  import torch.nn
  from ....parameters import OPT
label_desc: Use image node_id 1 to create a new ControlNetHED_Apache2 object from inherited base classes: nn with example: obj = ControlNetHED_Apache2()