Internal helper function to invoke runtime.GetDeviceAttr
(self, device_type, device_id, attr_id)
| 30 | """TVM device strucure.""" |
| 31 | |
| 32 | def _GetDeviceAttr(self, device_type, device_id, attr_id): |
| 33 | """Internal helper function to invoke runtime.GetDeviceAttr""" |
| 34 | # pylint: disable=import-outside-toplevel |
| 35 | return _ffi_api.GetDeviceAttr(device_type, device_id, attr_id) |
| 36 | |
| 37 | @property |
| 38 | def exist(self): |
no outgoing calls
no test coverage detected