speed up onehot encoder, and don't transform instance inplace, optimize logging
speed up onehot encoder, and don't transform instance inplace, optimize logging

Signed-off-by: mgqa34 <873f6cae19e173e032060684f437bdb9a161fc74@163.com>

FederatedAI/FATE,FederatedAI/FATE,FederatedAI/FATE