class_docstr: Basis parameterized by a dense tensor.
class_docstr_tok: ["Basis","parameterized","by","a","dense","tensor","."]
code: def __init__(self, basis_tensor):
      self.basis_tensor = tensor_util.convert_nonref_to_tensor(
          basis_tensor, name="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 1 to create a new DenseBasis object from inherited base classes: Basis with example: obj = DenseBasis(basis_tensor)