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 function

default_op_name

default_op_name(tag: Int) -> StaticString

Returns the default name for a framework op tag.

Kernels can override by writing their own def(Int) -> StaticString that maps their op tags to display names; pass it as the op_name_fn parameter on print_entry.

Args:

  • tag (Int): The op tag value to look up.

Returns:

StaticString: Fixed-width display string for the tag, padded so that columns align across rows.