This repository has been archived by the owner on Nov 25, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 103
how to send two placeholder varialbles with remote execute #11
Comments
You can do it with remote.execute_multi:
Or, if you want to specify the names of the inputs and outputs associated with your call:
That said, I don't see why remote.execute should not be able to handle this through type introspection. Perhaps we should allow remote.execute to detect if an array is passed in, and if so apply multiple inputs. btw, I ran your model like this:
Generated the model like this:
|
oracle/graphpipe-py#5 < perhaps this is worth considering |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
x = tf.placeholder(tf.int32, shape=[1], name='x')
y = tf.placeholder(tf.int32, shape=[1], name='y')
b = tf.Variable(1, name='b')
xy = tf.multiply(x, y, name='multiply')
output = tf.add(xy, b, name='op_to_store')
with tf.Session() as sess:
sess.run(tf.global_variables_initializer())
############################################
pred = remote.execute
The text was updated successfully, but these errors were encountered: