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
The Swift API consistently (I think) omits the shape label everywhere when shape is required. In general python allows labels for everything but can omit them if they are not required (it is basically a dictionary of args) so this isn't something we can do in swift.
The Python API can be used both ways:
mx.random.uniform(0, 1, (3, 3))
mx.random.uniform(0, 1, shape=(3, 3))
we should add the shape label for consistancy and clarity.
The text was updated successfully, but these errors were encountered: