class_docstr: Tests for methods in piecewise module.
class_docstr_tok: ["Tests","for","methods","in","piecewise","module","."]
docstr: Tests find_interval_index outputs the correct type.
docstr_tok: ["Tests","find_interval_index","outputs","the","correct","type","."]
code: def test_find_interval_index_correct_dtype(self):
      """Tests find_interval_index outputs the correct type."""
      result = self.evaluate(
          piecewise.find_interval_index([1.0], [0.0, 1.0])
      )
      self.assertIsInstance(result[0], np.int32)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 1 for calling the Piecewise obj's underlying member method code with example usage: obj.test_find_interval_index_correct_dtype() without return types