.. _dpctl_tensor_pyapi: :py:mod:`dpctl.tensor` ====================== .. py:module:: dpctl.tensor .. currentmodule:: dpctl.tensor :py:mod:`dpctl.tensor` provides a reference implementation of the :array_api:`Python Array API <>` specification. The implementation uses :ref:`data-parallel ` algorithms suitable for execution on accelerators, such as GPUs. :py:mod:`dpctl.tensor` is written using C++ and :sycl_spec_2020:`SYCL <>` and oneAPI extensions implemented in :dpcpp_compiler:`Intel(R) oneAPI DPC++ compiler <>`. This module contains: * Array object :py:class:`usm_ndarray` * :ref:`array creation functions ` * :ref:`array manipulation functions ` * :ref:`elementwise functions ` * :ref:`indexing functions ` * :ref:`introspection functions ` * :ref:`linear algebra functions ` * :ref:`searching functions ` * :ref:`set functions ` * :ref:`sorting functions ` * :ref:`statistical functions ` * :ref:`utility functions ` * :ref:`constants ` .. toctree:: :hidden: tensor.creation_functions tensor.usm_ndarray tensor.data_type_functions tensor.data_types tensor.elementwise_functions tensor.indexing_functions tensor.inspection tensor.linear_algebra tensor.manipulation_functions tensor.searching_functions tensor.set_functions tensor.sorting_functions tensor.statistical_functions tensor.utility_functions tensor.constants