DeepLearning - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

DeepLearning

  

Variables

  

initialize variables

 

Calling Sequence

Description

Details

Examples

Compatibility

Calling Sequence

Variables()

Description

• 

The Variables() command returns a list of all the Tensor variables in the active DataflowGraph.

• 

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

Details

• 

The implementation of Variables uses the tf.global_variables_initializer command from the TensorFlow Python API. Consult the TensorFlow Python API documentation for tf.initializers.global_variables for more information on random number generation during TensorFlow computations.

Examples

withDeepLearning:

aVariable0.3,datatype=float8,name=a

aDeepLearning TensorName: a:0Shape: [1]Data Type: float[8]

(1)

bVariable0.3,datatype=float8,name=b

bDeepLearning TensorName: b:0Shape: [1]Data Type: float[8]

(2)

Variables

DeepLearning TensorName: a:0Shape: [1]Data Type: float[8],DeepLearning TensorName: b:0Shape: [1]Data Type: float[8]

(3)

Compatibility

• 

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

• 

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

See Also

DeepLearning Overview