code: def testBucketsWithInterpolationUnknownShapeBoundary(self):
      with tf.compat.v1.Graph().as_default():
          with self.test_session() as sess:
              x = tf.constant([0, 1, 5, 12], dtype=tf.float32)
              # The shape used to generate the boundaries is random, and therefore
              # the size of the boundaries tensor is not known.
              num_boundaries = tf.random.uniform(
                  [1], 1, 2, dtype=tf.int64
              )[0]
              boundaries = tf.random.uniform([1, num_boundaries], 0, 10)
              # We don't assert anything about the outcome because we're intentionally
              # using randomized boundaries, but we ensure the operations succeed.
              _ = sess.run(
                  mappers.apply_buckets_with_interpolation(
                      x, boundaries
                  )
              )
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 41 for calling the MappersTest obj's underlying member method code with example usage: obj.testBucketsWithInterpolationUnknownShapeBoundary() without return types