mirror of
				https://github.com/ml-explore/mlx.git
				synced 2025-11-04 10:38:10 +08:00 
			
		
		
		
	Spelling (#342)
* spelling: accumulates Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: across Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: additional Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: against Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: among Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: array Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: at least Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: available Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: axes Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: basically Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: bfloat Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: bounds Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: broadcast Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: buffer Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: class Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: coefficients Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: collision Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: combinations Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: committing Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: computation Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: consider Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: constructing Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: conversions Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: correctly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: corresponding Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: declaration Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: default Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: dependency Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: destination Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: destructor Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: dimensions Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: divided Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: element-wise Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: elements Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: endianness Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: equivalent Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: explicitly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: github Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: indices Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: irregularly Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: memory Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: metallib Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: negative Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: notable Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: optional Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: otherwise Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: overridden Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: partially Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: partition Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: perform Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: perturbations Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: positively Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: primitive Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: repeat Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: repeats Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: respect Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: respectively Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: result Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: rounding Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: separate Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: skipping Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: structure Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: the Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: transpose Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: unnecessary Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: unneeded Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: unsupported Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --------- Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
		@@ -507,7 +507,7 @@ void init_array(py::module_& m) {
 | 
			
		||||
 | 
			
		||||
  array_class
 | 
			
		||||
      .def_property_readonly(
 | 
			
		||||
          "size", &array::size, R"pbdoc(Number of elments in the array.)pbdoc")
 | 
			
		||||
          "size", &array::size, R"pbdoc(Number of elements in the array.)pbdoc")
 | 
			
		||||
      .def_property_readonly(
 | 
			
		||||
          "ndim", &array::ndim, R"pbdoc(The array's dimension.)pbdoc")
 | 
			
		||||
      .def_property_readonly(
 | 
			
		||||
@@ -559,7 +559,7 @@ void init_array(py::module_& m) {
 | 
			
		||||
                If the array has more than one dimension then the result is a nested
 | 
			
		||||
                list of lists.
 | 
			
		||||
 | 
			
		||||
                The value type of the list correpsonding to the last dimension is either
 | 
			
		||||
                The value type of the list corresponding to the last dimension is either
 | 
			
		||||
                ``bool``, ``int`` or ``float`` depending on the ``dtype`` of the array.
 | 
			
		||||
          )pbdoc")
 | 
			
		||||
      .def("__array__", &mlx_array_to_np)
 | 
			
		||||
 
 | 
			
		||||
@@ -1263,7 +1263,7 @@ void init_ops(py::module_& m) {
 | 
			
		||||
        If the axis is not specified the array is treated as a flattened
 | 
			
		||||
        1-D array prior to performing the take.
 | 
			
		||||
 | 
			
		||||
        As an example, if the ``axis=1`` this is equialent to ``a[:, indices, ...]``.
 | 
			
		||||
        As an example, if the ``axis=1`` this is equivalent to ``a[:, indices, ...]``.
 | 
			
		||||
 | 
			
		||||
        Args:
 | 
			
		||||
            a (array): Input array.
 | 
			
		||||
@@ -1742,7 +1742,7 @@ void init_ops(py::module_& m) {
 | 
			
		||||
      "a"_a,
 | 
			
		||||
      py::pos_only(),
 | 
			
		||||
      "source"_a,
 | 
			
		||||
      "destiantion"_a,
 | 
			
		||||
      "destination"_a,
 | 
			
		||||
      py::kw_only(),
 | 
			
		||||
      "stream"_a = none,
 | 
			
		||||
      R"pbdoc(
 | 
			
		||||
@@ -2253,7 +2253,7 @@ void init_ops(py::module_& m) {
 | 
			
		||||
              will be of elements less or equal to the element at the ``kth``
 | 
			
		||||
              index and all indices after will be of elements greater or equal
 | 
			
		||||
              to the element at the ``kth`` index.
 | 
			
		||||
            axis (int or None, optional): Optional axis to partiton over.
 | 
			
		||||
            axis (int or None, optional): Optional axis to partition over.
 | 
			
		||||
              If ``None``, this partitions over the flattened array.
 | 
			
		||||
              If unspecified, it defaults to ``-1``.
 | 
			
		||||
 | 
			
		||||
@@ -2426,13 +2426,13 @@ void init_ops(py::module_& m) {
 | 
			
		||||
      R"pbdoc(
 | 
			
		||||
      repeat(array: array, repeats: int, axis: Optional[int] = None, *, stream: Union[None, Stream, Device] = None) -> array
 | 
			
		||||
 | 
			
		||||
      Repeate an array along a specified axis.
 | 
			
		||||
      Repeat an array along a specified axis.
 | 
			
		||||
 | 
			
		||||
      Args:
 | 
			
		||||
          array (array): Input array.
 | 
			
		||||
          repeats (int): The number of repetitions for each element.
 | 
			
		||||
          axis (int, optional): The axis in which to repeat the array along. If
 | 
			
		||||
            unspecified it uses the flattened array of the input and repeates 
 | 
			
		||||
            unspecified it uses the flattened array of the input and repeats 
 | 
			
		||||
            along axis 0.
 | 
			
		||||
          stream (Stream, optional): Stream or device. Defaults to ``None``.
 | 
			
		||||
 | 
			
		||||
@@ -3050,7 +3050,7 @@ void init_ops(py::module_& m) {
 | 
			
		||||
 | 
			
		||||
        Round to the given number of decimals.
 | 
			
		||||
 | 
			
		||||
        Bascially performs:
 | 
			
		||||
        Basically performs:
 | 
			
		||||
 | 
			
		||||
        .. code-block:: python
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -212,7 +212,7 @@ void init_random(py::module_& parent_module) {
 | 
			
		||||
            upper (scalar or array): Upper bound of the domain.
 | 
			
		||||
            shape (list(int), optional): The shape of the output.
 | 
			
		||||
              Default is ``()``.
 | 
			
		||||
            dtype (Dtype, optinoal): The data type of the output.
 | 
			
		||||
            dtype (Dtype, optional): The data type of the output.
 | 
			
		||||
              Default is ``float32``.
 | 
			
		||||
            key (array, optional): A PRNG key. Default: None.
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user