Learn R Programming

cgraph (version 6.0.1)

cg_graph: Computational Graph

Description

Initialize a computational graph.

Usage

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.

Examples

Run this code
# NOT RUN {
# Initialize a computational graph
graph <- cg_graph()

# }

Run the code above in your browser using DataLab