MCPcopy Create free account
hub / github.com/pytorch/pytorch / pop

Method pop

torch/utils/weak.py:258–260  ·  view source on GitHub ↗
(self, key, *args)

Source from the content-addressed store, hash-verified

256 return o, value
257
258 def pop(self, key, *args):
259 self._dirty_len = True
260 return self.data.pop(self.ref_type(key), *args) # CHANGED
261
262 def setdefault(self, key, default=None):
263 return self.data.setdefault(self.ref_type(key, self._remove), default) # CHANGED

Callers 15

loadMethod · 0.45
pop_markMethod · 0.45
meta__linalg_eighFunction · 0.45
linalg_lu_factor_ex_metaFunction · 0.45
_get_orthoMethod · 0.45
current_frameMethod · 0.45
temporarily_pop_modeFunction · 0.45
pop_mode_for_keyFunction · 0.45
_uncache_dispatchMethod · 0.45
ignoreFunction · 0.45
save_configMethod · 0.45

Calls

no outgoing calls

Tested by 3

set_env_varFunction · 0.36
test_parse_yaml_filesMethod · 0.36
test_parse_yaml_filesMethod · 0.36