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

Method pop_obj

tensorflow/python/framework/traceable_stack.py:111–113  ·  view source on GitHub ↗

Remove last-inserted object and return it, without filename/line info.

(self)

Source from the content-addressed store, hash-verified

109 return traceable_obj.set_filename_and_line_from_caller(offset + 1)
110
111 def pop_obj(self):
112 """Remove last-inserted object and return it, without filename/line info."""
113 return self._stack.pop().obj
114
115 def peek_top_obj(self):
116 """Return the most recent stored object."""

Callers 5

testPushPeekPopObjMethod · 0.95
colocate_withMethod · 0.80
deviceMethod · 0.80
streamMethod · 0.80

Calls 1

popMethod · 0.45

Tested by 2

testPushPeekPopObjMethod · 0.76