code: def forward(self, input):
      output_features = []
  
      out = self.layer0(input)
      output_features.append(out)
  
      out = self.layer1(self.pool2(out))
      output_features.append(out)
  
      out = self.layer2(self.pool3(out))
      output_features.append(out)
  
      out = self.layer3(out)
      output_features.append(out)
  
      out = self.layer4(out)
      output_features.append(out)
  
      out = self.layer5(out)
      output_features.append(out)
  
      out = self.layer6(out)
      output_features.append(out)
  
      # Return only features that were requested
      return _take(output_features, self._layers)
  
imports: from typing import List
  from .common import EncoderModule, _take, make_n_channel_input
  from ..activations import ABN
  from ..backbone.wider_resnet import WiderResNet, WiderResNetA2
label_desc: Use image node_id 3 for calling the WiderResnetA2Encoder obj's underlying member method code with example usage: obj.forward(input) and returns: _take