class_docstr: A Schedule where the value remains constant over time.
docstr: Initializes a ConstantSchedule instance.
  
  Args:
      value: The constant value to return, independently of time.
      framework: The framework descriptor string, e.g. "tf",
          "torch", or None.
docstr_tok: ["Initializes","a","ConstantSchedule","instance",".","Args",":","value",":","The","constant","value","to","return",",","independently","of","time",".","framework",":","The","framework","descriptor","string",",","e.g",".","``","tf","''",",","``","torch","''",",","or","None","."]
code: def __init__(self, value: float, framework: Optional[str] = None):
      """Initializes a ConstantSchedule instance.
  
      Args:
          value: The constant value to return, independently of time.
          framework: The framework descriptor string, e.g. "tf",
              "torch", or None.
      """
      super().__init__(framework=framework)
      self._v = value
  
file_path: ray/rllib/utils/schedules/constant_schedule.py
imports: from typing import Optional
  from ray.rllib.utils.annotations import override, PublicAPI
  from ray.rllib.utils.framework import try_import_tf
  from ray.rllib.utils.schedules.schedule import Schedule
  from ray.rllib.utils.typing import TensorType
label_desc: Use image node_id 1 to create a new ConstantSchedule object from inherited base classes: Schedule with example: obj = ConstantSchedule(value, framework)