code: def forward(self, inputs):
      if self.downsample_factor > 1:
          outputs = self.layers(
              self.donwsample_layer(inputs)
          ) + self.donwsample_layer(self.residual(inputs))
      else:
          outputs = self.layers(inputs) + self.residual(inputs)
      return outputs
  
imports: import numpy
  from torch import nn
label_desc: Use image node_id 2 for calling the DBlock obj's underlying member method code with example usage: obj.forward(inputs) and returns: outputs