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
Split
struct Split
Registers the mo.split graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[dtype: DType, rank: Int, target: StringSlice[ImmStaticOrigin], _trace_name: StringSlice[ImmStaticOrigin], axis: Int](output: VariadicTensors[IOSpec[_, _].Output, static_specs=output.static_specs], input: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=input.static_spec], split_sizes: ManagedTensorSlice[IOSpec[_, _].Input, static_spec=split_sizes.static_spec], ctx: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!