Searched refs:VectorizeTestClass (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_numpy_vectorize.cpp61 struct VectorizeTestClass { struct
62 VectorizeTestClass(int v) : value{v} {}; function in struct:VectorizeTestClass
66 py::class_<VectorizeTestClass> vtc(m, "VectorizeTestClass");
68 .def_readwrite("value", &VectorizeTestClass::value);
71 vtc.def("method", py::vectorize(&VectorizeTestClass::method));
H A Dtest_numpy_vectorize.py182 o = m.VectorizeTestClass(3)

Completed in 3 milliseconds