TensorRT 10.1.0
nvinfer1::serialize Namespace Reference

Functions

nvinfer1::IHostMemoryserializeNetwork (nvinfer1::INetworkDefinition const &network) noexcept
 Serialize TensorRT INetworkDefinition. More...
 

Function Documentation

◆ serializeNetwork()

nvinfer1::IHostMemory * nvinfer1::serialize::serializeNetwork ( nvinfer1::INetworkDefinition const &  network)
inlinenoexcept

Serialize TensorRT INetworkDefinition.

Parameters
networkNetwork to serialize.
Returns
A nvinfer1::IHostMemory object that contains serialized network.

The network might be deserialized with nvserialize::deserializeINetwork.

  Copyright © 2024 NVIDIA Corporation
  Privacy Policy | Manage My Privacy | Do Not Sell or Share My Data | Terms of Service | Accessibility | Corporate Policies | Product Security | Contact