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).

Python class

Symbol

Symbol​

class max.experimental.custom.Symbol(value)

source

Bases: SymbolicDim

A dim belonging to one CustomOp signature.

Subclassing SymbolicDim lets a signature dim take part in ordinary Dim arithmetic (k // 2). The namespaced name is what survives that arithmetic: dim expressions fold through MLIR and reconstruct operands as plain symbols, so the type alone cannot carry the marker.

Converts valid input values to Dim.

Parameters:

name (str)

symbol_name​

property symbol_name: str

source

The declared name, without the namespace prefix.