How to import Tensorflow source codes correctly with Clion or Netbeans

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.