attr_scope
Function Usage
Property scope context manager.
Prototype
1 | attr_scope(attr_maps) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
attr_maps |
Input |
Attribute mapping dictionary. |
Returns
None
Constraints
None
Examples
1 2 | with attr_scope({"attr_name": attr_value}): tensor = builder.create_input(0) |
Parent topic: Python APIs