create a random Tensor
The SetRandomSeed(seed) command sets a seed for the random number generator used by the dataflow graph in DeepLearning computations.
This function is part of the DeepLearning package, so it can be used in the short form SetRandomSeed(..) only after executing the command with(DeepLearning). However, it can always be accessed through the long form of the command by using DeepLearning[SetRandomSeed](..).
The implementation of SetRandomSeed uses the tf.set_random_seed command from the TensorFlow Python API. Consult the TensorFlow Python API documentation for tf.set_random_seed for more information on random number generation during TensorFlow computations.
t1≔DeepLearning TensorName: noneShape: undefinedData Type: float
The DeepLearning[SetRandomSeed] command was introduced in Maple 2018.
For more information on Maple 2018 changes, see Updates in Maple 2018.
Download Help Document
What kind of issue would you like to report? (Optional)