pytorch
f33c31ea - Separate "configuration" properties in TensorIterator (#39789)

Commit
4 years ago
Separate "configuration" properties in TensorIterator (#39789) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/39789 Some properties on TensorIterator are only set prior to build() by the user and then immutable during the build process. I've renamed all such properties so that they have a config_ prefix, gave them an explicit accessor and audited every site to ensure they are only written once. I also renamed check_mem_overlaps to compute_mem_overlaps to avoid confusion with the accessor check_mem_overlap. Signed-off-by: Edward Z. Yang <ezyang@fb.com> Test Plan: Imported from OSS Differential Revision: D21981741 Pulled By: ezyang fbshipit-source-id: b64e33a5d0bc01834ead6d7082605c20a5ed1a08
Author
Parents
Loading