IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /get-started.md).

Mojo struct

DecodeOProducer

struct DecodeOProducer

Producer side of the two-stage O pipeline between MMA and correction.

Fields

  • pipe (RolePipeline[Int(2)]):

Implemented traits

AnyType, Copyable, Deinitable, ImplicitlyCopyable, Movable, RegisterPassable, TrivialRegisterPassable

comptime members

ONumStages

comptime ONumStages = 2

Methods

__init__

def __init__(pipe: RolePipeline[Int(2)]) -> Self

acquire

def acquire(self)

slot_index

def slot_index(self) -> UInt32

Returns:

UInt32

commit_mma

def commit_mma(mut self, elect: Int32)