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

Method next_index

tensorflow/python/profiler/pprof_profiler.py:91–97  ·  view source on GitHub ↗

Gets index that would be assigned to the next added string. Returns: Index of the next string if it was added.

(self)

Source from the content-addressed store, hash-verified

89 return index
90
91 def next_index(self):
92 """Gets index that would be assigned to the next added string.
93
94 Returns:
95 Index of the next string if it was added.
96 """
97 return len(self._string_table)
98
99 def string_table(self):
100 """Returns a list of strings to store in pprof's string_table."""

Callers 1

profileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected