Skip to content

Instantly share code, notes, and snippets.

var nums = [250,
168,
121,
75,
35,
127,
182,
6,
231,
222,
import sys
import tensorflow as tf
pb_file = sys.argv[1]
log_dir = 'logdir'
with open(pb_file, "rb") as f:
g_def = tf.GraphDef()
g_def.ParseFromString(f.read())
tf.import_graph_def(g_def)