DeepLearning
Variables
initialize variables
Calling Sequence
Description
Details
Examples
Compatibility
Variables()
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](..).
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.
with⁡DeepLearning:
a≔Variable⁡0.3,datatype=float8,name=a
a≔DeepLearning VariableName: a:0Shape: [1]Data Type: float[8]
b≔Variable⁡0.3,datatype=float8,name=b
b≔DeepLearning VariableName: b:0Shape: [1]Data Type: float[8]
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
Download Help Document