Skip to content

Raise Error when trying to share additively float values #2176

@LaRiffle

Description

@LaRiffle

It makes to sense to do this:

x = torch.Tensor([0.0, 5.1])
x_shared = x.share(bob, alice, crypto_provider=james)
x_shared.get()

And it gives wrong results
We should check that the sharing is made on intgeres / Long / etc and not float

Metadata

Metadata

Assignees

Labels

Good first issue 🎓Perfect for beginners, welcome to OpenMined!

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions