TensorDictBase.is_cuda#
- property TensorDictBase.is_cuda#
Whether the tensordict has a CUDA device (
Falseif it has no device).
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.
Whether the tensordict has a CUDA device (False if it has no device).
Every tensordict class and every tensorclass has this method. For the other methods, see Methods by task.