class_docstr: Deterministic posterior.
  
  [DEPRECATED] Use `EnsemblePosterior` instead.
class_docstr_tok: ["Deterministic","posterior",".","[","DEPRECATED","]","Use","`","EnsemblePosterior","`","instead","."]
docstr: Returns the shape of the samples produced by the posterior with
  the given `sample_shape`.
docstr_tok: ["Returns","the","shape","of","the","samples","produced","by","the","posterior","with","the","given","`","sample_shape","`","."]
code: def _extended_shape(
      self, sample_shape: torch.Size = torch.Size()  # noqa: B008
  ) -> torch.Size:
      r"""Returns the shape of the samples produced by the posterior with
      the given `sample_shape`.
      """
      return sample_shape + self.values.shape
  
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 4 for calling the DeterministicPosterior obj's underlying member method code with example usage: obj._extended_shape(sample_shape) and returns: unknown