Skip to content

Instantly share code, notes, and snippets.

@gaphex
Created November 28, 2019 16:34
Show Gist options
  • Select an option

  • Save gaphex/999b185b1257dde064e4725960838962 to your computer and use it in GitHub Desktop.

Select an option

Save gaphex/999b185b1257dde064e4725960838962 to your computer and use it in GitHub Desktop.
sess = tf.Session(graph=restored_graph)
t_data = ["What would happen if earth stopped rotating? ||| What would happen if the Earth rotation suddenly stop?"]
y_out = sess.run(y, feed_dict={
x: np.array(t_data).reshape((-1,1))
})
y_out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment