Last active
June 22, 2016 18:49
-
-
Save arafatkatze/fc6c6f6a66fad105efbaba2baa0dffca to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
import numpy as np | |
input1 = tf.placeholder(tf.int64, shape=(2, 2), name = "input1") | |
input2 = tf.placeholder(tf.int64, shape=(2, 2), name = "input2") | |
output = tf.add(input1, input2, name = "output") | |
with tf.Session() as sess: | |
tf.train.write_graph(sess.graph_def, "model/", "graph.pb", as_text=False) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment