code: def put(self, value):
      if value.shape[0] != self.batch_size:
          raise ValueError(
              f"TextIteratorStreamerBatch batch size is set to {self.batch_size} but got input tensor of shape {value.shape}"
          )
  
      for index in range(self.batch_size):
          self.streamers[index].put(value[index : index + 1])
  
file_path: serve/ts/handler_utils/hf_batch_streamer.py
imports: from typing import Optional
  from transformers import AutoTokenizer
  from transformers.generation.streamers import BaseStreamer, TextIteratorStreamer
label_desc: Use image node_id 2 for calling the TextIteratorStreamerBatch obj's underlying member method code with example usage: obj.put(value) without return types