code: def testApplyBucketsWithInterpolation(
      self,
      x,
      boundaries,
      expected_results,
      input_dtype=tf.float32,
      boundaries_dtype=tf.float32,
  ):
      with tf.compat.v1.Graph().as_default():
          with self.test_session() as sess:
              x = tf.constant(x, dtype=input_dtype)
              boundaries = tf.constant(
                  [boundaries], dtype=boundaries_dtype
              )
              output = mappers.apply_buckets_with_interpolation(
                  x, boundaries
              )
              self.assertAllClose(
                  sess.run(output), expected_results, 1e-6
              )
  
imports: import numpy
  import tensorflow
  from tensorflow_transform import mappers
  from tensorflow_transform import test_case
label_desc: Use image node_id 36 for calling the MappersTest obj's underlying member method code with example usage: obj.testApplyBucketsWithInterpolation(x, boundaries, expected_results, input_dtype, boundaries_dtype) without return types