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
In MLX almost all (array) operations are lazy (to make it possible to optimize a computational graph), i.e. operations are not executed until eval is called, e.g.:
>>importmlx.coreasmx>>a=mx.array([1, 2, 3, 4])
>>b=mx.array([1.0, 2.0, 3.0, 4.0])
>>c=a+b# c not yet evaluated>>mx.eval(c) # evaluates c>>c=a+b>>print(c) # Also evaluates c
How to best represent lazy arrays and operations on lazy arrays in Julia?
In MLX almost all (array) operations are lazy (to make it possible to optimize a computational graph), i.e. operations are not executed until
eval
is called, e.g.:How to best represent lazy arrays and operations on lazy arrays in Julia?
Primary options:
TracedRArray
/ConcreteRArray
in Reactant.jlSecondary options:
The text was updated successfully, but these errors were encountered: