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

Public Member Functions

def __init__ (self, model)
 
def __call__ (self)
 

Private Attributes

 _model
 

Constructor & Destructor Documentation

◆ __init__()

def polygraphy.backend.onnx.loader.BytesFromOnnx.__init__ (   self,
  model 
)
Functor that serializes an ONNX model.

Args:
    model (Callable() -> onnx.ModelProto): A loader that can supply an ONNX model.

Member Function Documentation

◆ __call__()

def polygraphy.backend.onnx.loader.BytesFromOnnx.__call__ (   self)
Serializes an ONNX model.

Returns:
    bytes: The serialized model.

Member Data Documentation

◆ _model

polygraphy.backend.onnx.loader.BytesFromOnnx._model
private

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