Revert "Change Trainer SPI-return trained model & Add test cases for Enc...

Reverts ShifuML/shifu#19