PySyft icon indicating copy to clipboard operation
PySyft copied to clipboard

Automatically have every fixed precision operation call wrap to field

Open robert-wagner opened this issue 7 years ago • 1 comments

Describe the solution you'd like Currently for every method in fixed precision tensor we need to call response%=self.field at the end of the call to ensure that the output is in within the size of the field

We should automatically make this call

robert-wagner avatar Jun 11 '19 19:06 robert-wagner

Once #2982 is merged. These explicit modulo calls are removed and wrapping of values in field size(moving forward we will only support 32 bit or 64bit) will be handled using native torch tensors with dtype torch.int32 and torch.int64 respectively.

Yugandhartripathi avatar Mar 26 '20 23:03 Yugandhartripathi