Adds a reference to this tensor with the specified timestamp. Args: timestamp: Timestamp of object reference as an integer.
(self, timestamp)
| 363 | return max(self._unref_times) |
| 364 | |
| 365 | def add_ref(self, timestamp): |
| 366 | """Adds a reference to this tensor with the specified timestamp. |
| 367 | |
| 368 | Args: |
| 369 | timestamp: Timestamp of object reference as an integer. |
| 370 | """ |
| 371 | self._ref_times.append(timestamp) |
| 372 | |
| 373 | def add_unref(self, timestamp): |
| 374 | """Adds an unref to this tensor with the specified timestamp. |
no test coverage detected