* [ PyTorch ](https://pytorch.org)
  * [ Get Started ](/get-started)
  * [ Features ](/features)
  * [ Ecosystem ](/ecosystem)
  * [ Blog ](/blog)
  * [ Contributing ](https://github.com/pytorch/pytorch/blob/master/CONTRIBUTING.md)
  * [ Security ](https://github.com/pytorch/pytorch/security/policy)

  * [ Resources ](/resources)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](/docs)
  * [ Discuss ](https://discuss.pytorch.org)
  * [ GitHub Issues ](https://github.com/pytorch/pytorch/issues)
  * [ Brand Guidelines ](/assets/brand-guidelines/PyTorch-Brand-Guidelines.pdf)

  * Stay up to date 

  * [ Facebook ](https://www.facebook.com/pytorch)
  * [ Twitter ](https://twitter.com/pytorch)
  * [ YouTube ](https://www.youtube.com/pytorch)
  * [ LinkedIn ](https://www.linkedin.com/company/pytorch)
  * [ Mastodon ](https://social.lfx.dev/@pytorch)

  * PyTorch Podcasts 

  * [ Spotify ](https://open.spotify.com/show/6UzHKeiy368jKfQMKKvJY5)
  * [ Apple ](https://podcasts.apple.com/us/podcast/pytorch-developer-podcast/id1566080008)
  * [ Google ](https://www.google.com/podcasts?feed=aHR0cHM6Ly9mZWVkcy5zaW1wbGVjYXN0LmNvbS9PQjVGa0lsOA%3D%3D)
  * [ Amazon ](https://music.amazon.com/podcasts/7a4e6f0e-26c2-49e9-a478-41bd244197d0/PyTorch-Developer-Podcast?)

  * [ Terms ](https://www.linuxfoundation.org/terms/)
  * | 
  * [ Privacy ](https://www.linuxfoundation.org/privacy-policy/)

© Copyright The Linux Foundation. The PyTorch Foundation is a project of The
Linux Foundation. For web site terms of use, trademark policy and other
policies applicable to The PyTorch Foundation please see [
www.linuxfoundation.org/legal/policies/
](https://www.linuxfoundation.org/legal/policies/) . The PyTorch Foundation
supports the PyTorch open source project, which has been established as
PyTorch Project a Series of LF Projects, LLC. For policies applicable to the
PyTorch Project a Series of LF Projects, LLC, please see [
www.lfprojects.org/policies/ ](https://www.lfprojects.org/policies/) .

![](https://www.googleadservices.com/pagead/conversion/795629140/?label=txkmCPmdtosBENSssfsC&guid=ON&script=0)

[ ](https://pytorch.org)

  *   * [ Get Started ](/get-started)
  * Ecosystem 
    * [ PyTorch Conference - 2024 ](https://events.linuxfoundation.org/pytorch-conference/)
    * [ Tools ](/ecosystem)
  * Edge 
    * [ About PyTorch Edge ](/edge)
    * [ ExecuTorch ](/executorch-overview)
  * [ Blog ](/blog)
  * [ Tutorials ](https://pytorch.org/tutorials)
  * [ Docs ](/docs)
    * [ PyTorch ](/docs)
    * [ torchaudio ](/audio)
    * [ torchtext ](/text)
    * [ torchvision ](/vision)
    * [ torcharrow ](/torcharrow)
    * [ TorchData ](/data)
    * [ TorchRec ](/torchrec)
    * [ TorchServe ](/serve)
    * [ PyTorch on XLA Devices ](/xla/release/1.6/index.html)
  * Resources 
    * [ About ](/features)
    * [ PyTorch Foundation ](/foundation)
    * [ Community ](/#community-module)
    * [ Community stories ](/community-stories)
    * [ Developer Resources ](/resources)
    * [ Events ](/events)
    * [ Forum ](https://discuss.pytorch.org)
    * [ Models (Beta) ](/hub)
  * [ GitHub ](https://github.com/pytorch/pytorch)

To analyze traffic and optimize your experience, we serve cookies on this
site. By clicking or navigating, you agree to allow our usage of cookies. As
the current maintainers of this site, Facebook’s Cookies Policy applies. Learn
more, including about available controls: [ Cookies Policy
](https://www.facebook.com/policies/cookies/) .

![](/assets/images/pytorch-x.svg)