Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions torch/csrc/jit/ir/alias_analysis.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ namespace jit {
* is considered safe.
*
* There is a special alias set called the "wildcard set", which indicates that
* we're not sure what this value may alias. To be conservative, we consider
* the wildcard alias set as potentially aliasing any value within the same
* type class. Whenever a value becomes contained by another value, such as
* when a Tensor is appended to a List[Tensor], the contained element becomes
* part of the wildcard set.
* we're not sure what this value may alias. To be conservative, we consider the
* wildcard alias set as potentially aliasing any other wildcard value within
* the same type class. Whenever a value becomes contained by another value,
* such as when a Tensor is appended to a List[Tensor], the contained element
* becomes part of the wildcard set.
*
* Values that contain other mutable types, such as List[Tensor], are
* initialized as containing the Wildcard set for all contained mutable types.
Expand Down