Use model from titans to support deepnet training.
Fix a bug caused by checkpoint.
Fix some bugs due to using the outdated api.
Non-pipeline version deepnet don't build in origin examples, so I may build a non-pipeline model and use pipelinable to instead the pipeline version deepnet in other PR.