Home
last modified time | relevance | path

Searched refs:c_style (Results 1 – 6 of 6) sorted by relevance

/external/python/pybind11/tests/
Dtest_numpy_vectorize.cpp41 … m.def("selective_func", [](py::array_t<int, py::array::c_style>) { return "Int branch taken."; }); in TEST_SUBMODULE() argument
42 …m.def("selective_func", [](py::array_t<float, py::array::c_style>) { return "Float branch taken.";… in TEST_SUBMODULE() argument
43 …m.def("selective_func", [](py::array_t<std::complex<float>, py::array::c_style>) { return "Complex… in TEST_SUBMODULE() argument
Dtest_numpy_array.cpp292 py::array_t<double, py::array::c_style> a({ 3, 3, 3 }); in TEST_SUBMODULE()
345 py::array_t<double, py::array::c_style> a({ 3, 3, 3 }); in TEST_SUBMODULE()
411 [](py::array_t<double, py::array::c_style>) {}, in TEST_SUBMODULE() argument
414 [](py::array_t<double, py::array::forcecast | py::array::c_style>) {}, in TEST_SUBMODULE() argument
429 [](py::array_t<double, py::array::c_style>) {}, in TEST_SUBMODULE() argument
432 [](py::array_t<double, py::array::forcecast | py::array::c_style>) {}, in TEST_SUBMODULE() argument
/external/tensorflow/tensorflow/compiler/xla/python/
Dtypes.cc270 h, py::array::c_style | py::detail::npy_api::NPY_ARRAY_ALIGNED_); in CastToArray()
/external/python/pybind11/docs/advanced/pycpp/
Dnumpy.rst162 accomplished via a second template argument with values ``py::array::c_style``
167 void f(py::array_t<double, py::array::c_style | py::array::forcecast> array);
/external/python/pybind11/include/pybind11/
Deigen.h412 … ((props::row_major ? props::inner_stride : props::outer_stride) == 1 ? array::c_style :
Dnumpy.h561 c_style = detail::npy_api::NPY_ARRAY_C_CONTIGUOUS_,
939 && detail::check_flags(h.ptr(), ExtraFlags & (array::c_style | array::f_style));