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
MergeRaggedTensors
struct MergeRaggedTensors
Implemented traitsโ
AnyType,
ImplicitlyDestructible
Methodsโ
executeโ
static def execute[dtype: DType, rank: Int, //, target: StringSlice[StaticConstantOrigin]](output: ManagedTensorSlice[Output, static_spec=output.static_spec], output_row_offsets: ManagedTensorSlice[Output, static_spec=output_row_offsets.static_spec], a: ManagedTensorSlice[Input, static_spec=a.static_spec], a_row_offsets: ManagedTensorSlice[Input, static_spec=a_row_offsets.static_spec], b: ManagedTensorSlice[Input, static_spec=b.static_spec], b_row_offsets: ManagedTensorSlice[Input, static_spec=b_row_offsets.static_spec], ctx: DeviceContext)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!