部署图以进行快速评估并将其导出到运行tensorflow的环境。 现在有了tensorflow 1.0支持。 评估用法 import tfdeploy as td import numpy as np model = td . Model ( "/path/to/model.pkl" ) inp , outp = model . get ( "input" , "output" ) batch = np . random . rand ( 10000 , 784 ) result = outp . eval ({ inp : batch }) 安装和依赖项 通过 pip in