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

Function copy_meta

backends/qualcomm/_passes/utils.py:16–22  ·  view source on GitHub ↗
(meta: Dict, callback=None)

Source from the content-addressed store, hash-verified

14
15
16def copy_meta(meta: Dict, callback=None):
17 copied = {}
18 for k, v in meta.items():
19 copied[k] = v
20 if callback:
21 copied = callback(copied)
22 return copied
23
24
25def get_quant_attrs(

Callers 15

_append_dqMethod · 0.90
_create_nodeMethod · 0.90
callMethod · 0.85
callMethod · 0.85
callMethod · 0.85
append_qdqFunction · 0.85
create_nodeFunction · 0.85
callMethod · 0.85
callMethod · 0.85
callMethod · 0.85
callMethod · 0.85
_decompose_im2colMethod · 0.85

Calls 2

callbackFunction · 0.85
itemsMethod · 0.80

Tested by

no test coverage detected