SINGA-350 Error from python3 test
SINGA-350 Error from python3 test

Add encode() back in optimizer.py

ijingo/incubator-singa,nudles/incubator-singa,apache/incubator-singa,nudles/incubator-singa,ijingo/incubator-singa,nudles/incubator-singa,apache/incubator-singa,kaiping/incubator-singa,nusdbsystem/incubator-singa,nusdbsystem/incubator-singa,apache/incubator-singa,kaiping/incubator-singa,apache/incubator-singa,nusdbsystem/incubator-singa,kaiping/incubator-singa,nusdbsystem/incubator-singa,ijingo/incubator-singa,ijingo/incubator-singa,nusdbsystem/incubator-singa,apache/incubator-singa,nudles/incubator-singa,nudles/incubator-singa,kaiping/incubator-singa,kaiping/incubator-singa,ijingo/incubator-singa