edward
edward copied to clipboard
Update random_variables.py
Create tf.Operation by passing in pre-created inputs instead of passing them in later. This is to make it compatible with C_API which is now enabled by default in Tensorflow. Also remove graph._add_op() since this is already done during tf.Operation creation in the most recent version.
Excellent. Thanks @krishkoushik!
Will merge after tests pass.