aclrtBinaryLoadOption
1 2 3 4 | typedef struct { aclrtBinaryLoadOptionType type; aclrtBinaryLoadOptionValue value; } aclrtBinaryLoadOption; |
When the operator binary file is loaded, each parameter consists of two parts: the parameter type aclrtBinaryLoadOption.type and the corresponding parameter value aclrtBinaryLoadOption.value. For example, when aclrtBinaryLoadOption.type is set to ACL_RT_BINARY_LOAD_OPT_LAZY_LOAD, aclrtBinaryLoadOption.value needs to be configured based on the value of isLazyLoad.
For details about the definition of aclrtBinaryLoadOption.type, see aclrtBinaryLoadOptionType.
For details about the definition of aclrtBinaryLoadOption.value, see aclrtBinaryLoadOptionValue.
Parent topic: Data Types and Operation APIs