code: def test_convert_to_date_tensor_tuples(self):
      inputs = [(2018, 5, 4), (2042, 11, 22), (1947, 8, 15)]
      date_tensor = dateslib.convert_to_date_tensor(inputs)
      y, m, d = zip(*inputs)
      self.assert_date_tensor_components(date_tensor, y, m, d, None)
  
imports: import datetime
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tf_quant_finance.datetime import test_data
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 1 for calling the DateTensorTest obj's underlying member method code with example usage: obj.test_convert_to_date_tensor_tuples() without return types