mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-07 00:21:07 +01:00
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/18579 ghimport-source-id: 65124c95e49423de4ad1008c65e75057fea09b94 Differential Revision: D14778507 Pulled By: ezyang fbshipit-source-id: 1e4bb79f4800a116ce8fb7af2fefbd34da8d102c
14 lines
326 B
Python
14 lines
326 B
Python
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. We're not for now; considering doing so if someone
|
|
# asks for it.
|