Beginning Anomaly Detection Using


seed: An integer to use as a random seed.  Flatten



Download 26,57 Mb.
Pdf ko'rish
bet221/283
Sana12.07.2021
Hajmi26,57 Mb.
#116397
1   ...   217   218   219   220   221   222   223   224   ...   283
Bog'liq
Beginning Anomaly Detection Using Python-Based Deep Learning

seed: An integer to use as a random seed.

 Flatten

keras.layers.Flatten()

This layer takes all of the inputs and flattens them into a single dimension.

Images can have three channels if they’re color images. They can be RGB (red, green, 

blue), BGR (blue, green, red), HSV (hue, saturation, value), etc., so the dimensions of 

these images are actually (height, width, channels) if it’s formatted channels last or 

(channels, height, width) if it’s formatted channels first. To preserve this formatting, 

there is a parameter you can pass in to the flatten layer:

• 

data_format: A string that’s either ‘channels_first’ or ‘channels_last’. 

This tells the flattening layer how to format the flattened output to 

preserve this formatting.

To get a better idea of how the layer flattens the input, check out the summary in 

Figure 

A-14


 of a convolutional neural network.

Appendix A   intro to KerAs




333


Download 26,57 Mb.

Do'stlaringiz bilan baham:
1   ...   217   218   219   220   221   222   223   224   ...   283




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish