Encryption parameters for protected model access.
More...
#include <onnx_lre.hpp>
|
| std::string | password = {} |
| | Decryption password for the model file.
|
| std::string | key_path = {} |
| | Path to the encryption key file on disk.
|
Encryption parameters for protected model access.
Contains credentials needed to decrypt protected ONNX models before loading. Both fields must be properly configured for encrypted model files.
Example usage:
crypt.
key_path =
"/path/to/encryption.key";
The LatentRuntimeEngine class provides a C++ interface to load and run ONNX models using ONNX Runtime...
Definition onnx_lre.hpp:253
Encryption parameters for protected model access.
Definition onnx_lre.hpp:162
std::string password
Decryption password for the model file.
Definition onnx_lre.hpp:163
std::string key_path
Path to the encryption key file on disk.
Definition onnx_lre.hpp:164
Configuration parameters for the inference engine.
Definition onnx_lre.hpp:233
Cryption cryption
Encryption settings, including password and key path, for encrypted models.
Definition onnx_lre.hpp:234
◆ password
| std::string OnnxLre::Cryption::password = {} |
Decryption password for the model file.
◆ key_path
| std::string OnnxLre::Cryption::key_path = {} |
Path to the encryption key file on disk.
The documentation for this struct was generated from the following file:
- include/onnx_lre/onnx_lre.hpp