◆ __init__()
def polygraphy.comparator.struct.RunResults.__init__ |
( |
|
self | ) |
|
Maps runner names to zero or more IterationResults.
Note: Technically, it is an List[Tuple[str, List[IterationResult]]], but includes
helpers that make it behave like an OrderedDict that can contain duplicates.
◆ items()
def polygraphy.comparator.struct.RunResults.items |
( |
|
self | ) |
|
Creates a generator that yields Tuple[str, List[IterationResult]] - runner names
and corresponding outputs.
◆ keys()
def polygraphy.comparator.struct.RunResults.keys |
( |
|
self | ) |
|
Creates a generator that yields runner names (str).
◆ values()
def polygraphy.comparator.struct.RunResults.values |
( |
|
self | ) |
|
Creates a generator that yields runner outputs (List[IterationResult]).
◆ update()
def polygraphy.comparator.struct.RunResults.update |
( |
|
self, |
|
|
|
other |
|
) |
| |
Updates the results stored in this instance.
Args:
other (Union[Dict[str, List[IterationResult]], RunResults]):
A dictionary or RunResults instance from which to update this one.
◆ __getitem__()
def polygraphy.comparator.struct.RunResults.__getitem__ |
( |
|
self, |
|
|
|
key |
|
) |
| |
◆ __setitem__()
def polygraphy.comparator.struct.RunResults.__setitem__ |
( |
|
self, |
|
|
|
key, |
|
|
|
value |
|
) |
| |
◆ __contains__()
def polygraphy.comparator.struct.RunResults.__contains__ |
( |
|
self, |
|
|
|
val |
|
) |
| |
The documentation for this class was generated from the following file: