tomodrgn.beta_schedule.LinearSchedule#

class LinearSchedule(start_y: float, end_y: float, start_x: float, end_x: float)[source]#

Bases: object

Return a linearly scaling beta value as a function of iteration.

Methods

__call__(iteration: int) float[source]#

Call self as a function.