class_docstr: A multi-tower multi-GPU predictor.
  It builds one predictor for each tower.
docstr: Returns:
      OnlinePredictor: the nth predictor on the nth tower.
docstr_tok: ["Returns",":","OnlinePredictor",":","the","nth","predictor","on","the","nth","tower","."]
code: def get_predictor(self, n):
      """
      Returns:
          OnlinePredictor: the nth predictor on the nth tower.
      """
      l = len(self.predictors)
      if n >= l:
          logger.warn(
              "n > #towers, will assign predictor to GPU by round-robin"
          )
      return [self.predictors[k % l] for k in range(n)]
  
file_path: tensorpack/tensorpack/predict/multigpu.py
imports: import tensorflow
  from ..input_source import PlaceholderInput
  from ..tfutils.tower import PredictTowerContext
  from ..utils import logger
  from .base import OnlinePredictor
label_desc: Use image node_id 3 for calling the MultiTowerOfflinePredictor obj's underlying member method code with example usage: obj.get_predictor(n) and returns: unknown