graph_keys: Standard Names to Use for Graph Collections

Description Usage Details See Also Examples

View source: R/estimator_keys.R

Description

The standard library uses various well-known names to collect and retrieve values associated with a graph.

Usage

1

Details

For example, the tf$Optimizer subclasses default to optimizing the variables collected undergraph_keys()$TRAINABLE_VARIABLES if NULL is specified, but it is also possible to pass an explicit list of variables.

The following standard keys are defined:

See Also

Other utility functions: latest_checkpoint()

Examples

1
2
3
4
5
## Not run: 
graph_keys()
graph_keys()$LOSSES

## End(Not run)

tfestimators documentation built on Aug. 10, 2021, 1:06 a.m.