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

DecodeSProducer

struct DecodeSProducer

Producer side of the two-stage S pipeline between MMA and softmax.

Fields

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

Implemented traits

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

comptime members

SNumStages

comptime SNumStages = 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)