cg_graph: Computational Graph

Description Usage Arguments Value Note Author(s) Examples

View source: R/graph.R

Description

Initialize a computational graph.

Usage

1
cg_graph(eager = TRUE)

Arguments

eager

logical scalar, should new nodes added to the graph be evaluated eagerly? Defaults to TRUE.

Value

cg_graph object.

Note

The graph is automatically set to be the active graph.

Author(s)

Ron Triepels

Examples

1
2
# Initialize a computational graph
graph <- cg_graph()

cgraph documentation built on Feb. 9, 2020, 5:07 p.m.

Related to cg_graph in cgraph...