Skip to content

Add support for "out" parameter in dot function #1346

Description

@adarshyoga

The pairwise distance dpnp implementation calls dpnp.dot to perform matrix multiplication and passes the output matrix in the out parameter to update the output in-place. See below code snippet.

import dpnp as np; np.dot(X1, X2.T, D)

How to reproduce:

  1. Follow instructions to setup dpbench
  2. Run pairwise distance - python -c "import dpbench; dpbench.run_benchmark("pairwise_distance")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions