Private method used to set an attribute in the node_def.
(self, attr_name, attr_value)
source not stored for this graph (policy: none)