Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions python/src/ops.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,9 @@ void init_ops(nb::module_& m) {
- All but the last two dimensions of each input are broadcast with one another using
standard numpy-style broadcasting semantics.

Only inexact types are supported. The promoted type of ``a`` and ``b``
must be floating point or complex.

Args:
a (array): Input array or scalar.
b (array): Input array or scalar.
Expand Down Expand Up @@ -5927,6 +5930,9 @@ void init_ops(nb::module_& m) {

Perform the Einstein summation convention on the operands.

Contractions are implemented with :func:`matmul` and have the same
requirements.

Args:
subscripts (str): The Einstein summation convention equation.
*operands (array): The input arrays.
Expand Down
Loading