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

Function preprocess_binary

examples/qualcomm/qaihub_scripts/utils/utils.py:17–21  ·  view source on GitHub ↗
(ctx_bin, compiler_specs)

Source from the content-addressed store, hash-verified

15
16
17def preprocess_binary(ctx_bin, compiler_specs):
18 qnn_mgr = PyQnnManagerAdaptor.QnnManager(
19 generate_qnn_executorch_option(compiler_specs),
20 )
21 return bytes(qnn_mgr.MakeBinaryInfo(ctx_bin))
22
23
24def get_encoding(

Callers 3

get_io_infoFunction · 0.90
get_io_infoFunction · 0.90
get_encodingFunction · 0.70

Calls 1

Tested by

no test coverage detected