From 93de82b5ea8205c7ce815b0a06e61cb8755262e0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1t=C3=A9=20Zolt=C3=A1n=20Farkas?= <mate.farkas@rwth-aachen.de> Date: Sat, 30 Jul 2022 23:01:36 +0200 Subject: [PATCH] Created pytorch tutorial + minor changes in tf-tutorial --- lecture1/exercise_0_pytorch.ipynb | 35 ++++++++++++++++++++++++++++ lecture1/exercise_0_tensorflow.ipynb | 8 +++---- 2 files changed, 39 insertions(+), 4 deletions(-) create mode 100644 lecture1/exercise_0_pytorch.ipynb diff --git a/lecture1/exercise_0_pytorch.ipynb b/lecture1/exercise_0_pytorch.ipynb new file mode 100644 index 0000000..54c3075 --- /dev/null +++ b/lecture1/exercise_0_pytorch.ipynb @@ -0,0 +1,35 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "3881ec5d", + "metadata": {}, + "source": [ + "# PyTorch tutorial\n", + "---------------\n", + "Welcome to the pytorch tutorial!" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3 (ipykernel)", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.9.12" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/lecture1/exercise_0_tensorflow.ipynb b/lecture1/exercise_0_tensorflow.ipynb index 6686b6c..f201574 100644 --- a/lecture1/exercise_0_tensorflow.ipynb +++ b/lecture1/exercise_0_tensorflow.ipynb @@ -25,7 +25,7 @@ }, { "cell_type": "markdown", - "id": "3f663a34", + "id": "ffc59cef", "metadata": {}, "source": [ "## Tensors\n", @@ -72,7 +72,7 @@ }, { "cell_type": "markdown", - "id": "e1fa23d6", + "id": "f904ef1e", "metadata": {}, "source": [ "## Variables\n", @@ -109,11 +109,11 @@ }, { "cell_type": "markdown", - "id": "fc389074", + "id": "11af2105", "metadata": {}, "source": [ "## Fundamental Mathematical Operations\n", - "Tensorflow supports several basic maths functions out of the box. Unlike numpy, some operations run by the name ```reduce_operation(*args)``` like ```reduce_sum``` and ```reduce_mean```.\n", + "Tensorflow supports several basic maths functions out of the box. Compared to numpy, **some operations run by the name** ```reduce_operation(*args)``` like ```reduce_sum``` and ```reduce_mean```.\n", "\n", "You can find an incomplete list of some basic calls:" ] -- GitLab