Tensorflow2.0开启,从此忘记1.*版本

1.可使用GPU,提升上百倍的效率

2.可自动求导

3.内置神经网络API

 使用cast,可以转换成相应的类型

 

原文地址:https://www.cnblogs.com/ningxinjie/p/11412653.html