jacinle.utils.value_scheduler#

Classes

ConstantScheduler

LinearScheduler

MonotonicSchedulerBase

ValueScheduler

Essentially, define y = f(x), where x is a discrete, bounded variable.

Class ConstantScheduler

class ConstantScheduler[source]#

Bases: ValueScheduler

__init__(value)[source]#
__new__(**kwargs)#
get(x)[source]#

Class LinearScheduler

class LinearScheduler[source]#

Bases: MonotonicSchedulerBase

__init__(begin, begin_value, end, end_value)#
__new__(**kwargs)#
get(x)[source]#

Class MonotonicSchedulerBase

class MonotonicSchedulerBase[source]#

Bases: ValueScheduler

__init__(begin, begin_value, end, end_value)[source]#
__new__(**kwargs)#
get(x)[source]#

Class ValueScheduler

class ValueScheduler[source]#

Bases: object

Essentially, define y = f(x), where x is a discrete, bounded variable.

__init__()#
__new__(**kwargs)#
get(x)[source]#