From 3cff70279d19482d2626dbce9786b31d493909f7 Mon Sep 17 00:00:00 2001 From: Vincent Moens Date: Sun, 15 Dec 2024 19:30:53 -0800 Subject: [PATCH] Update [ghstack-poisoned] --- torchrl/data/tensor_specs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/torchrl/data/tensor_specs.py b/torchrl/data/tensor_specs.py index 9e26cf727cf..5f724577ddd 100644 --- a/torchrl/data/tensor_specs.py +++ b/torchrl/data/tensor_specs.py @@ -407,12 +407,12 @@ def unbind(self, dim: int = 0): @low.setter def low(self, value): self.device = value.device - self._low = value.cpu() + self._low = value @high.setter def high(self, value): self.device = value.device - self._high = value.cpu() + self._high = value def __post_init__(self): self.low = self.low.clone()