IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/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. /max/get-started.md).

Mojo module

elementwise

Registers elementwise and unary/binary math graph ops.

comptime values​

logger​

comptime logger = Logger(stdout, prefix=String(""), source_location=False)

Structs​

  • ​Abs: Registers the mo.abs graph op with the graph compiler.
  • ​ACos: Registers the mo.acos graph op with the graph compiler.
  • ​Add: Registers the mo.add graph op with the graph compiler.
  • ​And: Registers the mo.and graph op with the graph compiler.
  • ​ATanh: Registers the mo.atanh graph op with the graph compiler.
  • ​Cast: Registers the mo.cast graph op with the graph compiler.
  • ​Ceil: Registers the mo.ceil graph op with the graph compiler.
  • ​Cos: Registers the mo.cos graph op with the graph compiler.
  • ​Div: Registers the mo.div graph op with the graph compiler.
  • ​Equal: Registers the mo.equal graph op with the graph compiler.
  • ​Erf: Registers the mo.erf graph op with the graph compiler.
  • ​Exp: Registers the mo.exp graph op with the graph compiler.
  • ​Floor: Registers the mo.floor graph op with the graph compiler.
  • ​Gelu: Registers the mo.gelu graph op with the graph compiler.
  • ​GeluQuick: Registers the mo.gelu_quick graph op with the graph compiler.
  • ​GeluTanh: Registers the mo.gelu_tanh graph op with the graph compiler.
  • ​Greater: Registers the mo.greater graph op with the graph compiler.
  • ​GreaterEqual: Registers the mo.greater_equal graph op with the graph compiler.
  • ​IsInf: Registers the mo.is_inf graph op with the graph compiler.
  • ​IsNan: Registers the mo.is_nan graph op with the graph compiler.
  • ​Log: Registers the mo.log graph op with the graph compiler.
  • ​Log1p: Registers the mo.log1p graph op with the graph compiler.
  • ​Max: Registers the mo.max graph op with the graph compiler.
  • ​Min: Registers the mo.min graph op with the graph compiler.
  • ​Mod: Registers the mo.mod graph op with the graph compiler.
  • ​Mul: Registers the mo.mul graph op with the graph compiler.
  • ​Negative: Registers the mo.negative graph op with the graph compiler.
  • ​Not: Registers the mo.not graph op with the graph compiler.
  • ​NotEqual: Registers the mo.not_equal graph op with the graph compiler.
  • ​Or: Registers the mo.or graph op with the graph compiler.
  • ​Pow: Registers the mo.pow graph op with the graph compiler.
  • ​ReLU: Registers the mo.relu graph op with the graph compiler.
  • ​Round: Registers the mo.round graph op with the graph compiler.
  • ​Rsqrt: Registers the mo.rsqrt graph op with the graph compiler.
  • ​Select: Registers the mo.select graph op with the graph compiler.
  • ​Sigmoid: Registers the mo.sigmoid graph op with the graph compiler.
  • ​Silu: Registers the mo.silu graph op with the graph compiler.
  • ​Sin: Registers the mo.sin graph op with the graph compiler.
  • ​Sqrt: Registers the mo.sqrt graph op with the graph compiler.
  • ​Sub: Registers the mo.sub graph op with the graph compiler.
  • ​Tanh: Registers the mo.tanh graph op with the graph compiler.
  • ​Trunc: Registers the mo.trunc graph op with the graph compiler.
  • ​Xor: Registers the mo.xor graph op with the graph compiler.