code: def input_size(
      texts: Optional[List[str]] = None,
      multi_texts: Optional[List[List[str]]] = None,
      tokens: Optional[List[List[str]]] = None,
  ) -> int:
      texts_: List[str] = []
      multi_texts_: List[List[str]] = []
      tokens_: List[List[str]] = []
  
      if texts is not None:
          texts_ = texts
      if multi_texts is not None:
          multi_texts_ = multi_texts
      if tokens is not None:
          tokens_ = tokens
  
      input_len = max([len(texts_), len(multi_texts_), len(tokens_)])
      return input_len
  
imports: from typing import Any, Dict, List, Optional, Tuple
  import torch
  from pytext.torchscript.tensorizer.tensorizer import ScriptTensorizer
label_desc: Use image node_id 2 for calling a global function with example usage: input_size(texts, multi_texts, tokens) and returns: input_len