class_docstr: Tests all time-step dependent Schedule classes.
code: def _get_framework_tensors(ts, fw):
      if fw == "torch":
          ts = [torch.tensor(t, dtype=torch.int32) for t in ts]
      elif fw is not None and "tf" in fw:
          ts = [tf.constant(t, dtype=tf.int32) for t in ts]
      return ts
  
file_path: ray/python/ray/rllib/utils/schedules/tests/test_schedules.py
imports: import unittest
  from ray.rllib.utils.schedules import ConstantSchedule, LinearSchedule, ExponentialSchedule, PiecewiseSchedule
  from ray.rllib.utils import check, framework_iterator, try_import_tf, try_import_torch
  from ray.rllib.utils.from_config import from_config
label_desc: Use image node_id 6 for calling the TestSchedules obj's underlying member method code with example usage: obj._get_framework_tensors(ts, fw) and returns: ts