Public Member Functions | |
def | __init__ (self) |
def | find (self) |
def | add_parser_args (self, parser, mode=True) |
def | add_parser_args (self, parser) |
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 | |
Use a binary search to determine how many layers need to be run in higher precision to achieve the desired accuracy.
def polygraphy.tools.precision.precision.STBisect.__init__ | ( | self | ) |
def polygraphy.tools.precision.precision.STBisect.find | ( | self | ) |
|
inherited |
|
inherited |
Reimplemented in polygraphy.tools.precision.precision.Precision, polygraphy.tools.precision.precision.STWorstFirst, polygraphy.tools.run.run.Run, polygraphy.tools.inspect.subtool.model.Model, polygraphy.tools.inspect.subtool.data.Data, polygraphy.tools.surgeon.subtool.extract.Extract, polygraphy.tools.surgeon.subtool.insert.Insert, polygraphy.tools.surgeon.surgeon.Surgeon, polygraphy.tools.inspect.inspect.Inspect, and polygraphy.tools.surgeon.subtool.sanitize.Sanitize.
|
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 |