deepmd.tf.utils.sess

Module Contents

Functions

run_sess(sess, *args, **kwargs)

Run session with erorrs caught.

deepmd.tf.utils.sess.run_sess(sess: deepmd.tf.env.tf.Session, *args, **kwargs)[source]

Run session with erorrs caught.

Parameters:
sesstf.Session

TensorFlow Session

*args

Variable length argument list.

**kwargs

Arbitrary keyword arguments.

Returns:
Any

the result of sess.run()