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
ShardWeights
struct ShardWeights
Registers the mo.shard_and_stack graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[axis: Int](outputs: VariadicTensors[IOSpec[_, _].Output, static_specs=outputs.static_specs], inputs: VariadicTensors[IOSpec[_, _].Input, static_specs=inputs.static_specs], dev_ctxs_input: DeviceContextArray)
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!