code: def _filter_max_length(example, max_length=256):
    
    return tf.logical_and(tf.size(example[0]) <= max_length,
                          tf.size(example[1]) <= max_length)
docs: Indicates whether the example's length is lower than the maximum length.