get_layer_gradient: Get the Gradient Associated with a Layer

Description Usage Arguments Value

View source: R/7-AM.R

Description

Get the Gradient Associated with a Layer

Usage

1
get_layer_gradient(model, loss)

Arguments

model

A keras model.

loss

The output from get_layer_loss.

Value

A gradient.


tpq/caress documentation built on March 11, 2021, 8:03 p.m.