OS/Linux

Tensorflow install

강서버 2020. 2. 23. 22:15
반응형

System install

 

$ pip3 install --user --upgrade tensorflow  # install in $HOME

Verify the install:

$ python3 -c "import tensorflow as tf; print(tf.reduce_sum(tf.random.normal([1000, 1000])))"

 

Virtualenv install

(venv) $ pip install --upgrade tensorflow

Verify the install:

(venv) $ python -c "import tensorflow as tf;print(tf.reduce_sum(tf.random.normal([1000, 1000])))"

 

https://www.tensorflow.org/install/pip

반응형