code: def from_tfp(
      posterior=None,
      *,
      var_names=None,
      model_fn=None,
      feed_dict=None,
      posterior_predictive_samples=100,
      posterior_predictive_size=1,
      observed=None,
      coords=None,
      dims=None
  ):
      
      return TfpConverter(
          posterior=posterior,
          var_names=var_names,
          model_fn=model_fn,
          feed_dict=feed_dict,
          posterior_predictive_samples=posterior_predictive_samples,
          posterior_predictive_size=posterior_predictive_size,
          observed=observed,
          coords=coords,
          dims=dims,
      ).to_inference_data()
docs: Convert tfp data into an InferenceData object.