code: def forward(self, x):
      output_features = []
      for layer in self.encoder_layers:
          output = layer(x)
          output_features.append(output)
          x = output
  
      # Return only features that were requested
      return _take(output_features, self._layers)
  
imports: from .common import EncoderModule, _take, make_n_channel_input
  from ..backbone.inceptionv4 import inceptionv4
label_desc: Use image node_id 2 for calling the InceptionV4Encoder obj's underlying member method code with example usage: obj.forward(x) and returns: _take