mirror of
https://github.com/ml-explore/mlx.git
synced 2025-10-20 17:38:09 +08:00
@@ -1323,10 +1323,7 @@ void init_ops(nb::module_& m) {
|
||||
start (float or int, optional): Starting value which defaults to ``0``.
|
||||
stop (float or int): Stopping value.
|
||||
step (float or int, optional): Increment which defaults to ``1``.
|
||||
dtype (Dtype, optional): Specifies the data type of the output.
|
||||
If unspecified will default to ``float32`` if any of ``start``,
|
||||
``stop``, or ``step`` are ``float``. Otherwise will default to
|
||||
``int32``.
|
||||
dtype (Dtype, optional): Specifies the data type of the output. If unspecified will default to ``float32`` if any of ``start``, ``stop``, or ``step`` are ``float``. Otherwise will default to ``int32``.
|
||||
|
||||
Returns:
|
||||
array: The range of values.
|
||||
|
Reference in New Issue
Block a user