class_docstr: Represents the basis of a `TangentSpace`.
class_docstr_tok: ["Represents","the","basis","of","a","`","TangentSpace","`","."]
docstr: Returns densified version of this Basis as a matrix.
  
  Args:
    event_ndims: Python `int` representing the number of right most dimensions
      that are the dimensions of the tangent space.
  Returns:
    Tensor of shape `[B1, ..., Bn, N, F], where
    `N` is the number of bases elements, `Bi` are possible
    batch dimensions, and `F` are the last `event_ndims` dimensions
    reshaped as one dimension.
docstr_tok: ["Returns","densified","version","of","this","Basis","as","a","matrix",".","Args",":","event_ndims",":","Python","`","int","`","representing","the","number","of","right","most","dimensions","that","are","the","dimensions","of","the","tangent","space",".","Returns",":","Tensor","of","shape","`","[","B1",",","...",",","Bn",",","N",",","F","]",",","where","`","N","`","is","the","number","of","bases","elements",",","`","Bi","`","are","possible","batch","dimensions",",","and","`","F","`","are","the","last","`","event_ndims","`","dimensions","reshaped","as","one","dimension","."]
code: def to_dense_matrix(self, event_ndims):
      """Returns densified version of this Basis as a matrix.
  
      Args:
        event_ndims: Python `int` representing the number of right most dimensions
          that are the dimensions of the tangent space.
      Returns:
        Tensor of shape `[B1, ..., Bn, N, F], where
        `N` is the number of bases elements, `Bi` are possible
        batch dimensions, and `F` are the last `event_ndims` dimensions
        reshaped as one dimension.
      """
      return self._to_dense_matrix(event_ndims)
  
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 Basis obj's underlying member method code with example usage: obj.to_dense_matrix(event_ndims) and returns: self