ge_initialize

Function Usage

Initialize the GE and prepare for execution.

Prototype

1
ge_initialize(config: dict) -> int

Parameters

Parameter

Input/Output

Description

config

Input

Configure the dictionary.

Returns

(int) Initialization result (0 indicates success)

Constraints

  • If the config is not of the dictionary type, TypeError is thrown.
  • If config is empty, TypeError is thrown.
  • If the initialization fails, RuntimeError is thrown.