class_docstr: Deterministic posterior.
  
  [DEPRECATED] Use `EnsemblePosterior` instead.
class_docstr_tok: ["Deterministic","posterior",".","[","DEPRECATED","]","Use","`","EnsemblePosterior","`","instead","."]
docstr: Args:
      values: Values of the samples produced by this posterior.
docstr_tok: ["Args",":","values",":","Values","of","the","samples","produced","by","this","posterior","."]
code: def __init__(self, values: Tensor) -> None:
      r"""
      Args:
          values: Values of the samples produced by this posterior.
      """
      warn(
          "`DeterministicPosterior` is marked for deprecation, consider using "
          "`EnsemblePosterior`.",
          DeprecationWarning,
      )
      self.values = values
  
file_path: botorch/botorch/posteriors/deterministic.py
imports: from __future__ import annotations
  from typing import Optional
  from warnings import warn
  import torch
  from botorch.posteriors.posterior import Posterior
  from torch import Tensor
label_desc: Use image node_id 1 to create a new DeterministicPosterior object from inherited base classes: Posterior with example: obj = DeterministicPosterior(values)