API Reference
Graph.
getattr
Get an attribute from a node value.
Typically you would use the syntax value.attr instead of using this function directly.
value.attr
value (Any) – The value from which to get the item.
attr (str) – The name of the attribute.
name (str, optional) – The name of the node.
The item or items obtained from value.attr, or to be more precise, getattr(value, attr).
getattr(value, attr)
Any
Notes
Only certain combinations of value and attr are supported:
Pwc.values
The tensor of values of a Pwc.