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 function
pad_constant_shape
def pad_constant_shape[constant_dtype: DType](input: T, padding: T, constant: Scalar[constant_dtype]) -> IndexList[T.rank]
Computes the output shape for the mo.pad.constant graph op.
Returns:
IndexList[T.rank]