PySyft
PySyft copied to clipboard
AST dtype arg should only accept long and int
Is your feature request related to a problem? Please describe. Currently the dtype arg for initialising AdditiveSharingTensor accepts None, "long", "int", "custom". But as an attempt for standardisation we don't want user to be able to call with arg "custom" it is there only for internal operations(like secureNN).
Describe the solution you'd like Raise a ValueError with a response along the lines of "Invalid value for dtype arg, use long or int"
Describe alternatives you've considered
Additional context