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
BatchMatmul
struct BatchMatmul
Implemented traitsβ
AnyType,
ImplicitlyDestructible
Methodsβ
executeβ
static def execute[lambdas_have_fusion: Bool, rank: Int, transpose_b: Bool, target: StringSlice[StaticConstantOrigin]](c: ManagedTensorSlice[IOSpec(), static_spec=c.static_spec], a: ManagedTensorSlice[Input, static_spec=a.static_spec], b: ManagedTensorSlice[Input, static_spec=b.static_spec], ctx: DeviceContext)
shapeβ
static def shape[rank: Int, a_type: DType, b_type: DType](a: ManagedTensorSlice[Input, static_spec=a.static_spec], b: ManagedTensorSlice[Input, static_spec=b.static_spec]) -> IndexList[rank]
Returns:
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!