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 function

scaled_branch

def scaled_branch[scale: Bool, poison: Int = Int(0)](branch: Piece, scale_weight: Piece) -> Piece

The branch before its norm; scale_weight is 1 + post_weight, rounded to bf16 as the graph does.

Returns:

Piece

Was this page helpful?