class_docstr: Deterministic posterior.
  
  [DEPRECATED] Use `EnsemblePosterior` instead.
class_docstr_tok: ["Deterministic","posterior",".","[","DEPRECATED","]","Use","`","EnsemblePosterior","`","instead","."]
docstr: The variance of the posterior as a `(b) x n x m`-dim Tensor.
  
  As this is a deterministic posterior, this is a tensor of zeros.
docstr_tok: ["The","variance","of","the","posterior","as","a","`","(","b",")","x","n","x","m","`","-dim","Tensor",".","As","this","is","a","deterministic","posterior",",","this","is","a","tensor","of","zeros","."]
code: def variance(self) -> Tensor:
      r"""The variance of the posterior as a `(b) x n x m`-dim Tensor.
  
      As this is a deterministic posterior, this is a tensor of zeros.
      """
      return torch.zeros_like(self.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 6 for calling the DeterministicPosterior obj's underlying member method code with example usage: obj.variance() and returns: torch