For example, my code is like
run_metadata = tf.RunMetadata()
inference = ed.KLqp(...)
inference.run()
Is there a convenient way to pass the run_metadata, like sess.run(run_medata = run_metadata)?
I tried to add
sess = ed.get_session()
but I don't know what to ask for sess to run, apparently sess.run(inference) won't work, and I don't want to update the parameters step by step.
Thanks in advance!
For example, my code is like
run_metadata = tf.RunMetadata()
inference = ed.KLqp(...)
inference.run()
Is there a convenient way to pass the run_metadata, like sess.run(run_medata = run_metadata)?
I tried to add
sess = ed.get_session()
but I don't know what to ask for sess to run, apparently sess.run(inference) won't work, and I don't want to update the parameters step by step.
Thanks in advance!