code: def pad_input_chunk(samples, n_inp=1, **kwargs):
      "Pad `samples` by adding padding by chunks of size `seq_len`"
      max_len = max([len(s[n]) for s in samples for n in range(n_inp)])
      padeds = [
          [
              pad_chunk(s[n], pad_len=max_len, **kwargs)
              for n in range(n_inp)
          ]
          for s in samples
      ]
      return [(*p, *s[n_inp:]) for p, s in zip(padeds, samples)]
  
imports: from __future__ import annotations
  from ..torch_basics import *
  from ..data.all import *
  from .core import *
label_desc: Use image node_id 9 for calling a global function with example usage: pad_input_chunk(samples, n_inp) and returns: unknown