Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is gen_math_ops script in tensorflow?

Tags:

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.

search result

No gen_math_ops under ops

like image 687
Jinwei Xing Avatar asked Apr 22 '16 02:04

Jinwei Xing


1 Answers

It's automatically generated by tf_gen_op_wrapper_* rules here.

Also you can use ?? in your IPython notebook to find location

example of screenshot of genmathops

like image 91
Yaroslav Bulatov Avatar answered Oct 16 '22 12:10

Yaroslav Bulatov