Template Class DerivedMultiMessage< DerivedT, BaseT >

(Latest Version)
template<typename DerivedT, typename BaseT>
class DerivedMultiMessage<DerivedT, BaseT> : public BaseT

Public Functions

~DerivedMultiMessage() override = 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

inline void get_slice_impl(std::shared_ptr<MultiMessage> new_message, TensorIndex start, TensorIndex stop) const override

inline void copy_ranges_impl(std::shared_ptr<MultiMessage> new_message, const std::vector<RangeType> &ranges, TensorIndex num_selected_rows) const override

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