File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
docs/doc_sources/api_reference/dpctl Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ .. _Flags_class :
2
+
3
+ ``Flags `` class
4
+ ===================
5
+
6
+ Helper class for querying information about the memory layout of an array.
7
+
8
+ Note that dictionary-like access to some members is permitted:
9
+
10
+ "C", "C_CONTIGUOUS":
11
+ Equivalent to `c_contiguous `
12
+ "F", "F_CONTIGUOUS":
13
+ Equivalent to `f_contiguous `
14
+ "W", "WRITABLE":
15
+ Equivalent to `writable `
16
+ "FC":
17
+ Equivalent to `fc `
18
+ "FNC":
19
+ Equivalent to `fnc `
20
+ "FORC", "CONTIGUOUS":
21
+ Equivalent to `forc ` and `contiguous `
22
+
23
+ .. autoclass :: dpctl.tensor._flags.Flags
24
+ :members:
Original file line number Diff line number Diff line change @@ -23,3 +23,8 @@ Implementation of :py:class:`usm_ndarray` conforms to
23
23
.. _dpctl_tensor_usm_ndarray_to_device_example :
24
24
25
25
.. include :: examples/usm_ndarray.rst
26
+
27
+ .. toctree ::
28
+ :hidden:
29
+
30
+ flags
You can’t perform that action at this time.
0 commit comments