Function Pennylane::getNumpyArrayAlignment
Function Documentation
-
auto Pennylane::getNumpyArrayAlignment(const py::array &numpyArray) -> CPUMemoryModel
Get memory alignment of a given numpy array.
- Parameters
numpyArray – Pybind11’s numpy array type.
- Returns
CPUMemoryModel Memory model describing alignment
api/function_Bindings_8hpp_1af6f40661f96f82d18438903fa67ac6dc