class_docstr: Abstract base class for botorch posteriors.
  
  :meta private:
class_docstr_tok: ["Abstract","base","class","for","botorch","posteriors",".",":","meta","private",":"]
docstr: The event shape (i.e. the shape of a single sample).
docstr_tok: ["The","event","shape","(","i.e",".","the","shape","of","a","single","sample",")","."]
code: def event_shape(self) -> torch.Size:
      r"""The event shape (i.e. the shape of a single sample)."""
      warnings.warn(
          "The `event_shape` attribute of `Posterior` is deprecated. It will default "
          "to the `event_shape` of the underlying distribution in a future version. "
          "Use `_extended_shape` instead.",
          DeprecationWarning,
      )
      return self._extended_shape()
  
file_path: botorch/botorch/posteriors/posterior.py
imports: from __future__ import annotations
  import warnings
  from abc import ABC, abstractmethod, abstractproperty
  from typing import Optional, Tuple
  import torch
  from torch import Tensor
label_desc: Use image node_id 4 for calling the Posterior obj's underlying member method code with example usage: obj.event_shape() and returns: self