Check if int before calling encode + add option to any worker to run the plan (not only local worker).
Check if int before calling encode + add option to any worker to run the plan (not only local worker).

OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft