code: def add_answer_info(self, sample_info, sample):
      sample_has_caption = "caption_str" in sample_info
      if sample_has_caption:
          sample_info["answers"] = [sample_info["caption_str"]]
  
      sample = super().add_answer_info(sample_info, sample)
  
      if sample_has_caption:
          sample.caption_str = object_to_byte_tensor(
              sample_info["caption_str"]
          )
          sample.ref_strs = object_to_byte_tensor(
              sample_info["reference_strs"]
          )
          sample.pop("answers")
  
      return sample
  
imports: from mmf.datasets.builders.textvqa.dataset import TextVQADataset
  from mmf.utils.distributed import object_to_byte_tensor
label_desc: Use image node_id 4 for calling the TextCapsDataset obj's underlying member method code with example usage: obj.add_answer_info(sample_info, sample) and returns: sample