NAME
AI::MXNet::Symbol::AttrScope - Attribute manager for local scoping.
DESCRIPTION
Attribute manager for scoping.
User can also inherit this object to change naming behavior.
Parameters ---------- kwargs The attributes to set for all symbol creations in the scope.
current
Get the attribute hash ref given the attribute set by the symbol.
Returns ------- attr : current value of the class singleton object
get
Get the attribute hash ref given the attribute set by the symbol.
Parameters ---------- $attr : Maybe[HashRef[Str]] The attribute passed in by user during symbol creation.
Returns ------- $attr : HashRef[Str] The attributes updated to include another the scope related attributes.