I propose to rename the `TVMContext` to `TVMDevice`. Currently, `TVMContext` is 
used to represent a device that the model is executed on. Two main reasons for 
this change:

1. the name of `TVMContext` doesn't intuitively reflect its semantics of a 
device. 
2. mainstream frameworks including 
[TensorFlow](https://www.tensorflow.org/api_docs/python/tf/device) and 
[PyTorch](https://pytorch.org/docs/stable/tensor_attributes.html?highlight=device#torch.torch.device)
 both uses `device` to represent the device to run. I think it'd be good that 
we use the similar terminology to reduce the confusion.

Let me know your thoughts.
@tqchen @jroesch @zhiics @comaniac @junrushao1994





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/rfc-rename-tvmcontext-to-tvmdevice/9090/1)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/4da1ce4e88438ecf5b6da367ecde8707139e4d85125b4d70cc6fc2e3326829df).

Reply via email to