(Latest Version)

Struct ResponseMemoryInterfaceProxy

Base Type

Derived Type

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>

© Copyright 2023, NVIDIA. Last updated on Apr 11, 2023.