Template Class DeserializeStage
Defined in File deserialize.hpp
Base Type
public mrc::pymrc::PythonNode< std::shared_ptr< MessageMeta >, std::shared_ptr< OutputT > >
-
template<typename OutputT>
class DeserializeStage : public mrc::pymrc::PythonNode<std::shared_ptr<MessageMeta>, std::shared_ptr<OutputT>> -
Public Types
- using base_t = mrc::pymrc::PythonNode<std::shared_ptr<MessageMeta>, std::shared_ptr<OutputT>>
Public Functions
-
inline DeserializeStage(TensorIndex batch_size, bool ensure_sliceable_index = true, std::unique_ptr<cm_task_t> task = nullptr)
Construct a new Deserialize Stage object.
- Parameters
batch_size – Number of messages to be divided into each batch
ensure_sliceable_index – Whether or not to call
ensure_sliceable_index()
on all incomingMessageMeta
task – Optional task to be added to all outgoing
ControlMessage
s, ignored whenOutputT
isMultiMessage