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).
Mojo struct
PadConstant
struct PadConstant
Registers the mo.pad.constant graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[dtype: DType](output: T, input: T, padding: T, constant: Scalar[dtype], ctx: DeviceContext)