pulsatrix 1.1.0
Loading...
Searching...
No Matches
pulsatrix::MaskedDiffusionStep Struct Reference

One step that filled at least one position (under Remasking, any step). More...

#include <masked_diffusion.hpp>

Public Attributes

std::vector< int64_t > input
 The sequence the model saw at this step.
 
std::vector< MaskedDiffusionWrite > writes
 The positions filled from the model's output, in position order. A position is only ever written while it holds the mask token.
 
std::vector< int64_t > remasked
 The positions that held a token in input and are masked again after this step, in position order (Remasking only).
 

Detailed Description

One step that filled at least one position (under Remasking, any step).

Member Data Documentation

◆ input

std::vector<int64_t> pulsatrix::MaskedDiffusionStep::input

The sequence the model saw at this step.

◆ remasked

std::vector<int64_t> pulsatrix::MaskedDiffusionStep::remasked

The positions that held a token in input and are masked again after this step, in position order (Remasking only).

◆ writes

std::vector<MaskedDiffusionWrite> pulsatrix::MaskedDiffusionStep::writes

The positions filled from the model's output, in position order. A position is only ever written while it holds the mask token.


The documentation for this struct was generated from the following file: