ag_matmul: Matrix multiplication

View source: R/autograd.R

ag_matmulR Documentation

Matrix multiplication

Description

Computes A %*% B and records the operation on the gradient tape.

Usage

ag_matmul(A, B)

Arguments

A

ag_tensor or numeric matrix of shape [m, k]

B

ag_tensor or numeric matrix of shape [k, n]

Value

ag_tensor of shape [m, n]


ggmlR documentation built on July 14, 2026, 1:08 a.m.