code: def test_1d_values_int32_output(self, dtype):
      # Bins will be:
      #   (-inf, 1), [1, 2), [2, 3), [3, 4), [4, inf)
      value_range = np.array([0.0, 5.0]).astype(dtype)
      values = np.array([-1.0, 0.0, 1.5, 2.0, 5.0, 15]).astype(dtype)
      expected_bins = [0, 0, 1, 2, 4, 4]
      with self.cached_session():
          bins = histogram_ops.histogram_fixed_width_bins(
              values, value_range, nbins=5
          )
          self.assertEqual(dtypes.int32, bins.dtype)
          self.assertAllClose(expected_bins, self.evaluate(bins))
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import test_util
  from tensorflow.python.framework import constant_op
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import histogram_ops
  from tensorflow.python.platform import test
label_desc: Use image node_id 2 for calling the BinValuesFixedWidth obj's underlying member method code with example usage: obj.test_1d_values_int32_output(dtype) without return types