For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo struct
SplitOutputShapeHelper
struct SplitOutputShapeHelper
Implemented traitsβ
AnyType,
ImplicitlyDestructible
Methodsβ
executeβ
static def execute(input_buf: ManagedTensorSlice[Input, static_spec=input_buf.static_spec], split_sizes_buf: ManagedTensorSlice[Input, static_spec=split_sizes_buf.static_spec], split_axis: Scalar, output_idx: Scalar)
shapeβ
static def shape[rank: Int, input_type: DType, split_size_type: DType](input_buf: ManagedTensorSlice[Input, static_spec=input_buf.static_spec], split_sizes_buf: ManagedTensorSlice[Input, static_spec=split_sizes_buf.static_spec], split_axis: Scalar, output_idx: Scalar) -> IndexList[rank]
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!