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

Mojo function

tpool_patch_merger_shape

def tpool_patch_merger_shape(input: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=input.static_spec], _grid_thws: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=_grid_thws.static_spec], _kH: Int32, _kW: Int32, _max_h: Int32, _max_w: Int32, total_output_patches: Int32) -> IndexList[Int(2)]

Computes the output shape for the tpool_patch_merger graph op.

Args:

Returns:

IndexList[Int(2)]