class_docstr: Base class for defining arms.
  
  Randomization in experiments assigns units to a given arm. Thus, the arm
  encapsulates the parametrization needed by the unit.
docstr: Inits Arm.
  
  Args:
      parameters: Mapping from parameter names to values.
      name: Defaults to None; will be set when arm is attached to a trial
docstr_tok: ["Inits","Arm",".","Args",":","parameters",":","Mapping","from","parameter","names","to","values",".","name",":","Defaults","to","None",";","will","be","set","when","arm","is","attached","to","a","trial"]
code: def __init__(
      self, parameters: TParameterization, name: Optional[str] = None
  ) -> None:
      """Inits Arm.
  
      Args:
          parameters: Mapping from parameter names to values.
          name: Defaults to None; will be set when arm is attached to a trial
      """
      self._parameters: TParameterization = (
          _numpy_types_to_python_types(parameters)
      )
      self._name = name
  
imports: import hashlib
  import json
  from typing import Optional
  from ax.core.types import TParameterization
  from ax.utils.common.base import SortableBase
  from ax.utils.common.equality import equality_typechecker
  from ax.utils.common.typeutils import numpy_type_to_python_type
label_desc: Use image node_id 1 to create a new Arm object from inherited base classes: SortableBase with example: obj = Arm(parameters, name)