Returns true if ``name`` is a per-vertex attribute.
(self, name)
| 245 | return self.raw_wires.get_attribute(name).squeeze() |
| 246 | |
| 247 | def is_vertex_attribute(self, name): |
| 248 | """ Returns true if ``name`` is a per-vertex attribute. |
| 249 | """ |
| 250 | assert(self.has_attribute(name)) |
| 251 | return self.raw_wires.is_vertex_attribute(name) |
| 252 | |
| 253 | def set_attribute(self, name, value): |
| 254 | """ Set the value of the attribute ``name`` to be ``value``. |
nothing calls this directly
no test coverage detected