ge_initialize
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
x |
|
√ |
|
√ |
Function Usage
Initializes GE for execution.
Prototype
1 | ge_initialize(config: dict) -> int |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
config |
Input |
Configuration dictionary. |
Returns
(int) Initialization result. The value 0 indicates success.
Restrictions
- If config is not of the dictionary type, TypeError is thrown.
- If config is empty, TypeError is thrown.
- If the initialization fails, RuntimeError is thrown.
Parent topic: Session APIs