(type)
| 7491 | this._mutable_type_cache = mutable_type_cache; |
| 7492 | } |
| 7493 | mapTypeToAliasTypeSet(type) { |
| 7494 | if (this._mutable_type_cache) { |
| 7495 | const result = this.mapTypeToBorrowedAliasTypeSet(type); |
| 7496 | if (result) { |
| 7497 | return result; |
| 7498 | } |
| 7499 | } |
| 7500 | return this.mapTypeToAliasTypeSetImpl(type); |
| 7501 | } |
| 7502 | mapTypeToAliasTypeSetImpl(type) { |
| 7503 | if (type instanceof torch.ListType || |
| 7504 | type instanceof torch.DictType || |
no test coverage detected