What is the relation between tensorflow and Eigen, particularly regarding the tensor
datastructures?
There are some older quotations (e.g. here) which state that tensorflow is using Eigen extensively (afaik a tensorflow guy has extended the Eigen code). More recent tensorflow documentation, however, seems to not explicitly refer to Eigen.
Are the two tensor
structures identical? Are they being updated concurrently? Is there any (possibly future) disadvantage in using the Eigen::tensor
over the tensorflow::tensor
?
tensorflow uses the Tensor module of Eigen (which is mostly maintained by the main author of tensorflow).
The C++ API (and the backend of the system) is in tensorflow/core . Right now, only the C++ Session interface, and the C API are being supported. You can use either of these to execute TensorFlow graphs that have been built using the Python API and serialized to a GraphDef protocol buffer.
tensorflow::tensor
is just a thin wrapper around Eigen::Tensor
with limited high-level features only. You can access to the underlying Eigen::Tensor
of a tensorflow::tensor
using the tensor()
method. I guess that this information also solve your last two questions.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With