diff --git a/torch/sparse/__init__.py b/torch/sparse/__init__.py index 858cb7fbd86..ca28bf0d0b6 100644 --- a/torch/sparse/__init__.py +++ b/torch/sparse/__init__.py @@ -54,7 +54,7 @@ When inputs are COO tensors, this function also supports backward for both input Supports both CSR and COO storage formats. .. note:: - This function doesn't support computing derivaties with respect to CSR matrices. + This function doesn't support computing derivatives with respect to CSR matrices. Args: mat (Tensor): a dense matrix to be added @@ -79,7 +79,7 @@ mm = _add_docstr( Supports both CSR and COO storage formats. .. note:: - This function doesn't support computing derivaties with respect to CSR matrices. + This function doesn't support computing derivatives with respect to CSR matrices. This function also additionally accepts an optional :attr:`reduce` argument that allows specification of an optional reduction operation, mathematically performs the following operation: