TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
polygraphy.comparator.struct.IterationResult Class Reference
Inheritance diagram for polygraphy.comparator.struct.IterationResult:
Collaboration diagram for polygraphy.comparator.struct.IterationResult:

Public Member Functions

def __init__ (self, outputs=None, runtime=None, runner_name=None)
 

Public Attributes

 runtime
 
 runner_name
 

Constructor & Destructor Documentation

◆ __init__()

def polygraphy.comparator.struct.IterationResult.__init__ (   self,
  outputs = None,
  runtime = None,
  runner_name = None 
)
An ordered dictionary containing the result of a running a single iteration of a runner.

This maps output names to NumPy arrays, and preserves the output ordering from the runner.

Also includes additional fields indicating the name of the runner which produced the
outputs, and the time required to do so.


Args:
    outputs (Dict[str, np.array]): The outputs of this iteration, mapped to their names.


    runtime (float): The time required for this iteration, in seconds.
    runner_name (str): The name of the runner that produced this output.

Member Data Documentation

◆ runtime

polygraphy.comparator.struct.IterationResult.runtime

◆ runner_name

polygraphy.comparator.struct.IterationResult.runner_name

The documentation for this class was generated from the following file: