I have a ragged tensor:
tf.ragged.constant([[[17712], [16753], [11850], [13028], [10155], [15734, 15938], [126], [10135], [17665]]], dtype=tf.int32)
I would like to set the value of elements in rows with a length greater than 1 to a particular value. For example:
tf.ragged.constant([[[17712], [16753], [11850], [13028], [10155], [15734, 0], [126], [10135], [17665]]], dtype=tf.int32)
How can I express such a transformation in Tensorflow?