Struct ResponseMemoryInterfaceProxy#
Defined in File response_memory.hpp
Inheritance Relationships#
Base Type#
public morpheus::TensorMemoryInterfaceProxy
(Struct TensorMemoryInterfaceProxy)
Derived Type#
public morpheus::ResponseMemoryProbsInterfaceProxy
(Struct ResponseMemoryProbsInterfaceProxy)
Struct Documentation#
-
struct ResponseMemoryInterfaceProxy : public morpheus::TensorMemoryInterfaceProxy#
Interface proxy, used to insulate python bindings.
Subclassed by morpheus::ResponseMemoryProbsInterfaceProxy
Public Static Functions
- static std::shared_ptr<ResponseMemory> init(
- TensorIndex count,
- pybind11::object &tensors
Create and initialize a ResponseMemory object, and return a shared pointer to the result. Each array in
cupy_tensors
should be of lengthcount
.- Parameters:
count – : Lenght of each array in
cupy_tensors
cupy_tensors – : Map of string on to cupy arrays
- Returns:
std::shared_ptr<ResponseMemory>