DeepLearningwithPyTorch
Apracticalapproachtobuildingneuralnetworkmodels
usingPyTorch
VishnuSubramanian
BIRMINGHAM-MUMBAI
DeepLearningwithPyTorch
Copyright©2018PacktPublishing
Allrightsreserved.Nopartofthisbookmaybereproduced,storedinaretrievalsystem,or
transmittedinanyformorbyanymeans,withoutthepriorwrittenpermissionofthepublisher,
exceptinthecaseofbriefquotationsembeddedincriticalarticlesorreviews.
Everyefforthasbeenmadeinthepreparationofthisbooktoensuretheaccuracyoftheinformation
presented.However,theinformationcontainedinthisbookissoldwithoutwarranty,eitherexpress
orimplied.Neithertheauthor,norPacktPublishingoritsdealersanddistributors,willbeheld
liableforanydamagescausedorallegedtohavebeencauseddirectlyorindirectlybythisbook.
PacktPublishinghasendeavoredtoprovidetrademarkinformationaboutallofthecompaniesand
productsmentionedinthisbookbytheappropriateuseofcapitals.However,PacktPublishing
cannotguaranteetheaccuracyofthisinformation.
CommissioningEditor:VeenaPagare
AcquisitionEditor:AmanSingh
ContentDevelopmentEditor:SnehalKolte
TechnicalEditor:SayliNikalje
CopyEditor:SafisEditing
ProjectCoordinator:ManthanPatel
Proofreader:SafisEditing
Indexer:PratikShirodkar
Graphics:TaniaDutta
ProductionCoordinator:DeepikaNaik
Firstpublished:February2018
Productionreference:1210218
PublishedbyPacktPublishingLtd.
LiveryPlace
35LiveryStreet
Birmingham
B32PB,UK.
ISBN978-1-78862-433-6
www.packtpub.com
ToJeremyHowardandRachelThomasforinspiringmetowritethisbook,
andtomyfamilyfortheirlove.
–VishnuSubramanian