code: def testFloat(self):
      op = math_ops._bucketize(
          constant_op.constant(
              [-5.0, 0.0, 2.0, 3.0, 5.0, 8.0, 10.0, 11.0, 12.0]
          ),
          boundaries=[0.0, 3.0, 8.0, 11.0],
      )
      expected_out = [0, 1, 1, 2, 2, 3, 3, 4, 4]
      with self.session():
          self.assertAllEqual(expected_out, self.evaluate(op))
  
file_path: tensorflow/tensorflow/python/kernel_tests/math_ops/bucketize_op_test.py
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the BucketizationOpTest obj's underlying member method code with example usage: obj.testFloat() without return types