class_docstr: Represents a tensor of time periods.
class_docstr_tok: ["Represents","a","tensor","of","time","periods","."]
code: def __repr__(self):
      output = "PeriodTensor: shape={}".format(self.shape)
      if tf.executing_eagerly():
          return output + ", quantities={}".format(
              repr(self._quantity.numpy())
          )
      return output
  
imports: import tensorflow.compat.v2
  from tf_quant_finance.datetime import constants
  from tf_quant_finance.datetime import tensor_wrapper
label_desc: Use image node_id 11 for calling the PeriodTensor obj's underlying member method code with example usage: obj.__repr__() and returns: output, unknown