code: def get_sentence_token_lengths(batch, idx="tag_ids"):
      return [len(row[idx]) for row in batch]
  
imports: import math
  import random
  import sys
  import numpy
  import tensorflow
  from .sentence_grouper import SentenceGrouper
  from ..tf2contrib import *
label_desc: Use image node_id 13 for calling the NerModel obj's underlying member method code with example usage: obj.get_sentence_token_lengths(batch, idx) and returns: unknown