tensorflow 中的 gen_math_ops 脚本在哪里? [英] Where is gen_math_ops script in tensorflow?
本文介绍了tensorflow 中的 gen_math_ops 脚本在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在github上阅读了tensorflow的源代码,发现gen_math_ops是导入的.
from tensorflow.python.ops import gen_math_ops
然而,我在整个项目中都找不到这个脚本,它也不在 ops 文件夹下.
I read the source code of tensorflow on github and find gen_math_ops is imported.
from tensorflow.python.ops import gen_math_ops
However, i cannot find this script in the whole project and it's also not under the ops folder.
解决方案
It's automatically generated by tf_gen_op_wrapper_*
rules here.
Also you can use ?? in your IPython notebook to find location
这篇关于tensorflow 中的 gen_math_ops 脚本在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文