TFP Version 0.16.0 TF Version 2.8.0 AttributeError: 'Mixture' object has no attribute '_prob' probs=model_p(X_test).log_prob(np.arange(0,20,1).reshape(20, 1)).numpy() probs = np.transpose(probs, [1, 0]) probs = np.exp(probs)