Home
last modified time | relevance | path

Searched refs:f_contiguous (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_picklebuffer.py29 self.assertEqual(m.f_contiguous, expected.f_contiguous)
81 self.assertFalse(arr.f_contiguous)
87 self.assertFalse(arr.f_contiguous)
92 self.assertTrue(arr.f_contiguous)
Dpickletester.py197 f_contiguous = True variable in ZeroCopyBytes
225 f_contiguous = True variable in ZeroCopyBytearray
276 def f_contiguous(self): member in PicklableNDArray
277 return self.array.f_contiguous
2851 if arr.flags.c_contiguous or arr.flags.f_contiguous:
Dtest_buffer.py981 (match(req, PyBUF_F_CONTIGUOUS) and not ex.f_contiguous) or
2016 self.assertFalse(ex.f_contiguous)
2419 self.assertTrue(m.f_contiguous)
/external/python/pybind11/tests/
Dtest_numpy_vectorize.py33 assert result.flags.f_contiguous
200 assert m.vectorized_func(y1, y2, y3).flags.f_contiguous
202 assert m.vectorized_func(1, y2, 1).flags.f_contiguous
203 assert m.vectorized_func(z1[1::4, 1::4], y2, 1).flags.f_contiguous
Dtest_numpy_array.py181 assert not m.make_c_array().flags.f_contiguous
182 assert m.make_f_array().flags.f_contiguous
206 assert a.flags.f_contiguous == b.flags.f_contiguous
/external/python/cpython3/Lib/ctypes/test/
Dtest_frombuffer.py62 self.assertTrue(array.f_contiguous)
/external/python/cpython3/Doc/library/
Dstdtypes.rst4067 .. attribute:: f_contiguous