MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / add_ref

Method add_ref

tensorflow/python/client/timeline.py:365–371  ·  view source on GitHub ↗

Adds a reference to this tensor with the specified timestamp. Args: timestamp: Timestamp of object reference as an integer.

(self, timestamp)

Source from the content-addressed store, hash-verified

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.

Callers 2

_analyze_tensorsMethod · 0.45
_show_computeMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected