should you install tensorflow on gpu or cpu code example Example: install tensorflow pip install tensorflow