I intend to read the core module of Tensorflow(TF) source codes
My problem is I do not have experience reading C/C++ source codes like TF in IDE. Could anyone give me some instructions regarding how to read TF source codes (core module) efficiently in a IDE. I have Clion and Netbeans on my Macbook but I don't know how to import TF correctly(also which part to import?;how to build it?) such that when I want to know the declaration of one C++ class I can jump to its signature/declaration directly.
I will appreciate any advice/recommended tools for reading TF source codes efficiently. BTW, I am assuming reading TF codes with a IDE is efficient. If it is not true, I can stop using them and turn to tools like VIM.
The original Tensorflow repository(GitHub) does not contain project information file for any specific IDE, which means you cannot just import the whole project unless you are using something which can import files based on the project folder (Atom, Visual Studio Code, Sublime etc.) I would suggest using one of those if your aim is just to read an navigate inside the code base.
Unfortunately you wont be able to build the code with any of those editors. Tensorflow uses Bazel as its build tool which has support at the moment for Eclipse and Xcode. Honestly, I'm not sure if you can import the the code base in one of this IDEs either.
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