code: def __init__(
      self,
      botorch_synthetic_function: botorch_synthetic.SyntheticTestFunction,
  ) -> None:
      self._botorch_function = botorch_synthetic_function
      # pyre-fixme[4]: Attribute must be annotated.
      self._required_dimensionality = self._botorch_function.dim
      # pyre-fixme[4]: Attribute must be annotated.
      self._domain = self._botorch_function._bounds
      # pyre-fixme[4]: Attribute must be annotated.
      self._fmin = self._botorch_function._optimal_value
  
imports: from abc import ABC, abstractmethod
  from typing import Any, Callable, List, Optional, Tuple, Union
  import numpy
  import torch
  from ax.utils.common.docutils import copy_doc
  from ax.utils.common.typeutils import checked_cast, not_none
  from botorch.test_functions import synthetic
label_desc: Use image node_id 1 to create a new FromBotorch object from inherited base classes: SyntheticFunction with example: obj = FromBotorch(botorch_synthetic_function)