docstr: Override ComboFidAgent._encoder_input to pass through
  skip_director_reranking_vec.
docstr_tok: ["Override","ComboFidAgent._encoder_input","to","pass","through","skip_director_reranking_vec","."]
code: def _encoder_input(
      self, batch: Batch
  ) -> Tuple[
      torch.LongTensor,
      torch.LongTensor,
      torch.LongTensor,
      torch.LongTensor,
      torch.BoolTensor,
      Union[torch.BoolTensor, None],
  ]:
      """
      Override ComboFidAgent._encoder_input to pass through
      skip_director_reranking_vec.
      """
      return (
          batch.text_vec,
          batch.text_vec.ne(self.NULL_IDX).sum(1),
          batch.query_vec,
          batch.input_turn_cnt_vec,
          batch.skip_retrieval_vec,
          batch.skip_director_reranking_vec,
      )
  
imports: import torch
  import torch.nn.functional
  import copy
  from typing import Optional, List, Tuple, Any, Dict, Union
  from parlai.core.opt import Opt
  from parlai.core.params import ParlaiParser
  from parlai.core.torch_agent import Batch
  from parlai.core.message import Message
  from parlai.agents.rag.retrievers import Document
  from parlai.agents.fid.fid import SearchQueryFiDAgent, WizIntGoldDocRetrieverFiDAgent
  import parlai.utils.logging
  from projects.seeker.agents.seeker_modules import ComboFidModel
  from projects.seeker.agents.seeker import ComboFidAgent, SeekerAgent
  from projects.fits.agents.director_bb2 import DirectorFidAgent, DirectorFidModelMixin
label_desc: Use image node_id 3 for calling the DirectorComboFidAgent obj's underlying member method code with example usage: obj._encoder_input(batch) and returns: batch,  batch,  batch,  batch,  batch,  batch