tvm_tirx.tirx.script.device_context#
- tvm_tirx.tirx.script.device_context(device_type, device_id, *, attrs=None, body_params=None)#
Supply lexical device context for allocation and packed-call lowering.
This region does not change the active runtime device.
- Parameters:
- Return type: