-->

Building new TensorFlow Op, is there a build syste

2019-09-03 11:13发布

问题:

After watching this question I decided to give writing a new op for TensorFlow a try.

Since the requirements of C++, Python and likely a *nix system are not my primary tools, I would like to avoid being at a point where I have to back out and make a system/tool changes just because I did not ask.

Is there a standard or preferred system and or tools used by those working or TensorFlow?

I know that recommendation questions are not allowed here; I am not asking for a personal recommendation, I am asking for the standard used by or what the TensorFlow group finds that works.

回答1:

Really, anything where you can get Bazel and the required libraries up and running. But since you're starting from scratch: Ubuntu's a very safe bet and (I haven't measured this, but this is a solid estimate) probably gets the most testing and development by the tf team. But there are many options that all work -- you can develop inside a virtualenv on many environments. Things like GPU support get a little more platform-specific, and that's where Ubuntu starts to become the easiest choice if you don't have any other constraints.

The key requirements are outlined in installing Tensorflow from sources.