set_output_attr

Function Usage

Sets the output attributes.

Prototype

1
set_output_attr(attr_name: str, output_index: int, value: Any) -> None

Parameters

Parameter

Input/Output

Description

attr_name

Input

Attribute name.

output_index

Input

Output index.

value

Input

Attribute value. For details about the attribute value types that can be set, see AttrValueType.

Returns

None

Restrictions

  • Throws TypeError if the parameter type is incorrect.
  • If the setting fails, RuntimeError is thrown.