Schlagwort: Hello World

  • Jupyter mit Tensorflow virtualenv

    Schritt 1: Tensorflow mittels virtualenv installieren Schritt 2: Jupyter installieren Dann Jupyter über virtualenv starten #tensorflow virtualenv starten source ~/tensorflow/bin/activate #jupyter notebook starten jupyter notebook Neues Notebook erstellen mit Tensorflow Hello World import tensorflow as tf import numpy as np hello = tf.constant(‚Hello, TensorFlow!‘) sess = tf.Session() print(sess.run(hello)) Zeile mit Shift+Enter ausführen Mit Tab Autovervollständigen/Autocomplete…