code: def __init__(self):
      super(MyNet, self).__init__()
      self.conv1 = nn.Conv2D(
          in_channels=1,
          out_channels=20,
          kernel_size=5,
          stride=1,
          padding=2,
      )
      self.max_pool1 = nn.MaxPool2D(kernel_size=2, stride=2)
      self.conv2 = nn.Conv2D(
          in_channels=20,
          out_channels=20,
          kernel_size=5,
          stride=1,
          padding=2,
      )
      self.max_pool2 = nn.MaxPool2D(kernel_size=2, stride=2)
      self.fc = nn.Linear(in_features=980, out_features=10)
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from visualdl import LogWriter
label_desc: Use image node_id 1 to create a new MyNet object from inherited base classes: nn with example: obj = MyNet()