summaryrefslogtreecommitdiff
path: root/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
diff options
context:
space:
mode:
authorPeter Andreas Entschev <peter@entschev.com>2020-08-19 18:57:41 +0200
committerGitHub <noreply@github.com>2020-08-19 18:57:41 +0200
commit974c02378b3b240f370755c0838eefaa422b28ba (patch)
treee671e5977561db749fee41e8108f90b0c63e81a5 /doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
parent67c973306a445846a3c14e0cf66608be9d89a093 (diff)
downloadnumpy-974c02378b3b240f370755c0838eefaa422b28ba.tar.gz
Update doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Diffstat (limited to 'doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst')
-rw-r--r--doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst b/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
index c5a266dfe..4ed00d15e 100644
--- a/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
+++ b/doc/neps/nep-0035-array-creation-dispatch-with-array-function.rst
@@ -132,9 +132,9 @@ chunks and they may be of different types. However, in the context of
a Dask array can be formed of several NumPy arrays or several CuPy arrays, but
not a mix of both.
-To avoid mismatched types during compute, Dask keeps an attribute ``_meta`` as
-part of its array throughout computation, this attribute is used to both predict
-the output type at graph creation time and to create any intermediary arrays
+To avoid mismatched types during computation, Dask keeps an attribute ``_meta`` as
+part of its array throughout computation: this attribute is used to both predict
+the output type at graph creation time, and to create any intermediary arrays
that are necessary within some function's computation. Going back to our
previous example, we can use ``_meta`` information to identify what kind of
array we would use for padding, as seen below: