- TensorFlow Lite移动端深度学习
- 朱元涛编著
- 139字
- 2025-02-26 05:52:54
2.3.1 使用PyCharm开发并调试运行TensorFlow程序
1)打开PyCharm,新建一个名为“first”的Python工程,如图2-6所示。

· 图2-6 新建一个名为“first”的Python工程
2)在工程“first”中新建一个Python程序文件first.py,然后编写如下所示的代码。

上述代码的功能是,分别打印输出在当前计算机中安装的TensorFlow的版本和路径,在笔者计算机中执行后会输出如下结果。

