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.backend.onnx.loader.OnnxFromPath Class Reference
Inheritance diagram for polygraphy.backend.onnx.loader.OnnxFromPath:
Collaboration diagram for polygraphy.backend.onnx.loader.OnnxFromPath:

Public Member Functions

def __init__ (self, path)
 
def __call__ (self)
 

Public Attributes

 path
 

Constructor & Destructor Documentation

◆ __init__()

def polygraphy.backend.onnx.loader.OnnxFromPath.__init__ (   self,
  path 
)
Functor that loads an ONNX model from a file.

Args:
    path (str): The path from which to load the model.

Member Function Documentation

◆ __call__()

def polygraphy.backend.onnx.loader.OnnxFromPath.__call__ (   self)
Loads an ONNX model from a file.

Returns:
    onnx.ModelProto: The ONNX model

Member Data Documentation

◆ path

polygraphy.backend.onnx.loader.OnnxFromPath.path

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