Creates the descriptor of a StableHLO operation, consumed by hlo_fn().
Arguments
- classname
Name of the op (kept for readability at the call sites).
- mnemonic
The operation mnemonic.
- dialect
The MLIR dialect (
"stablehlo"or"chlo"). Defaults to"stablehlo".- render
(
function(ctx)|NULL)
Custom render function producing the op's MLIR line.NULLuses the default assembly/generic format. Thectxargument is a list with fieldsmnemonic,dialect,outputs_str,values_str,in_type_strs,out_type_strs,sig_str,attrs,attrs_str,funcs_strandcustom_attrs.