diff --git a/imperative/python/megengine/tensor.py b/imperative/python/megengine/tensor.py index 40432f5aa2cd1fb513db32c2aaee1b016bfd2ece..080106dfb062930aba96c9e3610e87d5bfc6fde7 100644 --- a/imperative/python/megengine/tensor.py +++ b/imperative/python/megengine/tensor.py @@ -197,7 +197,9 @@ class Tensor(_Tensor, ArrayMethodMixin): self._name = self._prefix + "." + name if self._prefix else name self._set_name(self._name) - @deprecated(version="1.0", reason="no need to reuse an existing tensor since 1.0") + @deprecated( + version="1.0", reason="please use ``tensor_name[...] = value``", + ) def set_value(self, value): self._reset(value)