(dev_spec)
| 1523 | |
| 1524 | |
| 1525 | def _device_string(dev_spec): |
| 1526 | if pydev.is_device_spec(dev_spec): |
| 1527 | return dev_spec.to_string() |
| 1528 | else: |
| 1529 | return dev_spec |
| 1530 | |
| 1531 | |
| 1532 | def _NodeDef(op_type, name, device=None, attrs=None): # pylint: disable=redefined-outer-name |
no test coverage detected