An object with the following keys and values:
value
: The value of the function f
.grads
: A map from the names of the variables to the gradients.
If the varList
argument is provided explicitly and contains a subset of
non-trainable variables, this map in the return value will contain keys
that map the names of the non-trainable variables to null
.Generated using TypeDoc
Computes and returns the gradient of f(x) with respect to the list of trainable variables provided by
varList
. If no list is provided, it defaults to all trainable variables.