code: def forward(self, x: Tensor) -> list[Tensor]:
      x = self.conv1(x)
      res2 = self.res2(x)
      res3 = self.res3(res2)
      res4 = self.res4(res3)
      res5 = self.res5(res4)
      return [res3, res4, res5]
  
imports: from __future__ import annotations
  from torch import nn
  from kornia.contrib.models.common import ConvNormAct
  from kornia.core import Module, Tensor
  from kornia.core.check import KORNIA_CHECK
label_desc: Use image node_id 3 for calling the ResNetD obj's underlying member method code with example usage: obj.forward(x) and returns: list