class_docstr: Basis parameterized by a dense tensor.
class_docstr_tok: ["Basis","parameterized","by","a","dense","tensor","."]
code: def _to_dense(self):
      return tf.convert_to_tensor(self.basis_tensor)
  
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 DenseBasis obj's underlying member method code with example usage: obj._to_dense() and returns: tf