Template Function Pennylane::getAllocator¶
Defined in File CPUMemoryModel.hpp
Function Documentation¶
-
template<class T>
constexpr auto Pennylane::getAllocator(CPUMemoryModel memory_model) -> Util::AlignedAllocator<T>¶ Get a corresponding allocator for standard library containers.
- Template Parameters
T – Data type
api/function_CPUMemoryModel_8hpp_1a04ea201943ea409418a809eec74ae01c
Download Python script
Download Notebook
View on GitHub