• Learn
    Get Started Tutorials Learn the Basics PyTorch Recipes Intro to PyTorch - YouTube Series Webinars
  • Community
    Landscape Join the Ecosystem Community Hub Forums Developer Resources Contributor Awards Community Events PyTorch Ambassadors
  • Projects
    PyTorch vLLM DeepSpeed Host Your Project
  • Docs
    PyTorch Domains
  • Blogs & News
    Blog Announcements Case Studies Events Newsletter
  • About
    PyTorch Foundation Members Governing Board Technical Advisory Council Cloud Credit Program Staff Contact
  • JOIN
  • Learn
    • Get Started
    • Tutorials
    • Learn the Basics
    • PyTorch Recipes
    • Introduction to PyTorch - YouTube Series
    • Webinars
  • Community
    • Landscape
    • Join the Ecosystem
    • Community Hub
    • Forums
    • Developer Resources
    • Contributor Awards
    • Community Events
    • PyTorch Ambassadors
  • Projects
    • PyTorch
    • vLLM
    • DeepSpeed
    • Host Your Project
  • Docs
    • PyTorch
    • Domains
  • Blog & News
    • Blog
    • Announcements
    • Case Studies
    • Events
    • Newsletter
  • About
    • PyTorch Foundation
    • Members
    • Governing Board
    • Technical Advisory Council
    • Cloud Credit Program
    • Staff
    • Contact
Skip to main content
Ctrl+K

Home

  • Install PyTorch
  • User Guide
  • Reference API
  • Developer Notes
  • Community
  • Tutorials
Ctrl+K
  • X
  • GitHub
  • PyTorch Forum
  • PyPi
  • Install PyTorch
  • User Guide
  • Reference API
  • Developer Notes
  • Community
  • Tutorials
Ctrl+K
  • X
  • GitHub
  • PyTorch Forum
  • PyPi

Section Navigation

  • C++

Python API

  • torch
    • torch.is_tensor
    • torch.is_storage
    • torch.is_complex
    • torch.is_conj
    • torch.is_floating_point
    • torch.is_nonzero
    • torch.set_default_dtype
    • torch.get_default_dtype
    • torch.set_default_device
    • torch.get_default_device
    • torch.set_default_tensor_type
    • torch.numel
    • torch.set_printoptions
    • torch.set_flush_denormal
    • torch.tensor
    • torch.sparse_coo_tensor
    • torch.sparse_csr_tensor
    • torch.sparse_csc_tensor
    • torch.sparse_bsr_tensor
    • torch.sparse_bsc_tensor