TensorFlow 中 C 代码的代码完成

标签 c emacs tensorflow atom-editor

我正在为 TensorFlow 开发一个自定义操作,在虚拟机上使用 Ubuntu,并使用 rmate 在我的 Mac 上的本地 Atom 安装中编辑代码,或者使用 Emacs 在虚拟机上直接编辑代码。

有没有办法在 TensorFlow 中启用 C 代码的代码补全建议?

最佳答案

TensorFlow 中没有对代码完成的特殊支持,但可能有适合您的编辑器的特定解决方案。例如,this answer on SuperUser涵盖了 Emacs 中 C/C++ 代码补全的不同方法。

我成功实现 C++ 自动完成的一种方法是使用(实验性)TensorFlow CMake build为项目生成Visual Studio项目文件,然后使用Visual Studio编辑代码。

关于TensorFlow 中 C 代码的代码完成,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37545110/

相关文章:

c - 指向数组的指针有什么意义?

C 宏,返回错误的参数号

emacs - 我可以在 emacs 中同步滚动窗口吗?

emacs - 将文本拖入在 Emacs 中运行的终端中

emacs - 如何使用自动加载正确加载自定义配置?

c++ - COM 端口读取 - 线程在超时发生后保持事件状态

c - 警告 : type of ‘numRest’ defaults to ‘int’ (in function 'sleep' )

python-2.7 - 无效参数错误 : You must feed a value for placeholder tensor 'input_1/X' with dtype float

javascript - 在javascript中从本地文件系统加载Tensorflow js模型

python - Spyder 附加 Tensorboard 摘要文件