OpenMined / OpenMined/TenSEAL

encrypted1 and encrypted2 parameter mismatch

Open
#449 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Type: Bug :bug:
Dominant language
C++
Stars
1k
Forks
175
Avg merge
6d 12h
Merged PRs (30d)
5

Description

Description

The encrypted 564 matrix is multiplied with 64784 plaintext matrix by the mm() function, and it reports ValueError: encrypted1 and encrypted2 parameter mismatch.

Confusion

The encrypted matrix is multiplyable with np.random.rand(64,784), and mnist's data(64*784) will report an error, why is that?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue identifies the mm() entry point and compares np.random.rand(64,784) with MNIST data. Start by reproducing the ValueError with the encrypted 5*64 matrix and both inputs, then inspect their shapes and types at the call boundary. Done means the mismatch is explained and the accepted input or required change is clearly established.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
cryptography, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.