You are on page 1of 37

Design and implement advanced next-generation AI solutions

using TensorFlow and PyTorch


©

www.packt.com
Packt.com

www.packt.com

customercare@packtpub.com

www.packt.com
authors.packtpub.com
Chapter 1

Chapter 2

Chapter 3

Chapter 4

Chapter 5

Chapter 6

Chapter 7

Chapter 8

Chapter 9
Chapter 10 —

Chapter 11

www.packt.com
www.packtpub.com/support

www.packt.com

https://github.com/
PacktPublishing/Advanced-Deep-Learning-with-Python

https://github.com/PacktPublishing/
http://www.packtpub.com/sites/default/files/
downloads/9781789956177_ColorImages.pdf

CodeInText

generator discriminator
combined

import matplotlib.pyplot as plt


from matplotlib.markers import MarkerStyle
import numpy as np
import tensorflow as tf
from tensorflow.keras import backend as K
from tensorflow.keras.layers import Lambda, Input, Dense
customercare@packtpub.com

www.packtpub.com/support/errata

copyright@packt.com

authors.packtpub.com

packt.com

Chapter 1



Vector representation in space

×
×
https:/
/stats.stackexchange.com/questions/198061/why-the-sudden-
fascination-with-tensors https:/
/www.tensorflow.org/guide/tensors https://pytorch.
org/docs/stable/tensors.html
θ

The dot product of vectors. Top: vector components; Bottom: dot product of the two vectors


θ
Cross product of two two-dimensional vectors
× ×

×
× ×
×

Venn diagrams of the possible set relationships



An example of a PMF

An example of a PDF
μ

μ
Probability distributions
μ σ
σ

Normal distribution
μ σ

Examples of normal distributions with different μ and σ values

You might also like