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 struct
ShardWeights
struct ShardWeights
Registers the gather_scatter.shard_and_stack graph op with the graph compiler.
Implemented traitsโ
Methodsโ
executeโ
static def execute[Outs: TypeList[Outs.values], Ins: TypeList[Ins.values], //, axis: Int](outputs: TensorTuple[*Outs.values], inputs: TensorTuple[*Ins.values], dev_ctxs_input: DeviceContextArray)