pub fn new(device_type: TVMDeviceType, device_id: i32) -> Self {
        TVMContext {
            device_type,
            device_id,
        }
    }
/// Creates context from device type and id.
Creates context from device type and id.
Creates context from device type and id .
pub fn new(device_type: TVMDeviceType, device_id: i32) -> Self {
        TVMContext {
            device_type,
            device_id,
        }
    }
pub fn new ( device_type : TVMDeviceType , device_id : i32 ) -> Self { TVMContext { device_type , device_id , } }
Creates context from device type and id.
Creates context from device type and id .
device_type
TVMDeviceType
device_id
i32
device_type
TVMDeviceType
device_id
i32