class_docstr: Type spec for `JointDistributionNamed`.
class_docstr_tok: ["Type","spec","for","`","JointDistributionNamed","`","."]
code: def _from_components(self, components):
      if self._callable_params:
          model = _unflatten_model(
              components, self._structure_with_callables
          )
      else:
          model = components["model"]
      return self.value_type(model, **self._non_tensor_params)
  
imports: import collections
  import functools
  import tensorflow.compat.v2
  from tensorflow_probability.python.distributions import joint_distribution_sequential
  from tensorflow_probability.python.internal import auto_composite_tensor
  from tensorflow_probability.python.internal import distribution_util
label_desc: Use image node_id 3 for calling the _JointDistributionNamedSpec obj's underlying member method code with example usage: obj._from_components(components) and returns: self