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

Function to_cpp_str

backends/vulkan/runtime/gen_vulkan_spv.py:1428–1429  ·  view source on GitHub ↗
(val: bool)

Source from the content-addressed store, hash-verified

1426 shader_info_layouts = "{{{}}}".format(",\n ".join(shader_info.layouts))
1427
1428 def to_cpp_str(val: bool):
1429 return "true" if val else "false"
1430
1431 shader_info_args = [
1432 f'"{name}"',

Callers 1

generateShaderInfoStrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected