ray.rllib.utils.schedules.linear_schedule.LinearSchedule.value#

LinearSchedule.value(t: int | numpy.array | jnp.ndarray | tf.Tensor | torch.Tensor) Any#

Generates the value given a timestep (based on schedule’s logic).

Parameters:

t – The time step. This could be a tf.Tensor.

Returns:

The calculated value depending on the schedule and t.