I know that Tensorflow is written with a C++ engine, but I haven't found any C++ source code in my installation directory (I installed via pip). When I inspect the python codes, I got a sense that the python level is just a wrapper where the essence of the algorithm is not presented. For example, in tensorflow/python/ops/gradients.py
, the gradients()
function calls python_grad_func()
to compute the gradients, which is a class method of DeFun
.
My question is that, are all the essential part of Tensorflow written in C++ and the python are only serving as some APIs?