MCPcopy Create free account
hub / github.com/pytorch/executorch / update

Function update

exir/pass_base.py:824–825  ·  view source on GitHub ↗
(key: K, args: MutableMapping[K, PyTree], schema: ArgSchema)

Source from the content-addressed store, hash-verified

822 kwargs = kwargs.copy()
823
824 def update(key: K, args: MutableMapping[K, PyTree], schema: ArgSchema) -> None:
825 args[key] = fn(args[key], schema)
826
827 for i, schema in enumerate(op._schema.arguments):
828 if schema.name in kwargs:

Callers 1

map_argsFunction · 0.85

Calls 1

fnFunction · 0.85

Tested by

no test coverage detected