<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # 2.4。公用事業 > 原文: [http://numba.pydata.org/numba-doc/latest/reference/utils.html](http://numba.pydata.org/numba-doc/latest/reference/utils.html) ## 2.4.1。處理指針 這些函數可以從純 Python 以及 [nopython 模式](../glossary.html#term-nopython-mode)中調用。 ```py numba.carray(ptr, shape, dtype=None) ``` 以[C]順序返回具有給定 _ 形狀 _ 的 _ptr_ 指向的數據的 Numpy 數組視圖。如果給出 _dtype_ ,則將其用作數組的 dtype,否則從 _ptr_ 的類型推斷出數組的 dtype。由于返回的數組是視圖而不是副本,因此寫入它將修改原始數據。 _ptr_ 應該是一個 ctypes 指針對象(使用 [`POINTER()`](https://docs.python.org/3/library/ctypes.html#ctypes.POINTER "(in Python v3.7)") 或 [`c_void_p`](https://docs.python.org/3/library/ctypes.html#ctypes.c_void_p "(in Python v3.7)") 創建的類型指針)。 _shape_ 應該是整數或整數元組。 _dtype_ 應該是 Numpy dtype 或標量類(即`np.dtype('int8')`和`np.int8`都被接受)。 ```py numba.farray(ptr, shape, dtype=None) ``` 與 [`carray()`](#numba.carray "numba.carray") 相同,但假設數據以 Fortran 順序排列,并相應地構造數組視圖。
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看