---
title: "bmm"
sidebar_label: "bmm"
description: "Kotlin binding reference: bmm."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[bmm](bmm.md)

# bmm

[common]\
fun [bmm](bmm.md)(input: [Tensor](../Tensor/index.md), other: [Tensor](../Tensor/index.md), bias: [Tensor](../Tensor/index.md)? = null, activation: [Activation](../Activation/index.md)? = null): [Tensor](../Tensor/index.md)

`bmm(input: Tensor, other: Tensor, bias: Tensor? = null, activation: Activation? = null)`: the `bmm` operator. Batched matrix multiply of two rank-3 tensors, with an optional fused bias and activation epilogue. `a [B, M, K] x b [B, K, N] -> [B, M, N]`, one independent matmul per batch index.