Struct ResponseMemoryProbsInterfaceProxy
Defined in File response_memory_probs.hpp
Base Type
public morpheus::ResponseMemoryInterfaceProxy
(Struct ResponseMemoryInterfaceProxy)
-
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
- Throws
- Returns
self –
pybind11::key_error – When no tensor named “probs” exists.
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 –
-
static std::shared_ptr<ResponseMemoryProbs> init(TensorIndex count, pybind11::object probs)