Struct ResponseMemoryInterfaceProxy#

Inheritance Relationships#

Base Type#

Derived Type#

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 length count.

Parameters:
  • count – : Lenght of each array in cupy_tensors

  • cupy_tensors – : Map of string on to cupy arrays

Returns:

std::shared_ptr<ResponseMemory>