pyprobound.base.Step

class Step(calls: list[Call], greedy: bool = False)

Bases: NamedTuple

A series of calls performed in a single step before re-optimizing.

calls

The calls that will be performed together before re-optimizing.

greedy

Whether to repeat the calls each time the loss improves.

__init__()

Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

calls

greedy

Non-Inherited Members

calls: list[Call]
greedy: bool