pytorch
11cff298 - Add `names` argument to ones, rand, randn, zeros, full (#23743)

Commit
6 years ago
Add `names` argument to ones, rand, randn, zeros, full (#23743) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/23743 In the short term, we implement this by having overloads for each of these functions. In the long term, the plan is to move DimnameList to TensorOptions so that we do not have to duplicate work. Test Plan: - [namedtensor ci] Differential Revision: D16647820 Pulled By: zou3519 fbshipit-source-id: c6c53c5f26a86b730cbc4d4eb69907ac0e08fc65
Author
Parents
Loading