MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / set

Method set

tensorboard/plugins/projector/projector_plugin.py:73–81  ·  view source on GitHub ↗
(self, key, value)

Source from the content-addressed store, hash-verified

71 return None
72
73 def set(self, key, value):
74 if value is None:
75 raise ValueError("value must be != None")
76 try:
77 self._dict.pop(key)
78 except KeyError:
79 if len(self._dict) >= self._size:
80 self._dict.popitem(last=False)
81 self._dict[key] = value
82
83
84class EmbeddingMetadata:

Callers 15

testSimpleGetAndSetMethod · 0.95
patchAsyncFunction · 0.80
createTagToRunsFunction · 0.80
setDomainMethod · 0.80
attachedMethod · 0.80
_insertItemMethod · 0.80
_removeItemMethod · 0.80
readyMethod · 0.80
_setActiveIndexMethod · 0.80
_handlePageInputEventMethod · 0.80

Calls 1

popMethod · 0.80