Variables - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


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 VariableName: a:0Shape: [1]Data Type: float[8]

(1)

bVariable0.3,datatype=float8,name=b

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

(2)

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