code: def _sequence_mask(
      lengths, maxlen=None, dtype=np.bool_, name=None
  ):  # pylint: disable=unused-argument
      lengths = np.array(lengths, dtype=np.int32)
      if maxlen is None:
          maxlen = np.max(lengths).astype(lengths.dtype)
      return (np.arange(maxlen) < lengths[..., np.newaxis]).astype(
          dtype
      )
  
imports: import functools
  import numpy
  import numpy
  from tensorflow_probability.python.internal.backend.numpy import _utils
  from tensorflow_probability.python.internal.backend.numpy import ops
  from tensorflow_probability.python.internal.backend.numpy.linalg_impl import einsum
  from tensorflow_probability.python.internal.backend.numpy.linalg_impl import norm
  from tensorflow_probability.python.internal.backend.numpy.linalg_impl import tensordot
label_desc: Use image node_id 13 for calling a global function with example usage: _sequence_mask(lengths, maxlen, dtype, name) and returns: unknown