ag_mean: Mean of elements (or along a dim)

View source: R/autograd.R

ag_meanR Documentation

Mean of elements (or along a dim)

Description

Mean of elements (or along a dim)

Usage

ag_mean(x, dim = NULL, keepdim = FALSE)

Arguments

x

ag_tensor

dim

NULL (all), 1 (row-wise), or 2 (col-wise)

keepdim

Logical

Value

ag_tensor


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