Struct MultiMessageInterfaceProxy

struct MultiMessageInterfaceProxy

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<MultiMessage> init(std::shared_ptr<MessageMeta> meta, TensorIndex mess_offset, TensorIndex mess_count)

TODO(Documentation)

static std::shared_ptr<MessageMeta> meta(const MultiMessage &self)

TODO(Documentation)

static TensorIndex mess_offset(const MultiMessage &self)

TODO(Documentation)

static TensorIndex mess_count(const MultiMessage &self)

TODO(Documentation)

static std::vector<std::string> get_meta_column_names(const MultiMessage &self)

static pybind11::object get_meta(MultiMessage &self)

TODO(Documentation)

static pybind11::object get_meta(MultiMessage &self, std::string col_name)

TODO(Documentation)

static pybind11::object get_meta(MultiMessage &self, std::vector<std::string> columns)

TODO(Documentation)

static pybind11::object get_meta(MultiMessage &self, pybind11::none none_obj)

static pybind11::object get_meta_list(MultiMessage &self, pybind11::object col_name)

static void set_meta(MultiMessage &self, pybind11::object columns, pybind11::object value)

TODO(Documentation)

static std::shared_ptr<MultiMessage> get_slice(MultiMessage &self, TensorIndex start, TensorIndex stop)

TODO(Documentation)

static std::shared_ptr<MultiMessage> copy_ranges(MultiMessage &self, const std::vector<RangeType> &ranges, pybind11::object num_selected_rows)

Previous Struct MultiInferenceNLPMessageInterfaceProxy
Next Struct MultiResponseMessageInterfaceProxy
© Copyright 2024, NVIDIA. Last updated on Apr 11, 2024.