Struct ResponseMemoryProbsInterfaceProxy

(Latest Version)

Base Type

struct ResponseMemoryProbsInterfaceProxy : public morpheus::ResponseMemoryInterfaceProxy

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<ResponseMemoryProbs> init(TensorIndex count, pybind11::object probs)

Create and initialize a ResponseMemoryProbs object, and return a shared pointer to the result.

Parameters
  • count

  • probs

Returns

std::shared_ptr<ResponseMemoryProbs>

static pybind11::object get_probs(ResponseMemoryProbs &self)

Get the response memory probs object ()

Parameters

self

Throws

pybind11::key_error – When no tensor named “probs” exists.

Returns

pybind11::object

static void set_probs(ResponseMemoryProbs &self, pybind11::object cupy_values)

Set the response memory probs object (alias for set_tensor("probs", cupy_values))

Parameters
  • self

  • cupy_values

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