DeepLearning - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : DeepLearning Package : Managing Dataflow Graphs : DeepLearning/GetDefaultGraph

DeepLearning

  

GetDefaultGraph

  

get default dataflow graph

 

Calling Sequence

Description

Examples

Compatibility

Calling Sequence

GetDefaultGraph()

Description

• 

The GetDefaultGraph() command returns a DataflowGraph object corresponding to the default dataflow graph for the current thread.

• 

This function is part of the DeepLearning package, so it can be used in the short form GetDefaultGraph(..) only after executing the command with(DeepLearning). However, it can always be accessed through the long form of the command by using DeepLearning[GetDefaultGraph](..).

Examples

Create a Tensor and verify it was created in the default dataflow graph.

withDeepLearning:

gGetDefaultGraph

tTensor1.5,2.0

evalbg=Grapht

true

(1)

Compatibility

• 

The DeepLearning[GetDefaultGraph] command was introduced in Maple 2018.

• 

For more information on Maple 2018 changes, see Updates in Maple 2018.

See Also

DeepLearning Overview

GetDefaultSession

ResetDefaultGraph