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
UnsqueezeShape
struct UnsqueezeShape
Registers the mo.unsqueeze_shape graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute(output_shape: T, input_shape: T, padding_indices: T, ctx: DeviceContext)
Inserts size-1 dimensions into input_shape at padding_indices.
Raises:
If the GPU kernel launch fails.