You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was under the impression that tensors are only evaluated once during a single call to eval, and the value is then cached for later uses. It seems to work like that in most cases, but I tried a simple example with some inconsistent results:
I was under the impression that tensors are only evaluated once during a single call to
eval
, and the value is then cached for later uses. It seems to work like that in most cases, but I tried a simple example with some inconsistent results:The first one produces a value 0 as expected. However the second one is always a nonzero value, so it seems to call the random number generator twice.
The text was updated successfully, but these errors were encountered: