Learn R Programming

ggmlR (version 0.6.1)

ag_matmul: Matrix multiplication

Description

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

Usage

ag_matmul(A, B)

Value

ag_tensor of shape [m, n]

Arguments

A

ag_tensor or numeric matrix of shape [m, k]

B

ag_tensor or numeric matrix of shape [k, n]