Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. t = tf.placeholder(tf.float32, [None, 1])
  2. x = tf.placeholder(tf.float32, [None, 1])
  3.  
  4. t = tf.constant(np.linspace(0.0,1.0,100), dtype = tf.float64 )
  5.  
  6. integ = tf.contrib.integrate.odeint_fixed(model.output,
  7. 0.0,
  8. t,
  9. method = "rk4")
  10.  
  11. ...
  12.  
  13. <ipython-input-5-c79e79b75391> in loss(model, t, x)
  14. 24 0.0,
  15. 25 t,
  16. ---> 26 method = "rk4")
  17.  
  18. ...
  19.  
  20. TypeError: 'Tensor' object is not callable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement