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()

triepels/cgraph documentation built on April 24, 2020, 12:58 a.m.