mirror of
https://github.com/ROCm/jax.git
synced 2025-04-19 05:16:06 +00:00
py3 iterator compatibility
This commit is contained in:
parent
db748a046f
commit
479f256abd
@ -98,7 +98,7 @@ def eval_fun(fun, *args):
|
||||
|
||||
counter = it.count()
|
||||
def fresh_var(ty):
|
||||
return Var(counter.next(), ty)
|
||||
return Var(next(counter), ty)
|
||||
|
||||
def gen_array_type(size):
|
||||
# TODO(dougalm): randomize this
|
||||
|
Loading…
x
Reference in New Issue
Block a user