MCPcopy
hub / github.com/lutzroeder/netron / set

Method set

source/python.js:22511–22517  ·  view source on GitHub ↗
(name, value)

Source from the content-addressed store, hash-verified

22509 }
22510
22511 set(name, value) {
22512 if (this.locals) {
22513 this.locals[name] = value;
22514 } else {
22515 this.globals[name] = value;
22516 }
22517 }
22518
22519 get(name) {
22520 if (this.locals && name in this.locals) {

Callers 15

__setitem__Method · 0.45
setdefaultMethod · 0.45
updateMethod · 0.45
constructorMethod · 0.45
_get_info_mapMethod · 0.45
writeMethod · 0.45
constructorMethod · 0.45
LoadModelFromStringMethod · 0.45
loadMethod · 0.45
__setattr__Method · 0.45
named_modulesMethod · 0.45
add_moduleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected