Skip to main content
Log in

MAX Mojo decorators

The MAX Mojo API includes a few decorators to help with defining custom operations. Note that these decorators are not built-in to Mojo; you must import the compiler package to use these decorators.

@compiler.register

Registers a custom operation for use with the MAX Graph API.