class_docstr: Represents a full axis aligned unit basis.
class_docstr_tok: ["Represents","a","full","axis","aligned","unit","basis","."]
code: def _to_dense(self):
      size = tensorshape_util.num_elements(self._event_shape)
      result = tf.eye(size, dtype=self._dtype)
      return tf.reshape(
          result, ps.concat([[size], self._event_shape], axis=0)
      )
  
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.internal import distribution_util
  from tensorflow_probability.python.internal import nest_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow_probability.python.internal import tensorshape_util
label_desc: Use image node_id 2 for calling the FullUnitBasis obj's underlying member method code with example usage: obj._to_dense() and returns: tf