Module aivis_engine_v2_cn_sdk_python.setup
Classes
-
Class for creating and handling constraint navigator setup. This is your entry point for all setup operations.
This class cannot be instantiated.
Static methods
-
@
FlavourRequirement([Flavour.FULL, Flavour.INFERENCE])Set the licensing key to authenticate API calls with.
If the licensing key is not specified through this function, the engine will use the value in the environment variable
AIVIS_ENGINE_V2_API_KEY.Attention: This function can only be called once for this runtime. Additional calls will result in an exception.
Parameters
api_key:str- API license key
-
@
FlavourRequirement([Flavour.FULL, Flavour.INFERENCE])Initialize library to use parallel computation up to given thread count. If count is set to
0(default), the library will automatically use all available threads fromMAX_CPU_THREADS.Attention: This function can only be called once for this runtime. Additional calls will result in an exception.
Parameters
count:int- Maximum number of threads used for computation
-
@
FlavourRequirement([Flavour.FULL, Flavour.INFERENCE])Initialize library to use given
EngineLoggerinstance for logging. If no logger is set, the library will not log anything.Parameters
logger:EngineLogger- Logger instance implementing log function
-