diff --git a/imperative/python/megengine/tensor.py b/imperative/python/megengine/tensor.py index 2e8a1ed8f554e587671f0a6c673ade7cf13a1773..d3fd96f165380e78aa477569f73774fd87990b81 100644 --- a/imperative/python/megengine/tensor.py +++ b/imperative/python/megengine/tensor.py @@ -111,13 +111,19 @@ class Tensor(_Tensor, ArrayMethodMixin): return super().shape @property - def device(self) -> CompNode: - r"""Returns a string represents the device a :class:`~.Tensor` storaged on.""" + def device(self): + r"""Returns a string represents the device a :class:`~.Tensor` storaged on. + + .. seealso:: see :ref:`tensor-device` for more details. + """ return super().device @property def dtype(self) -> np.dtype: - r"""Returns a :class:`numpy.dtype` object represents the data type of a :class:`~.Tensor`.""" + r"""Returns a :class:`numpy.dtype` object represents the data type of a :class:`~.Tensor`. + + .. seealso:: see :ref:`tensor-dtype` for more details. + """ return super().dtype @property