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.RunResults Class Reference
Inheritance diagram for polygraphy.comparator.struct.RunResults:
Collaboration diagram for polygraphy.comparator.struct.RunResults:

Public Member Functions

def __init__ (self)
 
def items (self)
 
def keys (self)
 
def values (self)
 
def update (self, other)
 
def __getitem__ (self, key)
 
def __setitem__ (self, key, value)
 
def __contains__ (self, val)
 

Constructor & Destructor Documentation

◆ __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.

Member Function Documentation

◆ items()

def polygraphy.comparator.struct.RunResults.items (   self)
Creates a generator that yields Tuple[str, List[IterationResult]] - runner names
and corresponding outputs.
Here is the caller graph for this function:

◆ keys()

def polygraphy.comparator.struct.RunResults.keys (   self)
Creates a generator that yields runner names (str).
Here is the caller graph for this function:

◆ values()

def polygraphy.comparator.struct.RunResults.values (   self)
Creates a generator that yields runner outputs (List[IterationResult]).
Here is the caller graph for this function:

◆ 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 
)
Here is the call graph for this function:

◆ __setitem__()

def polygraphy.comparator.struct.RunResults.__setitem__ (   self,
  key,
  value 
)
Here is the call graph for this function:

◆ __contains__()

def polygraphy.comparator.struct.RunResults.__contains__ (   self,
  val 
)
Here is the call graph for this function:

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