def _condition_l_moments_dense(
    current_index, unused_l1_sum, unused_l2_sum, unused_l3_sum, unused_l4_sum,
    unused_l1_factors, unused_l2_factors, unused_l3_factors, unused_l4_factors,
    x_rank_2):
  """Condition for the loop that computes L-moments for a `Tensor`."""
  return tf.less(current_index, tf.shape(x_rank_2)[1])
Condition for the loop that computes L-moments for a `Tensor`.
tensorflow_transform/tf_utils.py