code: def test_tensor_wrapper_ops(self):
      dates1 = dateslib.dates_from_tuples(
          [(2019, 3, 25), (2020, 1, 2), (2019, 1, 2)]
      )
      dates2 = dateslib.dates_from_tuples(
          [(2019, 4, 25), (2020, 5, 2), (2018, 1, 2)]
      )
      dates = dateslib.DateTensor.stack((dates1, dates2), axis=-1)
      self.assertEqual((3, 2), dates.shape)
      self.assertEqual((2,), dates[0].shape)
      self.assertEqual((2, 2), dates[1:].shape)
      self.assertEqual((2, 1), dates[1:, :-1].shape)
      self.assertEqual((3, 1, 2), dates.expand_dims(axis=1).shape)
      self.assertEqual((3, 3, 2), dates.broadcast_to((3, 3, 2)).shape)
  
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 24 for calling the DateTensorTest obj's underlying member method code with example usage: obj.test_tensor_wrapper_ops() without return types