Struct ResponseMemoryProbsInterfaceProxy

struct ResponseMemoryProbsInterfaceProxy

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<ResponseMemoryProbs> init(cudf::size_type 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 std::size_t count(ResponseMemoryProbs &self)

Get messages count in the response memory probs object.

Parameters

self

Returns

std::size_t

static pybind11::object get_probs(ResponseMemoryProbs &self)

Get the response memory probs object.

Parameters

self

Returns

pybind11::object

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

Set the response memory probs object.

Parameters
  • self

  • cupy_values

© Copyright 2023, NVIDIA. Last updated on Feb 3, 2023.