ag_scale: Scale tensor by a scalar constant

View source: R/autograd.R

ag_scaleR Documentation

Scale tensor by a scalar constant

Description

Scale tensor by a scalar constant

Usage

ag_scale(x, scalar)

Arguments

x

ag_tensor

scalar

Numeric scalar (not tracked for gradients)

Value

ag_tensor


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