|
14 | 14 | </script> |
15 | 15 |
|
16 | 16 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
17 | | - <title>dpnp.dpnp_iface_arraycreation — Data Parallel Extension for NumPy 0.20.0dev0+30.g45df3fd54db documentation</title> |
| 17 | + <title>dpnp.dpnp_iface_arraycreation — Data Parallel Extension for NumPy 0.20.0dev0+44.g179d27ecccb documentation</title> |
18 | 18 | <link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" /> |
19 | 19 | <link rel="stylesheet" type="text/css" href="../../_static/css/theme.css?v=e59714d7" /> |
20 | 20 |
|
21 | 21 |
|
22 | 22 | <script src="../../_static/jquery.js?v=5d32c60e"></script> |
23 | 23 | <script src="../../_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script> |
24 | | - <script src="../../_static/documentation_options.js?v=03a68176"></script> |
| 24 | + <script src="../../_static/documentation_options.js?v=288b4fa2"></script> |
25 | 25 | <script src="../../_static/doctools.js?v=9bcbadda"></script> |
26 | 26 | <script src="../../_static/sphinx_highlight.js?v=dc90522c"></script> |
27 | 27 | <script src="../../_static/js/theme.js"></script> |
|
83 | 83 | <div itemprop="articleBody"> |
84 | 84 |
|
85 | 85 | <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pre> |
86 | | -<span></span><span class="c1"># -*- coding: utf-8 -*-</span> |
87 | | -<span class="c1"># *****************************************************************************</span> |
| 86 | +<span></span><span class="c1"># *****************************************************************************</span> |
88 | 87 | <span class="c1"># Copyright (c) 2016, Intel Corporation</span> |
89 | 88 | <span class="c1"># All rights reserved.</span> |
90 | 89 | <span class="c1">#</span> |
@@ -604,7 +603,6 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr |
604 | 603 | <span class="sd"> --------</span> |
605 | 604 | <span class="sd"> :obj:`dpnp.asarray` : Similar function which always returns ndarrays.</span> |
606 | 605 | <span class="sd"> :obj:`dpnp.ascontiguousarray` : Convert input to a contiguous array.</span> |
607 | | -<span class="sd"> :obj:`dpnp.asfarray` : Convert input to a floating point ndarray.</span> |
608 | 606 | <span class="sd"> :obj:`dpnp.asfortranarray` : Convert input to an ndarray with column-major</span> |
609 | 607 | <span class="sd"> memory order.</span> |
610 | 608 | <span class="sd"> :obj:`dpnp.asarray_chkfinite` : Similar function which checks input</span> |
@@ -720,8 +718,7 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr |
720 | 718 | <span class="sd"> --------</span> |
721 | 719 | <span class="sd"> :obj:`dpnp.asanyarray` : Similar function which passes through subclasses.</span> |
722 | 720 | <span class="sd"> :obj:`dpnp.ascontiguousarray` : Convert input to a contiguous array.</span> |
723 | | -<span class="sd"> :obj:`dpnp.asfarray` : Convert input to a floating point ndarray.</span> |
724 | | -<span class="sd"> :obj:`dpnp.asfortranarray` : Convert input to an ndarray with column-major</span> |
| 721 | +<span class="sd"> :obj:`dpnp.asfortranarray` : Convert input to an ndarray with column-majors</span> |
725 | 722 | <span class="sd"> memory order.</span> |
726 | 723 | <span class="sd"> :obj:`dpnp.asarray_chkfinite` : Similar function which checks input</span> |
727 | 724 | <span class="sd"> for NaNs and Infs.</span> |
@@ -1831,6 +1828,8 @@ <h1>Source code for dpnp.dpnp_iface_arraycreation</h1><div class="highlight"><pr |
1831 | 1828 | <span class="sd"> :obj:`dpnp.fromfile` : Construct array from data in a text or binary file.</span> |
1832 | 1829 | <span class="sd"> :obj:`dpnp.fromiter` : Construct array from an iterable object.</span> |
1833 | 1830 | <span class="sd"> :obj:`dpnp.fromstring` : Construct array from the text data in a string.</span> |
| 1831 | +<span class="sd"> :obj:`ndarray.tobytes` : Construct Python bytes from the raw data bytes</span> |
| 1832 | +<span class="sd"> in the array.</span> |
1834 | 1833 |
|
1835 | 1834 | <span class="sd"> Examples</span> |
1836 | 1835 | <span class="sd"> --------</span> |
|
0 commit comments