pytorch
e03800a9 - Add torch._utils.render_call, improve printoptions (#102623)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Add torch._utils.render_call, improve printoptions (#102623) - Add get_printoptions and printoptions context manager - Improve edgeitems handling when it is zero - Add render_call which can be used to conveniently print command line arguments of a function call, while suppressing actual tensor data Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/102623 Approved by: https://github.com/albanD
Author
Committer
Parents
  • test
    • File
      test_utils.py
  • torch
    • _subclasses
      • File
        fake_tensor.py
    • File
      _tensor_str.py
    • File
      _utils.py