Table of Contents
Shortcuts

# Source code for torch.__config__

    import torch

    def show():
        """
        Return a human-readable string with descriptions of the
        configuration of PyTorch.
        """
        return torch._C._show_config()

    # TODO: In principle, we could provide more structured version/config
    # information here. For now only CXX_FLAGS is exposed, as Timer
    # uses them.
    def _cxx_flags():
        """Returns the CXX_FLAGS used when building PyTorch."""
        return torch._C._cxx_flags()

    def parallel_info():
        r"""Returns detailed string with parallelization settings"""
        return torch._C._parallel_info()

## Docs

Access comprehensive developer documentation for PyTorch

View Docs

## Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

## Resources

Find development resources and get your questions answered

View Resources

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.