class_docstr: Represents a tensor of dates.
class_docstr_tok: ["Represents","a","tensor","of","dates","."]
code: def __repr__(self):
      output = "DateTensor: shape={}".format(self.shape)
      if tf.executing_eagerly():
          contents_np = np.stack(
              (
                  self._years.numpy(),
                  self._months.numpy(),
                  self._days.numpy(),
              ),
              axis=-1,
          )
          return output + ", contents={}".format(repr(contents_np))
      return output
  
imports: import collections.abc
  import datetime
  import numpy
  import tensorflow.compat.v2
  from tf_quant_finance.datetime import constants
  from tf_quant_finance.datetime import date_utils
  from tf_quant_finance.datetime import periods
  from tf_quant_finance.datetime import tensor_wrapper
label_desc: Use image node_id 23 for calling the DateTensor obj's underlying member method code with example usage: obj.__repr__() and returns: output, unknown