1def get_all_cpu_backend_targets(): 2 """Returns a list of all CPU backend targets. 3 4 For experimenting and testing, not for production, since it will typically 5 include more than necessary for a particular product. 6 """ 7 return [ 8 "//executorch/backends/xnnpack:xnnpack_backend", 9 "//executorch/backends/fb/qnnpack:qnnpack_backend", 10 ] 11 12def get_all_cpu_aot_and_backend_targets(): 13 """Returns a list of all CPU backend targets with aot (ahead of time). 14 15 For experimenting and testing, not for production, since it will typically 16 include more than necessary for a particular product. 17 """ 18 return [ 19 "//executorch/backends/xnnpack:xnnpack_preprocess", 20 "//executorch/backends/xnnpack/partition:xnnpack_partitioner", 21 "//executorch/backends/fb/qnnpack:qnnpack_preprocess", 22 "//executorch/backends/fb/qnnpack/partition:qnnpack_partitioner", 23 ] + get_all_cpu_backend_targets() 24