From 74352a8ea9f708b6c8c72cb3f7f98780275564ce Mon Sep 17 00:00:00 2001 From: tiyn Date: Sun, 26 Oct 2025 08:49:44 +0100 Subject: [PATCH] python: added tensorflow --- wiki/programming_language/python.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/wiki/programming_language/python.md b/wiki/programming_language/python.md index 1d21b28..c454d22 100644 --- a/wiki/programming_language/python.md +++ b/wiki/programming_language/python.md @@ -127,7 +127,9 @@ If it doesnt work the packages can be installed globally using `pip` together wi `--break-system-packages` flag. This flag is to be used with care. -### Pytorch +### PyTorch + +This section addresses the [PyTorch module](https://pytorch.org/). #### Setup Pytorch with Cuda for GPU usage @@ -147,3 +149,17 @@ torch.cuda.is_available() ``` This should give back `True`. + +### TensorFlow + +This section addresses the [TensorFlow module](https://www.tensorflow.org/). + +#### Basic Usage of TensorFlow + +The basic usage of TensorFlow is described in +[the official guide](https://www.tensorflow.org/guide/keras/serialization_and_saving). +Additionally it is noted that the dataset may have to be shuffled manually as described in a +[comment by Y. Luo on StackOverflow](https://stackoverflow.com/questions/50184144/shuffle-in-the-model-fit-of-keras). +Finally +[a Medium blog post](https://medium.com/@danielonugha0/how-to-change-the-learning-rate-of-tensorflow-b5d854819050) +describes how to easily change the learning rate.