Holds properties for configuring an engine to serialize the binary.
More...
#include <NvInferRuntime.h>
|
apiv::VSerializationConfig * | mImpl |
|
Holds properties for configuring an engine to serialize the binary.
- See also
- SerializationFlag
◆ ~ISerializationConfig()
virtual nvinfer1::ISerializationConfig::~ISerializationConfig |
( |
| ) |
|
|
virtualdefaultnoexcept |
◆ clearFlag()
bool nvinfer1::ISerializationConfig::clearFlag |
( |
SerializationFlag |
serializationFlag | ) |
|
|
inlinenoexcept |
clear a serialization flag.
clears the serialization flag from the config.
- See also
- setFlags()
◆ getFlag()
bool nvinfer1::ISerializationConfig::getFlag |
( |
SerializationFlag |
serializationFlag | ) |
const |
|
inlinenoexcept |
Returns true if the serialization flag is set.
- See also
- getFlags()
- Returns
- True if flag is set, false if unset.
◆ getFlags()
Get the serialization flags for this config.
- Returns
- The serialization flags as a bitmask.
- See also
- setFlags()
◆ setFlag()
Set a serialization flag.
Add the input serialization flag to the already enabled flags.
- See also
- setFlags()
◆ setFlags()
Set the serialization flags to turn on for this config.
The flags are listed in the SerializationFlag enum.
- Parameters
-
serializationFlags | The serialization flags for an engine. |
- Note
- This function will override the previous set flags, rather than bitwise ORing the new flag.
- See also
- getFlags()
◆ mImpl
apiv::VSerializationConfig* nvinfer1::ISerializationConfig::mImpl |
|
protected |
The documentation for this class was generated from the following file: