meanVar: Mean, Jacobian and variance of activated units

Description Usage Arguments Value

View source: R/act.R

Description

This function returns mean vector μ_{A}, Jacobian matrix evaluated at μ_{Z} and covariance matrix of activation units Σ_{A}.

Usage

1
meanVar(z, mz, Sz, funIdx)

Arguments

z

Vector of units for the current layer

mz

Mean vector of units for the current layer μ_{Z}

Sz

Covariance matrix of units for the current layer Σ_{Z}

funIdx

Activation function index defined by activationFunIndex

Value


mgoulet847/tagi documentation built on Dec. 21, 2021, 5:10 p.m.