Skip to content

Can I pass run_metadata to inference.run()? #844

Description

@Emma926

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions