mindspore.scipy

Scipy-like interfaces in mindspore.

警告

These are experimental APIs that are subject to change or deletion. Only support Linux.

mindspore.scipy.linalg

Linear algebra submodule.

API Name

Description

Supported Platforms

mindspore.scipy.linalg.block_diag

Create a block diagonal matrix from provided arrays.

GPU CPU

mindspore.scipy.linalg.cho_factor

Compute the cholesky decomposition of a matrix, to use in mindspore.scipy.linalg.cho_solve().

GPU CPU

mindspore.scipy.linalg.cho_solve

Given the cholesky factorization of a, solve the linear equation

GPU CPU

mindspore.scipy.linalg.cholesky

Compute the cholesky decomposition of a matrix.

GPU CPU

mindspore.scipy.linalg.eigh

Solve a standard or generalized eigenvalue problem for a complex Hermitian or real symmetric matrix.

GPU CPU

mindspore.scipy.linalg.inv

Compute the inverse of a matrix.

GPU CPU

mindspore.scipy.linalg.lu

Compute pivoted LU decomposition of a general matrix.

GPU CPU

mindspore.scipy.linalg.lu_factor

Compute pivoted LU decomposition of a square matrix, and its outputs can be directly used as the inputs of lu_solve.

GPU CPU

mindspore.scipy.optimize

Optimize submodule.

API Name

Description

Supported Platforms

mindspore.scipy.optimize.line_search

Inexact line search that satisfies strong Wolfe conditions.

GPU CPU

mindspore.scipy.optimize.linear_sum_assignment

Solve the linear sum assignment problem.

Ascend CPU

mindspore.scipy.optimize.minimize

Minimization of scalar function of one or more variables.

GPU CPU