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

Method pop

tensorflow/python/autograph/utils/tensor_list.py:54–56  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

52 self.list_ = list_ops.tensor_list_push_back(self.list_, value)
53
54 def pop(self):
55 self.list_, value = list_ops.tensor_list_pop_back(self.list_, self.dtype)
56 return value
57
58 def clear(self):
59 self.list_ = list_ops.empty_tensor_list(self.shape, self.dtype)

Callers 15

test_list_append_tfMethod · 0.95
compare_and_visitMethod · 0.45
parallel_walkFunction · 0.45
visitMethod · 0.45
exitMethod · 0.45
exit_local_scopeMethod · 0.45
visitMethod · 0.45
_visit_internalMethod · 0.45
_exit_lexical_scopeMethod · 0.45
visit_ClassDefMethod · 0.45
visit_FunctionDefMethod · 0.45

Calls

no outgoing calls

Tested by 3

test_list_append_tfMethod · 0.76
test_fnMethod · 0.36