class_docstr: Subclass of TorchAgent that allows for encoding image features.
  
  Provides flags and utility methods.
class_docstr_tok: ["Subclass","of","TorchAgent","that","allows","for","encoding","image","features",".","Provides","flags","and","utility","methods","."]
docstr: Put this batch of images into the correct format for this agent.
  
  self._process_image_features() will likely be useful for this.
docstr_tok: ["Put","this","batch","of","images","into","the","correct","format","for","this","agent",".","self._process_image_features","(",")","will","likely","be","useful","for","this","."]
code: def batchify_image_features(self, batch: Batch) -> Batch:
      """
      Put this batch of images into the correct format for this agent.
  
      self._process_image_features() will likely be useful for this.
      """
      raise NotImplementedError(
          "Subclasses must implement method for batching images!"
      )
  
file_path: ParlAI/parlai/core/torch_image_agent.py
imports: from typing import Optional
  from parlai.core.params import ParlaiParser
  from parlai.core.opt import Opt
  from abc import abstractmethod
  from typing import List
  import torch
  from parlai.core.message import Message
  from parlai.core.torch_agent import Batch, TorchAgent
label_desc: Use image node_id 4 for calling the TorchImageAgent obj's underlying member method code with example usage: obj.batchify_image_features(batch) without return types