"git@developer.sourcefind.cn:OpenDAS/mmcv.git" did not exist on "94a677de3f5eb8cf0183a50f0d0dbd08ecbc2d18"
Unverified Commit d8370299 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

try again. (#5141)


Co-authored-by: default avatarSteve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
parent e032de58
...@@ -13,7 +13,8 @@ def add( ...@@ -13,7 +13,8 @@ def add(
) -> Union[DiagMatrix, SparseMatrix]: ) -> Union[DiagMatrix, SparseMatrix]:
"""Elementwise additions for `DiagMatrix` and `SparseMatrix`. """Elementwise additions for `DiagMatrix` and `SparseMatrix`.
The supported combinations are shown as follow. The supported combinations are shown as follows.
+--------------+------------+--------------+--------+ +--------------+------------+--------------+--------+
| A \ B | DiagMatrix | SparseMatrix | scalar | | A \ B | DiagMatrix | SparseMatrix | scalar |
+--------------+------------+--------------+--------+ +--------------+------------+--------------+--------+
...@@ -56,7 +57,8 @@ def add( ...@@ -56,7 +57,8 @@ def add(
def sub(A: Union[DiagMatrix], B: Union[DiagMatrix]) -> Union[DiagMatrix]: def sub(A: Union[DiagMatrix], B: Union[DiagMatrix]) -> Union[DiagMatrix]:
"""Elementwise subtraction for `DiagMatrix` and `SparseMatrix`. """Elementwise subtraction for `DiagMatrix` and `SparseMatrix`.
The supported combinations are shown as follow. The supported combinations are shown as follows.
+--------------+------------+--------------+--------+ +--------------+------------+--------------+--------+
| A \ B | DiagMatrix | SparseMatrix | scalar | | A \ B | DiagMatrix | SparseMatrix | scalar |
+--------------+------------+--------------+--------+ +--------------+------------+--------------+--------+
...@@ -95,7 +97,8 @@ def power( ...@@ -95,7 +97,8 @@ def power(
) -> Union[SparseMatrix, DiagMatrix]: ) -> Union[SparseMatrix, DiagMatrix]:
"""Elementwise exponentiation for `DiagMatrix` and `SparseMatrix`. """Elementwise exponentiation for `DiagMatrix` and `SparseMatrix`.
The supported combinations are shown as follow. The supported combinations are shown as follows.
+--------------+------------+--------------+--------+ +--------------+------------+--------------+--------+
| A \ B | DiagMatrix | SparseMatrix | scalar | | A \ B | DiagMatrix | SparseMatrix | scalar |
+--------------+------------+--------------+--------+ +--------------+------------+--------------+--------+
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment