Template Class DerivedMultiMessage< DerivedT >

template<typename DerivedT>
class DerivedMultiMessage<DerivedT>

Public Functions

virtual ~DerivedMultiMessage() = default

inline std::shared_ptr<DerivedT> get_slice(TensorIndex start, TensorIndex stop) const

inline std::shared_ptr<DerivedT> copy_ranges(const std::vector<RangeType> &ranges, TensorIndex num_selected_rows) const

Protected Functions

virtual void get_slice_impl(std::shared_ptr<MultiMessage> new_message, TensorIndex start, TensorIndex stop) const = 0

virtual void copy_ranges_impl(std::shared_ptr<MultiMessage> new_message, const std::vector<RangeType> &ranges, TensorIndex num_selected_rows) const = 0

Previous Template Class DerivedMultiMessage
Next Template Class DerivedMultiMessage< DerivedT, BaseT >
© Copyright 2024, NVIDIA. Last updated on Apr 25, 2024.