class_docstr: Abstract base class for ensemble models.
  
  :meta private:
class_docstr_tok: ["Abstract","base","class","for","ensemble","models",".",":","meta","private",":"]
docstr: The number of outputs of the model.
docstr_tok: ["The","number","of","outputs","of","the","model","."]
code: def num_outputs(self) -> int:
      r"""The number of outputs of the model."""
      return self._num_outputs
  
file_path: botorch/botorch/models/ensemble.py
imports: from __future__ import annotations
  from abc import ABC, abstractmethod
  from typing import Any, List, Optional
  from botorch.acquisition.objective import PosteriorTransform
  from botorch.exceptions.errors import UnsupportedError
  from botorch.models.model import Model
  from botorch.posteriors.ensemble import EnsemblePosterior
  from torch import Tensor
label_desc: Use image node_id 3 for calling the EnsembleModel obj's underlying member method code with example usage: obj.num_outputs() and returns: self