diff --git a/python/paddle/tensor/math.py b/python/paddle/tensor/math.py index edaf63a47dbcc3..8af96d315d7b3b 100644 --- a/python/paddle/tensor/math.py +++ b/python/paddle/tensor/math.py @@ -8446,7 +8446,7 @@ def cartesian_prod(x: Sequence[Tensor], name: str | None = None) -> Tensor: Args: x (list[Tensor]|tuple[Tensor]): Any number of 1-D input Tensors. Supported data types: bfloat16, float16, float32, float64, int32, int64, complex64 or complex128. - name (str, optional): Name for the operation (optional, default is None). For more information, please refer to :ref:`api_guide_Name`. + name (str|None, optional): Name for the operation (optional, default is None). For more information, please refer to :ref:`api_guide_Name`. Returns: out (Tensor), cartesian product of input tensors with the same data type.