Public Member Functions | |
def | __init__ (self) |
def | add_parser_args (self, parser) |
def | find (self) |
def | add_parser_args (self, parser, mode=True) |
def | run (self, args) |
def | layer_indices (self, num_layers) |
def | mark_layers (self, indices) |
def | check_network (self, suffix) |
def | subscribe_args (self, maker) |
def | setup_parser (self, subparsers) |
def | __call__ (self, args) |
Public Attributes | |
precision | |
args | |
golden | |
parser | |
name | |
makers | |
[EXPERIMENTAL] Progressively mark the worst layers (those that introduce the largest error) to run in a higher precision. Assumes that the layerwise outputs are topologically sorted.
def polygraphy.tools.precision.precision.STWorstFirst.__init__ | ( | self | ) |
def polygraphy.tools.precision.precision.STWorstFirst.add_parser_args | ( | self, | |
parser | |||
) |
Reimplemented from polygraphy.tools.base.tool.Tool.
def polygraphy.tools.precision.precision.STWorstFirst.find | ( | self | ) |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Checks whether the provided network is accurate compared to golden values. Returns: OrderedDict[str, OutputCompareResult]: A mapping of output names to an object describing whether they matched, and what the required tolerances were.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |