pypto.experimental.get_operation_options

Applicable Products

  • Ascend 950PR/Ascend 950DT: Supported
  • Atlas A3 training products/Atlas A3 inference products: Supported
  • Atlas A2 training products/Atlas A2 inference products: Supported

Description

Obtains the operation configuration.

Prototype

get_operation_options() -> Dict[str, Union[str, int, List[int], Dict[int, int]]]

Parameters

None

Return Value

Returns a dict containing all configuration items of the operation.

Constraints

  1. The return value is of the Dict type and contains all configuration items of the operation.
  2. Different configuration items may have different types, such as str, int, List[int], and Dict[int, int].

Example

pypto.get_operation_options()